joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c90
Capabilities:
Check os version

Disassembly:
sub esp, 0x32c
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x328], eax
push 0x114
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044ae30
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x128], ax
lea eax, [esp + 0x12a]
push eax
call fcn.0044ae30
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 5
jge 0x414d01
push eax
call fcn.00414dc0
add esp, 4
test al, al
je 0x414d18
push str.Global_
push 0x104
lea eax, [esp + 0x128]
push eax
call fcn.00415110
push esi
push dword [esp + 0x334]
lea eax, [esp + 0x128]
push 0x104
push eax
call fcn.00415110
xorps xmm0, xmm0
push 0x14
movq qword [esp + 8], xmm0
mov dword [esp + 0x10], 0
call fcn.0044c6d8
add esp, 4
mov dword [esp + 8], eax
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x124]
push eax
push 1
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x414da2
push eax
call fcn.0044ac66
add esp, 4
mov ecx, dword [esp + 0x32c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00449824
add esp, 0x32c
ret
Function at 0x414dc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x1c8], eax
movq xmm0, qword [str.Terminal_Server]
mov ax, word [0x46cd88]
movq qword [esp + 0x148], xmm0
movq xmm0, qword [0x46ccf4]
movq qword [esp + 0x150], xmm0
movq xmm0, qword [0x46ccfc]
movq qword [esp + 0x158], xmm0
movq xmm0, qword [0x46cd04]
movq qword [esp + 0x160], xmm0
movq xmm0, qword [str.ProductSuite]
push ebx
push esi
movq qword [esp + 0x134], xmm0
movq xmm0, qword [0x46cd78]
push edi
movq qword [esp + 0x140], xmm0
movq xmm0, qword [0x46cd80]
mov ecx, 0x18
mov esi, str.SystemCurrentControlSetControlProductOptions
lea edi, [esp + 0x174]
xor bl, bl
cmp dword [esp + 0x1dc], 4
rep movsd dword es:[edi], dword [esi]
movq qword [esp + 0x148], xmm0
mov word [esp + 0x150], ax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
jle 0x414ef6
push 0x11c
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044ae30
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41501d
mov eax, dword [esp + 0x134]
test al, 0x10
je 0x41501d
test eax, 0x100
jne 0x41501d
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00449824
add esp, 0x1cc
ret
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
lea eax, [esp + 0x180]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41500e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x41500e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41500e
cmp dword [esp + 0x14], 7
jne 0x41500e
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push ebp
neg ecx
or ecx, eax
push ecx
call fcn.004485e4
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x41500d
push dword [esp + 0x14]
push 0
push ebp
call fcn.0044ae30
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x14c]
push eax
push dword [esp + 0x24]
call esi
test eax, eax
jne 0x415004
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x158]
push eax
call edi
cmp word [ebp], 0
mov dword [esp + 0x1c], eax
mov esi, ebp
je 0x415004
lea ecx, [ecx]
push esi
call edi
mov edi, eax
cmp edi, dword [esp + 0x1c]
jne 0x414fee
push esi
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x415002
lea esi, [esi + edi*2]
add esi, 2
cmp word [esi], 0
je 0x415004
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x414fd0
mov bl, 1
push ebp
call fcn.0044ac9e
add esp, 4
pop ebp
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41501d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00449824
add esp, 0x1cc
ret
Function at 0x415040
Capabilities:
Check os version

Disassembly:
sub esp, 0x320
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x31c], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call fcn.0044ae30
add esp, 0xc
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x11c], ax
lea eax, [esp + 0x11e]
push eax
call fcn.0044ae30
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp eax, 5
jge 0x4150b0
push eax
call fcn.00414dc0
add esp, 4
test al, al
je 0x4150c7
push str.Global_
push 0x104
lea eax, [esp + 0x11c]
push eax
call fcn.00415110
push dword [esp + 0x324]
lea eax, [esp + 0x118]
push 0x104
push eax
call fcn.00415110
lea eax, [esp + 0x114]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.00449824
add esp, 0x320
ret

