joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1017c74d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10201368]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1017c78d
cmp byte [ebx], 0xa
jne 0x1017c78d
or byte [edi + eax + 0x28], 4
jmp 0x1017c792
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1017c891
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1017c874
inc eax
cmp dl, 0xd
je 0x1017c7be
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1017c7e4
cmp eax, ecx
jae 0x1017c7f2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1017c7a6
jmp 0x1017c891
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1017c86f
cmp dword [ebp - 0x10], 0
je 0x1017c86f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10201368]
test byte [eax + edi + 0x28], 0x48
je 0x1017c849
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1017c834
mov byte [esi], dl
jmp 0x1017c845
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10201368]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1017c891
cmp byte [ebp - 1], 0xa
jne 0x1017c858
cmp esi, ebx
jne 0x1017c858
mov byte [esi], 0xa
jmp 0x1017c890
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1017a755
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1017c891
mov byte [esi], 0xd
jmp 0x1017c890
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10201368]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1017c88e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1017c891
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1017c89a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10201368]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1017c8e0
cmp word [ebx], dx
jne 0x1017c8e0
or byte [eax + edi + 0x28], 4
jmp 0x1017c8e5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1017ca48
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1017ca28
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1017c926
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1017c95c
cmp eax, edx
jae 0x1017c96a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1017c901
jmp 0x1017ca48
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1017ca23
cmp dword [ebp - 0x18], 0
je 0x1017ca23
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10201368]
test byte [eax + edi + 0x28], 0x48
je 0x1017c9f9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1017c9bd
mov word [esi], cx
jmp 0x1017c9f4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10201368]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10201368]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10201368]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1017ca48
pop eax
cmp word [ebp - 4], ax
jne 0x1017ca09
cmp esi, ebx
jne 0x1017ca09
mov word [esi], ax
jmp 0x1017ca45
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1017a755
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1017ca48
push 0xd
pop eax
jmp 0x1017ca04
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10201368]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1017ca42
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1017ca48
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1017d268
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101cb4e8
push 0x101cb4e0
push str.FlsAlloc
push 0x1f
call fcn.1017d0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1017d29c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1019c9e0]
call esi
jmp 0x1017d2a2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1017d2e6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101cb4f8
push 0x101cb4f0
push str.FlsGetValue
push 0x21
call fcn.1017d0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1017d31d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1019c9e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1017d325
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101cb500
push 0x101cb4f8
push str.FlsSetValue
push 0x22
call fcn.1017d0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1017d35f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1019c9e0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10180a05
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10180aa2
push ebx
push esi
call fcn.101809ce
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10180962
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10180a4f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10180aa1
push edi
push eax
call fcn.1017b82c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10180a6f
call fcn.1017931d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10180aa0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10180962
add esp, 0x20
test eax, eax
jne 0x10180a8e
push edi
call fcn.1017931d
jmp 0x10180a96
push ebx
call fcn.1017931d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10180aa5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10180ab6
pop esi
ret
push ebx
push edi
push esi
call fcn.101809ce
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1017b82c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10180ade
push ebx
push esi
push edi
call fcn.101676e0
add esp, 0xc
push 0
call fcn.1017931d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10180eae
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10180af3
Function at 0x10185f36
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10185eb2
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101860a5
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101860a5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1018605a
jg 0x10185f92
test eax, eax
je 0x10186050
push 1
push 0x1000
call fcn.1017e061
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10185fb5
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10186047
push 0x8000
push ebx
call fcn.10185de3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10185fde
jg 0x10185fd9
cmp ecx, 0x1000
jb 0x10185fde
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1017b291
add esp, 0x10
cmp eax, 0xffffffff
je 0x10186023
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10185fd9
jl 0x1018600a
test ecx, ecx
jne 0x10185fcb
push dword [ebp - 0xc]
push ebx
call fcn.10185de3
push esi
call fcn.1017931d
add esp, 0xc
xor ebx, ebx
jmp 0x101860b3
cmp byte [edi + 0x24], 0
je 0x1018603a
cmp dword [edi + 0x20], 5
jne 0x1018603a
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10186045
mov ebx, dword [edi + 0x18]
jmp 0x10186047
xor ebx, ebx
push esi
call fcn.1017931d
pop ecx
jmp 0x101860b3
test ecx, ecx
jg 0x1018601c
jl 0x1018605a
test eax, eax
jae 0x1018601c
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1017a755
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1018607a
cmp byte [edi + 0x1c], 0
je 0x1018601c
jmp 0x101860ab
push ebx
call fcn.10178426
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1018601c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101860b3
cmp byte [edi + 0x1c], 0
je 0x101860b0
mov ebx, dword [edi + 0x18]
jmp 0x101860b3
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1017a755
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10186b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10186b9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10186b9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x421b80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movups xmmword [esi], xmm0
test ecx, ecx
jne 0x421baf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
push edx
push ecx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
push eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00424d90
lea eax, [ebp - 0x6c]
push eax
call fcn.00424e50
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
movups xmmword [esi], xmm0
pop esi
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
Function at 0x4ccc60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea eax, [edx - 0xc8]
xor esi, esi
mov ecx, dword [edi]
cmp eax, 0x64
jb 0x4ccc8d
push str.Couldnt_set_desired_mode
push ecx
call fcn.004ac430
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ecx
pop ebp
ret
cmp edx, 0xc8
je 0x4ccca4
push edx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.004ac3b0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x4cccba
mov ecx, edi
call fcn.004cbda0
mov esi, eax
pop edi
pop esi
pop ecx
pop ebp
ret
cmp eax, 0x14
jne 0x4ccccd
mov ecx, edi
call fcn.004cbdf0
mov esi, eax
pop edi
pop esi
pop ecx
pop ebp
ret
cmp eax, 0x15
jne 0x4ccce0
mov ecx, edi
call fcn.004cbf20
mov esi, eax
pop edi
pop esi
pop ecx
pop ebp
ret
cmp eax, 0x16
jne 0x4cccee
mov ecx, edi
call fcn.004cbf30
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ecx
pop ebp
ret

