joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], 0
cmp dword [ebp + 0x10], 0
jge 0x43bfc6
or eax, 0xffffffff
jmp 0x43c15a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x43c046
call fcn.004423a0
test eax, eax
je 0x43c046
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00442540
add esp, 4
test eax, eax
jne 0x43c042
push 0x51460c
push 0x514624
push 0x965
push 0x514654
push 0x514660
push 0xdeaddead
call fcn.00441370
add esp, 0x18
push str.evbuffer_write_iovec
push str.evthread_is_debug_lock_held___buffer___lock_
push 0x965
push 0x5146cc
push 0x5146d8
push 2
call fcn.004a3929
add esp, 4
push eax
call fcn.00429fa0
add esp, 0x18
call fcn.004a7d51
xor edx, edx
jne 0x43bfd8
xor eax, eax
jne 0x43bfc6
cmp dword [ebp - 0x8c], 0
je 0x43c106
cmp dword [ebp - 0x88], 0x10
jge 0x43c106
cmp dword [ebp + 0x10], 0
je 0x43c106
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x8c]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x88]
mov dword [ebp + ecx*8 - 0x80], edx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x10]
cmp eax, dword [edx + 0xc]
jb 0x43c0d2
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0xc]
mov dword [ebp + ecx*8 - 0x84], eax
mov ecx, dword [ebp - 0x88]
add ecx, 1
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x10]
sub eax, dword [edx + 0xc]
mov dword [ebp + 0x10], eax
jmp 0x43c0f3
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp + 0x10]
mov dword [ebp + ecx*8 - 0x84], edx
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
jmp 0x43c106
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
jmp 0x43c04e
cmp dword [ebp - 0x88], 0
jne 0x43c113
xor eax, eax
jmp 0x43c15a
push 0
push 0
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x43c148
mov dword [ebp - 0x90], 0xffffffff
jmp 0x43c154
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret

Function at 0x43ccc0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x43ccfd
mov edx, dword [ebp + 8]
push edx
push str.fcntl__d__F_GETFL_
mov eax, dword [ebp + 8]
push eax
call fcn.00441320
add esp, 0xc
or eax, 0xffffffff
jmp 0x43ccff
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43de40
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 0x10], 0
je 0x43de67
push 0x20
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0049c830
add esp, 0xc
jmp 0x43de7e
push 0x20
push 0
lea edx, [ebp - 0x34]
push edx
call fcn.0049d330
add esp, 0xc
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043eec0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43deb2
cmp dword [ebp - 4], 8
je 0x43deb2
cmp dword [ebp - 4], 0x2af9
jne 0x43deba
mov eax, dword [ebp - 4]
jmp 0x43e022
call fcn.004400c0
test eax, eax
je 0x43deed
cmp dword [ebp + 0xc], 0
je 0x43deed
cmp dword [ebp - 0x2c], 0
jne 0x43deed
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043fe40
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x43deed
mov dword [ebp - 0xc], 1
jmp 0x43def4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43df2c
cmp dword [ebp + 8], 0
jne 0x43df25
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call fcn.0043eec0
add esp, 0x14
jmp 0x43e022
mov dword [ebp + 0xc], 0
call fcn.004400e0
test eax, eax
je 0x43df41
lea edx, [ebp - 0x34]
push edx
call fcn.0043ff70
add esp, 4
mov eax, dword [0x4e68a0]
and eax, dword [0x4e68a4]
je 0x43dfa5
push 0x515140
push 0x515154
push 0x584
push 0x515188
push 0x515194
push 0xdeaddead
call fcn.00441370
add esp, 0x18
push str.evutil_getaddrinfo
push str._ALL_NONNATIVE_AI_FLAGS__ALL_NATIVE_AI_FLAGS___0
push 0x584
push str.evutil.c
push 0x51520c
push 2
call fcn.004a3929
add esp, 4
push eax
call fcn.00429fa0
add esp, 0x18
call fcn.004a7d51
xor ecx, ecx
jne 0x43df41
mov edx, dword [0x4e68a0]
not edx
and edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x43dfe6
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00440100
add esp, 8
call fcn.004400e0
test eax, eax
je 0x43e01f
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call fcn.004401b0
add esp, 4
test eax, eax
jge 0x43e01f
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
call fcn.0043e030
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 8
jmp 0x43e022
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43e7c0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jge 0x43e813
push 0
push 1
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jge 0x43e7f8
jmp 0x43e87f
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0043ccc0
add esp, 4
test eax, eax
jge 0x43e813
jmp 0x43e87f
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jge 0x43e878
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0043cd60
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2733
je 0x43e860
cmp dword [ebp - 4], 0x2714
je 0x43e860
cmp dword [ebp - 4], 0x2734
je 0x43e860
cmp dword [ebp - 4], 0x2726
jne 0x43e864
xor eax, eax
jmp 0x43e89f
cmp dword [ebp - 4], 0x274d
jne 0x43e874
mov eax, 2
jmp 0x43e89f
jmp 0x43e87f
mov eax, 1
jmp 0x43e89f
cmp dword [ebp - 8], 0
je 0x43e89c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0043cd40
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xffffffff
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x43f550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x43f5a1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a7cb0
add esp, 4
mov edx, dword [ebp - 0x10c]
lea eax, [edx + eax + 2]
cmp eax, 0x104
jb 0x43f5a5
xor eax, eax
jmp 0x43f5d9
push 0x51555c
lea ecx, [ebp - 0x108]
push ecx
call fcn.004a9160
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.004a9160
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret
Function at 0x43fff0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x20
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0049d330
add esp, 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xc
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x515128
push 0x51512c
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0x515134
push str.1.2.3.4
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x440075
cmp dword [ebp - 0x10], 0
je 0x440075
mov dword [0x51f118], 1
cmp dword [ebp - 4], 0
je 0x44008e
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x44008e
mov dword [0x51f11c], 1
cmp dword [ebp - 8], 0
je 0x44009e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 4], 0
je 0x4400ae
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [0x51f120], 1
mov esp, ebp
pop ebp
ret

