joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd763
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x65db30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
push edi
mov ebx, 1
push ebx
push ebx
push edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CUdpNode.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 4], eax
cmp ecx, edi
jne 0x43b62d
push 0x80004005
call fcn.00436780
mov byte [ebp - 4], bl
mov dword [esi + 8], ebx
call fcn.00464d50
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x598
mov dword [esi + 0x1c], 0x12c
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0xffffffff
xor eax, eax
mov ecx, 0x400
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
xor edx, edx
mov word [esi + 0x30], dx
mov dword [esi + 0x32], eax
mov dword [esi + 0x36], eax
mov dword [esi + 0x3a], eax
mov dword [esi + 0x3e], eax
mov dword [esi + 0x42], eax
mov dword [esi + 0x46], eax
mov word [esi + 0x4a], ax
mov word [esi + 0x4c], ax
mov dword [esi + 0x4e], eax
mov dword [esi + 0x52], eax
mov dword [esi + 0x56], eax
mov dword [esi + 0x5a], eax
mov dword [esi + 0x5e], eax
mov dword [esi + 0x62], eax
mov word [esi + 0x66], ax
mov edx, dword [0x65e9fc]
push edx
push ecx
lea ebx, [esi + 0x68]
push ecx
mov ecx, ebx
call fcn.004388b0
mov eax, dword [ebp + 8]
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], 0xffffffff
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], 3
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
mov dword [esi + 0x17c], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43c6d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43c6eb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43c722
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x43c71e
jmp 0x43c710
cmp esi, eax
jae 0x43c722
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x43c710
cmp esi, eax
jb 0x43c729
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43d8a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov al, byte [edx]
push esi
push edi
mov edi, ecx
mov esi, 0x811c9dc5
test al, al
je 0x43d8d3
lea ecx, [eax - 0x41]
inc edx
cmp cl, 0x19
ja 0x43d8c2
add al, 0x20
imul esi, esi, 0x1000193
movsx eax, al
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x43d8b7
mov edx, dword [edi + 0x20]
mov eax, edx
and eax, esi
cmp dword [edi + 0x24], eax
pop edi
pop esi
ja 0x43d8ea
shr edx, 1
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
pop ebp
ret 4