Function at 0x415560
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4155b5
mov eax, dword [esp]
cmp al, 2
jne 0x4155af
shr eax, 8
cmp al, 2
jne 0x4155af
call fcn.00419d00
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00449824
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.00449824
add esp, 0x194
ret
Function at 0x422760
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
lea ebx, [edi + 0x5a4]
push 0x4000
push ebx
call fcn.00424570
mov eax, dword [edi + 0x130]
add esp, 0x10
test eax, eax
je 0x4227b4
cmp dword [edi + 0x85d0], 0
jne 0x4227b4
push ebx
push 0x46bcc0
push 0x100
push eax
call fcn.00424480
add esp, 0x10
mov dword [edi + 0x85d0], 1
cmp dword [edi + 0x31c], 0
je 0x422829
push esi
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4227c3
sub esi, ecx
cmp esi, 0x3fff
jae 0x4227e4
mov byte [edi + esi + 0x5a4], 0xa
inc esi
mov byte [edi + esi + 0x5a4], al
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x422802
push dword [edi + 0x12c]
push esi
push ebx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
pop ebx
ret
push dword [edi + 0x128]
push 1
push 2
push 0x46f0b4
call fcn.0044aa18
push dword [edi + 0x128]
push 1
push esi
push ebx
call fcn.0044aa18
add esp, 0x20
pop esi
pop edi
pop ebx
ret

Function at 0x422830
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x804], eax
push edi
mov edi, dword [esp + 0x810]
test edi, edi
je 0x4228f9
cmp dword [edi + 0x31c], 0
je 0x4228f9
push esi
lea eax, [esp + 0x81c]
push eax
push dword [esp + 0x81c]
lea eax, [esp + 0x10]
push 0x801
push eax
call fcn.00424570
lea esi, [esp + 0x18]
add esp, 0x10
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x422890
mov eax, dword [edi + 0x1a0]
sub esi, ecx
test eax, eax
je 0x4228ce
push dword [edi + 0x12c]
lea ecx, [esp + 0xc]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00449824
add esp, 0x808
ret
push dword [edi + 0x128]
push 1
push 2
push 0x46f0b4
call fcn.0044aa18
push dword [edi + 0x128]
lea eax, [esp + 0x1c]
push 1
push esi
push eax
call fcn.0044aa18
add esp, 0x20
pop esi
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
call fcn.00449824
add esp, 0x808
ret

Function at 0x422b00
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [ebp + eax*4 + 0x134]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x422b7b
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x422b51
pop esi
pop edi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push esi
push ebp
call fcn.00415c50
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.00422760
mov eax, dword [ebp]
add esp, 0x14
mov dword [eax + 0x85d4], esi
mov dword [ebx], 0x37
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x422e20
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x422e49
push dword [esi + 0x12c]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call eax
add esp, 0x14
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x422e82
push dword [esi + 0x128]
lea eax, [eax + eax*2]
push 1
add eax, 0x46f0b4
push 2
push eax
call fcn.0044aa18
push dword [esi + 0x128]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0044aa18
add esp, 0x20
xor eax, eax
pop esi
ret

Function at 0x4230d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x598]
test esi, esi
je 0x42311c
mov eax, dword [edi + 0x44]
test eax, eax
je 0x42311c
push 0x423d80
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
push dword [eax + 0x30]
call fcn.0042cd30
add esp, 0xc
cmp dword [esp + 0xc], 0
jne 0x423125
mov dword [edi + 0x598], 0
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42312f
mov dword [eax], esi
cmp dword [esi + 0x154], 0
mov edi, dword [esi + 0x134]
je 0x423154
push esi
call fcn.004071b0
add esp, 4
test eax, eax
jne 0x423168
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
push 2
push 1
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x42311c
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x423440
Capabilities:
Check os version
Set socket configuration

Disassembly:
sub esp, 0xa4
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [0x4830c4]
mov dword [esp], 0x4020
mov dword [esp + 4], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x4234d3
push 0x94
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044ae30
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
mov dword [0x4830c4], 1
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4234ce
cmp dword [esp + 0x10], 6
jb 0x4234ce
mov dword [0x4830c4], 2
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00449824
add esp, 0xa4
ret
mov eax, dword [0x4830c4]
cmp eax, 2
je 0x423524
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0xb8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x423506
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jg 0x423524
push 4
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0xb8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00449824
add esp, 0xa4
ret
Function at 0x4236e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x108
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
cmp dword [ebx + 0x228], 0
push edi
mov edi, dword [ebx]
jne 0x42386e
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x423768
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00415c50
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.00422760
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00449824
add esp, 0x108
ret
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x94]
push eax
push esi
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4237bf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00415c50
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.00422760
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00449824
add esp, 0x108
ret
lea eax, [ebx + 0xcc]
push eax
lea eax, [ebx + 0x9e]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00423da0
add esp, 0xc
test eax, eax
jne 0x423815
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.00415c50
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.00422760
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00449824
add esp, 0x108
ret
lea eax, [ebx + 0x100]
push eax
lea eax, [ebx + 0xd0]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00423da0
add esp, 0xc
test eax, eax
jne 0x42386e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.00415c50
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.00422760
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00449824
add esp, 0x108
ret
mov edi, dword [ebx]
add edi, 0x8f64
lea esi, [ebx + 0x9e]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebx]
add edi, 0x8f98
lea esi, [ebx + 0xd0]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xcc]
mov dword [ecx + 0x8f94], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x100]
pop edi
mov dword [ecx + 0x8fc8], eax
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.00449824
add esp, 0x108
ret
Function at 0x4240a0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
xor eax, eax
cmp dword [esi + 0x450], eax
push edi
mov edi, dword [esp + 0x28]
setne al
push 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x424100
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00422830
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00449824
add esp, 0x18
ret
push dword [esi + 0x454]
mov dword [esp + 0x14], 1
call fcn.0042ca80
imul eax, eax, 0x3e8
push dword [esi + 0x458]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
call fcn.0042ca80
imul eax, eax, 0x3e8
add esp, 8
mov dword [esp + 8], eax
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x28]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x424177
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00422830
add esp, 0x10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.00449824
add esp, 0x18
ret