Function at 0x4d13c0
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4d13cb
jmp dword [eax*4 + 0x4d1424]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret
Function at 0x510500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67a818
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x74b738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00669e77
mov edi, eax
add esp, 4
test edi, edi
je 0x5105a4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004ee83f
add esp, 4
mov dword [edi + 4], eax
jmp 0x5105a6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.004f01eb
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x510607
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x510607
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x51062a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x51064d
cmp byte [ebp + 0xc], 0
je 0x510639
push esi
call fcn.004ee48f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x510659
mov esi, str.ios_base::badbit_set
jmp 0x510669
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0042afc0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0042a4a0
push 0x712724
lea eax, [ebp - 0x30]
push eax
call fcn.0066ba00
int3
Function at 0x538760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [eax], 0
je 0x5387e2
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 0x7fed7fed
mov dword [ebp + 8], 0xeeeeeeee
movzx eax, word [ebx]
test ax, ax
je 0x5387d8
shl dword [ebp + 0xc], 8
push esi
nop dword [eax]
push eax
call fcn.0066bc6a
movzx esi, ax
lea ebx, [ebx + 2]
mov eax, dword [ebp + 0xc]
xor edx, edx
add eax, esi
add edi, dword [ebp + 8]
mov ecx, 0x500
add esp, 4
div ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
xor edi, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov ecx, eax
shl ecx, 5
add eax, 3
add ecx, esi
add eax, ecx
movzx ecx, word [ebx]
add eax, edi
mov dword [ebp + 8], eax
mov eax, ecx
test cx, cx
jne 0x538790
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x5666d0
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [ebp + 8]
mov eax, 2
mov dword [ebp - 0x3c], 0x10
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0
call dword [0x74fb40]
push 0x11
push 2
push 2
mov word [ebp - 0x12], ax
call dword [0x74fb44]
push dword [ebp - 0x3c]
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x44], ebx
call dword [0x74fb58]
test eax, eax
js 0x5668d0
push 0x100000
push ebx
call fcn.00556e30
push 0x80000
push ebx
call fcn.00556e90
push ebx
call fcn.00556e00
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [0x74fb50]
test eax, eax
jne 0x5668d0
push esi
push edi
call fcn.0054cc20
push 0
push 0x3e8
mov esi, edx
mov ebx, eax
push esi
push ebx
call fcn.0066b190
push 0
push 0xea60
push esi
push ebx
mov edi, eax
call fcn.0066b190
push 0
push 0x3c
mov esi, edx
mov dword [ebp - 0x40], eax
push esi
push eax
call fcn.0066b190
push dword [ebp - 0x12]
mov dword [ebp - 0x38], eax
call dword [0x74fb94]
mov edx, dword [ebp - 0x40]
movzx ecx, ax
mov eax, edx
push ecx
imul ecx, edi, 0x3e8
shl eax, 4
sub eax, edx
shl eax, 2
sub edi, eax
mov eax, edx
sub ebx, ecx
push ebx
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
shl ecx, 4
push edi
sub ecx, ebx
shl ecx, 2
sub eax, ecx
push eax
push 0
push 0x5a0
push esi
push edx
call fcn.0066b190
lea eax, [eax + eax*2]
shl eax, 3
sub ebx, eax
push ebx
push str._TitanSDK___02d:_02d:_02d._03d__udp__listen_port_ipv4_d_n
call fcn.00551730
mov edi, dword [0x74fb90]
add esp, 0x18
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x12]
mov dword [0x753210], eax
call dword [0x74fb94]
push 0
push 2
push 2
mov word [0x753214], ax
call dword [0x74fb44]
mov ebx, dword [0x74fb3c]
mov esi, eax
push str.255.255.255.255
call ebx
mov dword [0x753210], eax
cmp esi, 0xffffffff
je 0x5668ad
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x24], xmm0
push str.8.8.8.8
mov word [ebp - 0x24], ax
call ebx
push 0x35
mov dword [ebp - 0x20], eax
call dword [0x74fb40]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push 0x10
push eax
push esi
call dword [0x74fb54]
cmp eax, 0xffffffff
je 0x56689f
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [0x74fb50]
mov ecx, dword [0x753210]
cmp eax, 0xffffffff
cmovne ecx, dword [ebp - 0x30]
mov dword [0x753210], ecx
push esi
call fcn.00556c40
mov eax, dword [0x753210]
add esp, 4
push eax
call edi
pop edi
mov dword [0x753210], eax
mov eax, dword [ebp - 0x44]
pop esi
mov dword [0x753208], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00556c40
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov dword [0x753208], 0xffffffff
mov eax, 0x67
pop ebx
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
Function at 0x566a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
sar eax, 3
and ecx, 7
push 0x7973
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ecx
call dword [0x74fb40]
mov ecx, dword [ebp + 8]
xor edi, edi
movzx eax, ax
cdq
mov esi, edx
mov ebx, eax
mov edx, dword [ebp - 4]
test edx, edx
jle 0x566add
cmp edx, 4
jb 0x566ac1
mov eax, edx
and eax, 0x80000003
jns 0x566a7c
dec eax
or eax, 0xfffffffc
inc eax
sub edx, eax
xorps xmm2, xmm2
xorps xmm1, xmm1
movups xmm0, xmmword [ecx]
add edi, 4
pxor xmm2, xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, 0x20
pxor xmm1, xmm0
cmp edi, edx
jl 0x566a84
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movd edx, xmm1
psrldq xmm1, 4
movd eax, xmm1
xor ebx, edx
mov edx, dword [ebp - 4]
xor esi, eax
cmp edi, edx
jge 0x566add
mov eax, edx
sub eax, edi
nop dword [eax]
xor ebx, dword [ecx]
lea ecx, [ecx + 8]
xor esi, dword [ecx - 4]
sub eax, 1
jne 0x566ad0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x566b06
push eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
lea eax, [eax + edx*8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0066ba06
xor ebx, dword [ebp - 8]
add esp, 0xc
xor esi, dword [ebp - 4]
mov edx, esi
xor ecx, ecx
xor edx, ebx
xor ecx, esi
mov eax, edx
shrd eax, ecx, 0x10
xor ax, dx
movzx eax, ax
push eax
call dword [0x74fb94]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5682f0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005683f0

Function at 0x5683b0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005683f0

Function at 0x5683f0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
imul eax, dword [esi], 0xcc9e2d51
imul ecx, dword [esi + 4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
rol eax, 0xd
add eax, 0xfaddaf14
lea edx, [eax + eax*4]
imul eax, dword [esi + 8], 0xcc9e2d51
xor ecx, edx
rol ecx, 0xd
add ecx, 0xfaddaf14
rol eax, 0xf
imul eax, eax, 0x1b873593
lea ecx, [ecx + ecx*4]
xor ecx, eax
imul eax, dword [esi + 0xc], 0xcc9e2d51
rol ecx, 0xd
pop esi
rol eax, 0xf
lea ecx, [ecx + ecx*4]
imul eax, eax, 0x1b873593
add ecx, 0xe6546b64
xor ecx, eax
rol ecx, 0xd
lea ecx, [ecx + ecx*4]
add ecx, 0xe6546b64
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret
Function at 0x592df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00592990
Function at 0x90aa92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x90ab67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x90ab31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x90ab5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0090ab71
test eax, eax
je 0x90ab67
add ebx, 0x14
jmp 0x90ab3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8