Function at 0x43eee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp esi, dword [eax]
jne 0x43ef0b
cmp dword [ebp + 0x10], eax
jne 0x43ef0b
call fcn.0043ee70
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
pop ebp
ret 0xc
cmp esi, dword [ebp + 0x10]
je 0x43eff9
push ebx
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43ef22
sub eax, ebx
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x43ef46
movsx ebx, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, ebx
cmp ecx, eax
jne 0x43ef36
mov ecx, dword [edi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [edi + 0x24], eax
ja 0x43ef5b
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [edi + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x43ef84
cmp dword [ecx], esi
jne 0x43ef7c
mov edx, dword [edi + 4]
mov dword [ecx], edx
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0x43ef8c
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x43ef8c
cmp dword [ecx], esi
jne 0x43ef8c
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [edi + 4]
je 0x43efea
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43efbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43efde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call sub.mfc100u.dll_delete
add esp, 4
dec dword [edi + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp esi, ecx
jne 0x43ef15
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 0xc
Function at 0x44c5c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 4
lea eax, [ebp + 0xc]
push eax
push 0x7010
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
pop ebp
ret

Function at 0x44c790
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
test eax, eax
jne 0x44c7e2
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 8]
push eax
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0xffff
push edi
mov esi, eax
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x44c81b
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [ebp - 4]
push edx
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push 4
push 0xffff
push edi
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x44c854
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 4]
push ecx
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0xffff
push edi
mov esi, eax
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea esi, [eax + 0x1c]
mov eax, dword [eax + 0x34]
push 1
push esi
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x44ca9e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
cmp eax, edi
jbe 0x44caaf
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x2775
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44cac0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 2
push edi
mov edi, dword [ebp + 8]
push 4
lea ecx, [ebp + 0x14]
push ecx
mov dword [ebp - 0x1c], eax
push 0xa
jne 0x44cb63
push 0
push edi
call ebx
cmp eax, 0xffffffff
jne 0x44cb07
push 0x80004005
call fcn.00436780
push 4
lea edx, [ebp + 0x18]
push edx
push 0xb
push 0
push edi
call ebx
cmp eax, 0xffffffff
jne 0x44cb23
push 0x80004005
call fcn.00436780
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
push 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
push 0
push edi
mov dword [ebp - 0x20], edx
call ebx
cmp eax, 0xffffffff
jne 0x44cbea
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c5718
mov esp, ebp
pop ebp
ret
push 0x29
push edi
call ebx
cmp eax, 0xffffffff
jne 0x44cb77
push 0x80004005
call fcn.00436780
push 4
lea edx, [ebp + 0x18]
push edx
push 0xb
push 0x29
push edi
call ebx
cmp eax, 0xffffffff
jne 0x44cb93
push 0x80004005
call fcn.00436780
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0xc
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0x18]
push 0x29
push edi
mov dword [ebp - 8], edx
call ebx
cmp eax, 0xffffffff
jne 0x44cbea
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c5718
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x44d980
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 8], eax
cmp edx, ecx
ja 0x44d9b8
jb 0x44d9ae
cmp eax, ebx
jae 0x44d9b8
mov eax, ebx
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x18]
push 0
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
jne 0x44d9de
call fcn.00436950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x10]
test ebx, ebx
jne 0x44d9ef
mov ecx, dword [ebp - 8]
sub ecx, edx
mov dword [esi + 4], ecx
jmp 0x44d9f2
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0x14]
push 0
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push ecx
push eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [esi], eax
test eax, eax
jne 0x44da40
call fcn.00436950
mov edi, eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x44dc80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x24]
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 8]
push edx
push eax
mov dword [ebp - 8], 0x1c
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44dcaf
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0044db00
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x44dd20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_2
test ecx, ecx
je 0x44dd4e
mov eax, dword [ebp + 8]
push eax
call fcn.0044d770
jmp 0x44dd58
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x44ddbd
call fcn.00436950
test eax, eax
js 0x44ddd0
mov eax, dword [edi]
lea edx, [ebp - 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x44dd87
call fcn.00436950
test eax, eax
js 0x44ddd0
mov eax, dword [ebp - 8]
push esi
mov esi, dword [ebp - 4]
test esi, esi
jne 0x44dd93
test eax, eax
je 0x44ddc1
mov edx, dword [ebp + 0x14]
xor ecx, ecx
cmp esi, ecx
ja 0x44ddc1
jb 0x44dda2
cmp eax, edx
ja 0x44ddc1
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
push 4
push 2
push 0
push 0
push 0
push eax
call fcn.0044d980
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
jmp 0x44dd66
or eax, esi
mov eax, 0x800703ee
je 0x44ddcf
mov eax, 0x800700df
pop esi
pop edi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp word [eax], 2
setne cl
dec ecx
and ecx, 0xfffffff4
add ecx, 0x1c
push ecx
push eax
mov eax, dword [ebp + 8]
push 0
push 0x10
push 0x5dab84
push eax
call dword [sym.imp.WS2_32.dll_sendto]
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
push esi
xor esi, esi
push esi
push eax
push esi
lea ecx, [ebp - 4]
push ecx
mov dword [eax + 0x34], edx
mov dword [eax + 0x18], 3
push 1
lea edx, [eax + 0x1c]
mov dword [ebp - 4], esi
mov dword [eax + 0x28], 2
mov eax, dword [eax + 0x34]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x44df9e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
push esi
xor esi, esi
push esi
push eax
mov dword [eax + 0x34], edx
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
mov edx, dword [eax + 0x34]
push 1
lea ecx, [eax + 0x1c]
push ecx
push edx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [eax + 0x18], 4
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x44dffc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
jne 0x44e00b
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44e020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
xor edx, edx
lea ecx, [eax + 0x34]
xor esi, esi
cmp word [ecx], 2
push esi
setne dl
push eax
mov dword [eax + 0x18], 3
mov dword [ebp - 4], esi
add eax, 0x1c
dec edx
and edx, 0xfffffff4
add edx, 0x1c
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x34]
push edx
mov edx, dword [ebp + 8]
push ecx
push esi
lea ecx, [ebp - 4]
push ecx
mov dword [eax + 0xc], 2
push 1
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x44e07d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
cmp word [esi + 0x34], 2
push edi
lea edi, [esi + 0x34]
setne al
lea ebx, [esi + 0x50]
mov dword [ebp - 4], ecx
mov dword [esi + 0x18], 4
dec eax
and eax, 0xfffffff4
add eax, 0x1c
mov dword [ebx], eax
mov edx, dword [ebp + 8]
push ecx
push esi
push ebx
push edi
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 1
lea eax, [esi + 0x1c]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x44e0f3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 4], eax
jmp 0x44e0f6
mov eax, dword [ebp - 4]
cmp eax, 0x2744
je 0x44e104
cmp eax, 0x2746
jne 0x44e118
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
xor ecx, ecx
jmp 0x44e0c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
xor ecx, ecx
cmp word [eax + 0x34], 2
push esi
lea esi, [eax + 0x34]
setne cl
push edi
lea edi, [eax + 0x50]
mov dword [ebp - 4], 0
lea ebx, [eax + 0x1c]
dec ecx
and ecx, 0xfffffff4
add ecx, 0x1c
mov dword [edi], ecx
nop
mov edx, dword [ebp + 8]
xor eax, eax
push eax
push eax
push edi
push esi
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0xc]
push ecx
push 1
push ebx
push edx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x44e1f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 4], eax
jmp 0x44e1fa
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44e214
mov dword [ebx], eax
cmp dword [ebp - 4], 0x2744
je 0x44e1c0
mov eax, dword [ebp - 4]
cmp eax, 0x2746
je 0x44e1c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x2775
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e5d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
push esi
xor esi, esi
push esi
push eax
push esi
lea ecx, [ebp - 4]
push ecx
mov dword [eax + 0x34], edx
mov dword [eax + 0x18], 3
push 1
lea edx, [eax + 0x1c]
mov dword [ebp - 4], esi
mov dword [eax + 0x28], 2
mov eax, dword [eax + 0x34]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x44e61b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
jne 0x44e62a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44e6c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x65db30]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0x10]
mov dword [esi + 2], eax
mov dword [esi + 6], eax
mov dword [esi + 0xa], eax
mov dword [esi + 0xe], eax
mov dword [esi + 0x12], eax
push edi
mov dword [esi + 0x16], eax
mov dword [ebp - 0xa8], eax
mov word [esi + 0x1a], ax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
movzx eax, word [esi]
push 3
lea edx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xac], 0x100
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x88], edx
call fcn.0044e270
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xac]
push ecx
push 0
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, eax
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
cmp eax, ecx
je 0x44e789
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test edi, edi
je 0x44e7a6
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c5718
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp - 0x8c]
xor edi, edi
mov eax, ebx
test ebx, ebx
je 0x44e7e1
mov ecx, dword [eax + 4]
cmp ecx, 2
je 0x44e7cb
cmp ecx, 0x17
je 0x44e7cb
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x44e7b5
jmp 0x44e7e1
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
push edx
push eax
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov edi, 1
push ebx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
pop ebx
test edi, edi
je 0x44e80d
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c5718
mov esp, ebp
pop ebp
ret
push 0x2af9
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.005c5718
mov esp, ebp
pop ebp
ret
Function at 0x453d90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x453dbf
cmp ecx, eax
jne 0x453dbf
mov ecx, ebx
call fcn.00453860
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
cmp esi, ecx
je 0x453e7b
push edi
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453dd5
sub eax, edi
add eax, edx
mov edi, 0x811c9dc5
cmp edx, eax
je 0x453e00
lea esp, [esp]
movsx ecx, byte [edx]
imul edi, edi, 0x1000193
inc edx
xor edi, ecx
cmp edx, eax
jne 0x453df0
mov ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, edi
cmp dword [ebx + 0x24], eax
ja 0x453e15
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x453e3e
cmp dword [ecx], esi
jne 0x453e36
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
mov dword [edx + eax*8 + 4], ecx
jmp 0x453e46
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x453e46
cmp dword [ecx], esi
jne 0x453e46
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [ebx + 4]
je 0x453e6e
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov dword [edx + 4], eax
call fcn.0043d780
push esi
call sub.mfc100u.dll_delete
add esp, 4
dec dword [ebx + 8]
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jne 0x453dc8
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 0xc