Function at 0x424190
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 4
mov esi, dword [edi]
mov eax, dword [esi + 0x34c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 1
push 6
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x4241da
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.00415c50
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00422830
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00422830
add esp, 8
pop edi
pop esi
ret
Function at 0x42dc20
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov bl, byte [esi]
mov edi, dword [esp + 0x14]
test bl, bl
je 0x42dcd1
mov cl, byte [edi]
test cl, cl
je 0x42dcd1
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42dc4a
jmp dword [eax*4 + 0x42dcf8]
mov bl, 0x41
jmp case.default.0x42dc4a
mov bl, 0x42
jmp case.default.0x42dc4a
mov bl, 0x43
jmp case.default.0x42dc4a
mov bl, 0x44
jmp case.default.0x42dc4a
mov bl, 0x45
jmp case.default.0x42dc4a
mov bl, 0x46
jmp case.default.0x42dc4a
mov bl, 0x47
jmp case.default.0x42dc4a
mov bl, 0x48
jmp case.default.0x42dc4a
mov bl, 0x49
jmp case.default.0x42dc4a
mov bl, 0x4a
jmp case.default.0x42dc4a
mov bl, 0x4b
jmp case.default.0x42dc4a
mov bl, 0x4c
jmp case.default.0x42dc4a
mov bl, 0x4d
jmp case.default.0x42dc4a
mov bl, 0x4e
jmp case.default.0x42dc4a
mov bl, 0x4f
jmp case.default.0x42dc4a
mov bl, 0x50
jmp case.default.0x42dc4a
mov bl, 0x51
jmp case.default.0x42dc4a
mov bl, 0x52
jmp case.default.0x42dc4a
mov bl, 0x53
jmp case.default.0x42dc4a
mov bl, 0x54
jmp case.default.0x42dc4a
mov bl, 0x55
jmp case.default.0x42dc4a
mov bl, 0x56
jmp case.default.0x42dc4a
mov bl, 0x57
jmp case.default.0x42dc4a
mov bl, 0x58
jmp case.default.0x42dc4a
mov bl, 0x59
jmp case.default.0x42dc4a
mov bl, 0x5a
push ecx
call fcn.0042ded0
add esp, 4
cmp bl, al
jne 0x42dcd1
mov bl, byte [esi + 1]
inc esi
inc edi
test bl, bl
jne 0x42dc35
movzx eax, byte [esi]
push eax
call fcn.0042ded0
movzx ecx, byte [edi]
push ecx
mov bl, al
call fcn.0042ded0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
ret
Function at 0x42dd60
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [edi]
test bl, bl
je 0x42de26
lea ebx, [ebx]
mov cl, byte [ebp]
test cl, cl
je 0x42de26
test esi, esi
je 0x42de2a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42dd9e
jmp dword [eax*4 + 0x42de5c]
mov bl, 0x41
jmp case.default.0x42dd9e
mov bl, 0x42
jmp case.default.0x42dd9e
mov bl, 0x43
jmp case.default.0x42dd9e
mov bl, 0x44
jmp case.default.0x42dd9e
mov bl, 0x45
jmp case.default.0x42dd9e
mov bl, 0x46
jmp case.default.0x42dd9e
mov bl, 0x47
jmp case.default.0x42dd9e
mov bl, 0x48
jmp case.default.0x42dd9e
mov bl, 0x49
jmp case.default.0x42dd9e
mov bl, 0x4a
jmp case.default.0x42dd9e
mov bl, 0x4b
jmp case.default.0x42dd9e
mov bl, 0x4c
jmp case.default.0x42dd9e
mov bl, 0x4d
jmp case.default.0x42dd9e
mov bl, 0x4e
jmp case.default.0x42dd9e
mov bl, 0x4f
jmp case.default.0x42dd9e
mov bl, 0x50
jmp case.default.0x42dd9e
mov bl, 0x51
jmp case.default.0x42dd9e
mov bl, 0x52
jmp case.default.0x42dd9e
mov bl, 0x53
jmp case.default.0x42dd9e
mov bl, 0x54
jmp case.default.0x42dd9e
mov bl, 0x55
jmp case.default.0x42dd9e
mov bl, 0x56
jmp case.default.0x42dd9e
mov bl, 0x57
jmp case.default.0x42dd9e
mov bl, 0x58
jmp case.default.0x42dd9e
mov bl, 0x59
jmp case.default.0x42dd9e
mov bl, 0x5a
push ecx
call fcn.0042ded0
add esp, 4
cmp bl, al
jne 0x42de26
mov bl, byte [edi + 1]
inc edi
dec esi
inc ebp
test bl, bl
jne 0x42dd80
test esi, esi
jne 0x42de34
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
movzx eax, byte [edi]
push eax
call fcn.0042ded0
movzx ecx, byte [ebp]
push ecx
mov bl, al
call fcn.0042ded0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
ret

Function at 0x42ded0
Capabilities:
Parse pe header

Disassembly:
mov cl, byte [esp + 4]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42dedf
jmp dword [eax*4 + 0x42df38]
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 0x42dfa0
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 1
jb 0x42e04c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
sub edi, edx
lea esp, [esp]
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42dfcd
jmp dword [eax*4 + 0x42e050]
mov cl, 0x41
jmp case.default.0x42dfcd
mov cl, 0x42
jmp case.default.0x42dfcd
mov cl, 0x43
jmp case.default.0x42dfcd
mov cl, 0x44
jmp case.default.0x42dfcd
mov cl, 0x45
jmp case.default.0x42dfcd
mov cl, 0x46
jmp case.default.0x42dfcd
mov cl, 0x47
jmp case.default.0x42dfcd
mov cl, 0x48
jmp case.default.0x42dfcd
mov cl, 0x49
jmp case.default.0x42dfcd
mov cl, 0x4a
jmp case.default.0x42dfcd
mov cl, 0x4b
jmp case.default.0x42dfcd
mov cl, 0x4c
jmp case.default.0x42dfcd
mov cl, 0x4d
jmp case.default.0x42dfcd
mov cl, 0x4e
jmp case.default.0x42dfcd
mov cl, 0x4f
jmp case.default.0x42dfcd
mov cl, 0x50
jmp case.default.0x42dfcd
mov cl, 0x51
jmp case.default.0x42dfcd
mov cl, 0x52
jmp case.default.0x42dfcd
mov cl, 0x53
jmp case.default.0x42dfcd
mov cl, 0x54
jmp case.default.0x42dfcd
mov cl, 0x55
jmp case.default.0x42dfcd
mov cl, 0x56
jmp case.default.0x42dfcd
mov cl, 0x57
jmp case.default.0x42dfcd
mov cl, 0x58
jmp case.default.0x42dfcd
mov cl, 0x59
jmp case.default.0x42dfcd
mov cl, 0x5a
mov byte [edi + edx], cl
mov al, byte [edx]
inc edx
test al, al
je 0x42e04b
dec esi
jne 0x42dfc0
pop edi
pop esi
ret
Function at 0x42e130
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
xor ebx, ebx
mov dword [eax], ebx
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
mov dword [esp + 0xc], ebx
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x42e2c2
push ebp
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x42e2ac
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x42e17f
lea ebp, [eax + 0xe]
jmp 0x42e18b
cmp eax, 0x17
jne 0x42e239
lea ebp, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x42e239
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42e239
cmp eax, ebp
jb 0x42e239
push 0x20
call dword [0x48186c]
mov esi, eax
add esp, 4
test esi, esi
je 0x42e2a1
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebp
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x48186c]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x42e290
push ebp
push dword [edi + 0x18]
push eax
call fcn.00449c80
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x42e225
push eax
call dword [0x481878]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x42e276
mov eax, dword [esp + 0x10]
test ebx, ebx
cmove ebx, esi
test eax, eax
je 0x42e235
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x42e172
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x42e258
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebp, ebp
je 0x42e2a8
push ebx
call fcn.0042e0e0
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebx, ebx
mov dword [eax], ebx
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebp, 8
call dword [0x481870]
push esi
call dword [0x481870]
add esp, 8
jmp 0x42e248
push esi
mov ebp, 8
call dword [0x481870]
add esp, 4
jmp 0x42e248
mov ebp, 8
jmp 0x42e248
test ebx, ebx
jne 0x42e2b8
mov ebp, 0x2af9
push ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebx
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x42e600
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2a0], 2
je fcn.0042e5b0
mov eax, 1
ret