Function at 0x4402d0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x10
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
imul eax, dword [ebp - 4], 0x85ebca6b
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xd
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
imul edx, dword [ebp - 4], 0xc2b2ae35
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 0x10
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4415d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x51f130], 0
je 0x4415f4
mov eax, dword [ebp + 8]
push eax
call dword [0x51f130]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a5b69
jmp 0x44160d
cmp dword [ebp + 8], 0xdeaddead
jne 0x441604
call fcn.004a7d51
jmp 0x44160d
mov edx, dword [ebp + 8]
push edx
call fcn.004a5b69
pop ebp
ret

Function at 0x443510
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x51f6c0], 0
jne 0x44355f
push 0xf0000000
push 1
push 0
push 0
push 0x51f6c4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x443555
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x443555
or eax, 0xffffffff
jmp 0x4435a3
mov dword [0x51f6c0], 1
lea eax, [ebp - 0x24]
push eax
push 0x20
mov ecx, dword [0x51f6c4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x44357b
or eax, 0xffffffff
jmp 0x4435a3
push 0x20
lea edx, [ebp - 0x24]
push edx
call fcn.00443460
add esp, 8
push 0x20
lea eax, [ebp - 0x24]
push eax
call fcn.0043f830
add esp, 8
mov dword [0x51f6bc], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret
Function at 0x446190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x51f6c8], 0
jne 0x4461ac
push 0x51f6cc
call fcn.00446630
add esp, 4
push 0x30
push 1
call fcn.0042e3b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4461c8
xor eax, eax
jmp 0x446318
cmp dword [ebp + 8], 0
jg 0x4461d5
mov dword [ebp + 8], 2
mov eax, dword [ebp + 8]
shl eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1c], ax
push 4
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x1c]
push eax
call fcn.0042e3b0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x24], 0
jne 0x446207
jmp 0x4462c8
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x446233
jmp 0x4462c8
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2c], 0
jne 0x446252
jmp 0x4462c8
mov dword [ebp - 8], 0
jmp 0x446264
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x1c]
cmp dword [ebp - 8], edx
jge 0x4462b1
mov eax, dword [ebp - 4]
push eax
push 0
push 0x446480
call fcn.004afc73
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x44628e
jmp 0x4462c8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x28]
add ax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x28], ax
jmp 0x44625b
push 0x3e8
mov edx, dword [ebp - 4]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, dword [ebp - 4]
jmp 0x446318
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4462dc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4462f4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0042e530
add esp, 4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
je 0x44630a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
push eax
call fcn.0042e530
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x446630
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xb5367df1
mov eax, 0xcbac
mov word [ebp - 0x10], ax
mov ecx, 0x11cf
mov word [ebp - 0xe], cx
mov byte [ebp - 0xc], 0x95
mov byte [ebp - 0xb], 0xca
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0xa1
mov byte [ebp - 5], 0x92
mov dword [ebp - 0x24], 0x25a207b9
mov edx, 0xddf3
mov word [ebp - 0x20], dx
mov eax, 0x4660
mov word [ebp - 0x1e], ax
mov byte [ebp - 0x1c], 0x8e
mov byte [ebp - 0x1b], 0xe9
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 0x19], 0xe5
mov byte [ebp - 0x18], 0x8c
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 6
mov byte [ebp - 0x15], 0x3e
mov dword [ebp - 0x34], 0xb5367df2
mov ecx, 0xcbac
mov word [ebp - 0x30], cx
mov edx, 0x11cf
mov word [ebp - 0x2e], dx
mov byte [ebp - 0x2c], 0x95
mov byte [ebp - 0x2b], 0xca
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0x80
mov byte [ebp - 0x28], 0x5f
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0xa1
mov byte [ebp - 0x25], 0x92
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x446702
jmp 0x446757
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004465f0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004465f0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004465f0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x51f6c8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret
Function at 0x44ef60
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 1
cmp dword [ebp + 8], 0
je 0x44ef7e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
jmp 0x44ef85
mov dword [ebp - 8], 2
push 0
push 0x84000001
mov edx, dword [ebp - 8]
push edx
call fcn.0043f5f0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44efb8
push 0x51aea0
push 0xffffffffffffffff
call fcn.00441320
add esp, 8
or eax, 0xffffffff
jmp 0x44f041
push 4
lea eax, [ebp - 0xc]
push eax
push 8
push 0xffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x44efd5
jmp 0x44f01b
cmp dword [ebp + 0xc], 0
je 0x44efed
mov edx, dword [ebp - 4]
push edx
call fcn.0043cd10
add esp, 4
test eax, eax
jge 0x44efed
jmp 0x44f01b
cmp dword [ebp + 8], 0
je 0x44f016
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x44f016
jmp 0x44f01b
mov eax, dword [ebp - 4]
jmp 0x44f041
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0043cd40
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor ecx, ecx
jne 0x44f030
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x44f0c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x401
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x44f125
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.00440b00
add esp, 4
push eax
push str.getnameinfo_failed:__s
push 1
call fcn.00441370
add esp, 0xc
jmp 0x44f14a
lea edx, [ebp - 0x428]
push edx
call fcn.0042e450
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea edx, [ebp - 0x24]
push edx
call fcn.0042e450
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret
Function at 0x456190
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x50d174]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, dword [0x51fb28]
mov ecx, eax
inc eax
mov dword [0x51fb28], eax
test ecx, ecx
je 0x4561cc
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0042a04a
add esp, 0x194
ret
cmp byte [esp + 0x19c], 0
je 0x456208
mov dword [fcn.004a25d9], 0x4a25d9
mov dword [fcn.004a25d4], 0x4a25d4
mov dword [fcn.004a7d46], 0x4a7d46
mov dword [fcn.004a7c4c], 0x4a7c4c
mov dword [fcn.004a7d3b], 0x4a7d3b
push ebx
call fcn.00462940
test eax, eax
je 0x45624a
mov ebx, dword [esp + 0x19c]
test bl, 2
je 0x45626d
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x45624a
mov eax, dword [esp + 4]
cmp al, 2
jne 0x456265
shr eax, 8
cmp al, 2
jne 0x456265
call fcn.00461540
test eax, eax
je 0x45626d
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0042a04a
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x45624a
call fcn.00404bf0
test eax, eax
jne 0x45624a
call fcn.0045f660
mov eax, dword [0x51fc3c]
test bl, 4
mov ecx, 1
mov dword [0x51fb2c], ebx
cmovne eax, ecx
mov dword [0x51fc3c], eax
call fcn.0046b360
mov ecx, dword [esp + 0x194]
xor eax, eax
pop ebx
xor ecx, esp
call fcn.0042a04a
add esp, 0x194
ret
Function at 0x45de10
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x50d174]
xor eax, esp
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x45deea
lea eax, [esp + 4]
push eax
push edi
push 2
call fcn.00477b40
add esp, 0xc
test eax, eax
jne 0x45deea
lea eax, [esp + 8]
push eax
push edi
push 0x17
call fcn.00477b40
add esp, 0xc
test eax, eax
jne 0x45deea
push ebx
push ebp
push esi
mov esi, edi
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45de65
sub esi, ecx
push esi
push 0x2e
push edi
call fcn.00477b10
add esp, 0xc
test eax, eax
je 0x45de99
sub eax, edi
push eax
push 0x2e
push edi
call fcn.00477b10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45de9b
inc ebx
mov ecx, edi
sub ecx, ebx
add esi, ecx
test ebx, ebx
cmovne edi, ebx
xor ecx, ecx
xor ebp, ebp
mov ebx, 0x1505
lea eax, [esi + edi]
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x45ded4
mov al, byte [edi]
push eax
call fcn.0046c320
movsx ecx, al
lea edi, [edi + 1]
mov eax, ebx
inc ebp
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp ebp, esi
jb 0x45deb3
pop esi
pop ebp
movzx eax, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0042a04a
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
xor ecx, esp
call fcn.0042a04a
add esp, 0x18
ret

Function at 0x45f660
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [0x51b3ec]
cmp eax, 0xffffffff
jne 0x45f6a2
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x45f688
xor eax, eax
test eax, eax
mov dword [0x51b3ec], eax
setg al
ret
push eax
push 0
mov dword [0x51b3ec], 1
call fcn.004696c0
mov eax, dword [0x51b3ec]
add esp, 8
test eax, eax
setg al
ret

Function at 0x45f6b0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2d0], 2
jne 0x45f705
mov eax, dword [0x51b3ec]
cmp eax, 0xffffffff
jne 0x45f6ff
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x45f6e5
xor eax, eax
test eax, eax
mov dword [0x51b3ec], eax
setg al
ret
push eax
push 0
mov dword [0x51b3ec], 1
call fcn.004696c0
mov eax, dword [0x51b3ec]
add esp, 8
test eax, eax
setg al
ret
mov al, 1
ret