joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e960
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x202
mov word [ebp - 0x198], ax
lea ecx, [ebp - 0x194]
push ecx
movzx edx, word [ebp - 0x198]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x45e9a8
xor eax, eax
jmp 0x45e9ef
push 1
call fcn.004de0a7
add esp, 4
mov dword [ebp - 0x19c], eax
push 0
call fcn.0049c8f0
add esp, 4
mov esi, eax
add esi, dword [ebp - 0x19c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esi, eax
push esi
call fcn.004de0de
add esp, 4
mov eax, dword [ebp - 0x19c]
push eax
call fcn.004de0a2
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret

Function at 0x45ed60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x460660
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax], 0
jne 0x46068b
xor eax, eax
jmp 0x460766
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x108], 0
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x210]
call fcn.00458610
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x210]
call fcn.00458610
mov eax, dword [ebp + 0x14]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x218], edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
je 0x46071d
xor eax, eax
jmp 0x460766
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x210]
call fcn.0045e940
test eax, eax
je 0x460738
or eax, 0xffffffff
jmp 0x460766
mov dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x460780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f830b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0xc4], 1
push str.SYSTEMCurrentControlSetServicesTcpip6ParametersInterfaces_
lea ecx, [ebp - 0x128]
call fcn.00439840
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x128]
call fcn.0043ace0
lea edx, [ebp - 0x134]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x128]
call fcn.0043d050
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46082e
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0043a420
mov eax, dword [ebp - 0x12c]
jmp 0x4608a6
mov dword [ebp - 0x130], 0x100
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x140]
push edx
push 0
push str.NameServer
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x460884
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0xc8
call fcn.0043aa30
mov edx, dword [ebp + 8]
mov byte [edx + 0xc4], 0
mov dword [ebp - 0x138], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0043a420
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x14], 0
je 0x461965
mov dword [ebp - 4], 5
jmp 0x46196c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x506020
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jl 0x461997
mov dword [ebp - 8], 1
jmp 0x46199e
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x461ff0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x102
jne 0x462034
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
jmp 0x46203b
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x462300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x462324
xor eax, eax
jmp 0x4623a4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46233b
xor eax, eax
jmp 0x4623a4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x462387
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x462387
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x46235e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x462393
xor eax, eax
jmp 0x4623a4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4623a1
xor eax, eax
jmp 0x4623a4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x468580
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00443470
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 0xa
div ecx
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
call fcn.0044ff30
mov dword [ebp - 0x14], eax
jmp 0x4685ca
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jae 0x4685ea
imul ecx, dword [ebp - 8], 0x1000193
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + edx*2]
xor ecx, edx
mov dword [ebp - 8], ecx
jmp 0x4685c1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x468770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x468c70
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x1c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x4687f3
xor eax, eax
jmp 0x468856
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x468837
xor eax, eax
jmp 0x468856
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x46b2c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], eax
push 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0045df30
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_bind]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0046e610
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0045c320
mov ecx, eax
call fcn.0046b000
xor eax, eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + eax + 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + edx + 4]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc0], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x543f30]
mov dword [edx + 0xf0], eax
mov ecx, dword [0x543f34]
mov dword [edx + 0xf4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x543f30]
mov dword [edx + 0xf8], eax
mov ecx, dword [0x543f34]
mov dword [edx + 0xfc], ecx
mov edx, dword [ebp - 0x18]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x24
push eax
push 0
push 0
push 0x10
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
call fcn.0045c320
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46b3ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x46b3ff
xor eax, eax
jmp 0x46b404
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46b630
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], 0
push 0x78
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xffffffff
je 0x46b6ff
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x46b6ff
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
jmp 0x46b6aa
mov edx, dword [ebp - 0x94]
add edx, 1
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
cmp dword [ecx + edx*4], 0
je 0x46b6d0
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
jmp 0x46b69b
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x90]
jl 0x46b6ec
xor eax, eax
jmp 0x46b701
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
jmp 0x46b701
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret
Function at 0x46e610
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 1
push 1
lea eax, [ebp - 1]
push eax
push 1
push 6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x46e640
mov dword [ebp - 8], 1
jmp 0x46e647
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc0], 1
je 0x46eb9c
xor al, al
jmp 0x46ed02
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xb0], 0
jne 0x46ebb4
mov edx, dword [ebp - 4]
cmp dword [edx + 0xbc], 0
jne 0x46ebbb
xor al, al
jmp 0x46ed02
mov eax, dword [ebp - 4]
cmp dword [eax + 0xac], 0
jne 0x46ebe4
push str.CWtIocpTcp::recvData
push 0x1000
mov ecx, 0x543418
call fcn.0046bc50
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xac], eax
push 0
push 0x1000
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xac]
call fcn.0044e960
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xac]
call fcn.0046e650
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xac]
call fcn.00443a60
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xac]
call fcn.004ae3c0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], 0
push 0
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
push 1
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x46ecf3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x46ecf3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 4]
call fcn.00461fd0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax + 4]
call fcn.0045f4f0
xor al, al
jmp 0x46ed02
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], 1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x46ed10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc0], 1
je 0x46ed2c
xor al, al
jmp 0x46eec4
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xb4], 0
jne 0x46ed44
mov edx, dword [ebp - 4]
cmp dword [edx + 0xb8], 0
jne 0x46ed4b
xor al, al
jmp 0x46eec4
mov ecx, dword [ebp - 4]
add ecx, 0xc4
call fcn.0046eed0
test eax, eax
jne 0x46ed64
xor al, al
jmp 0x46eec4
mov dword [ebp - 8], 0
jmp 0x46ed76
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xc
jge 0x46ede7
mov ecx, dword [ebp - 4]
add ecx, 0xc4
call fcn.0046eed0
test eax, eax
je 0x46ede7
mov ecx, dword [ebp - 4]
add ecx, 0xc4
call fcn.0046e870
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
add ecx, 0xc4
call fcn.0046e8b0
mov ecx, dword [ebp - 0xc]
call fcn.00443a60
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*8 + 0x38], eax
mov ecx, dword [ebp - 0xc]
call fcn.004ae3c0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*8 + 0x34], eax
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0xd8
call fcn.0046ea20
jmp 0x46ed6d
mov eax, dword [ebp - 4]
mov dword [eax + 0xa8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x98], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], 0
push 0
mov eax, dword [ebp - 4]
add eax, 0x98
push eax
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x94
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x34
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x46eeb5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x46eeb5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 4]
call fcn.00461fd0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax + 4]
call fcn.0045f4f0
xor al, al
jmp 0x46eec4
mov edx, dword [ebp - 4]
mov dword [edx + 0xb4], 1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x472ce0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f94d2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CWtHttp.0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0044ddc0
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0044ddc0
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0044ddc0
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0044ddc0
mov byte [ebp - 4], 3
push 1
push 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0044dc10
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0044de20
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00472f90
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x68], 0x2710
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x70], 0x1388
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], 0x1388
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], ecx
mov eax, dword [ebp - 0x10]
add eax, 0x84
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x473bf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00443470
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 0xa
div ecx
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
call fcn.00443490
mov dword [ebp - 0x14], eax
jmp 0x473c3a
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jae 0x473c59
imul ecx, dword [ebp - 8], 0x1000193
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 4]
movsx eax, byte [edx]
xor ecx, eax
mov dword [ebp - 8], ecx
jmp 0x473c31
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4748b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x68], ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x6c], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x70], edx
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.00476bc0
test eax, eax
je 0x4749c1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.0047a9f0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x118], 0
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.00473f60
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.00473f60
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 1
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x118]
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.00476190
add eax, 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x4749b3
mov eax, 1
jmp 0x474b06
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.00474870
push 0
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.004752b0
test eax, eax
jne 0x4749ec
push str.Create_Socket_Fail_
mov ecx, dword [ebp - 0x220]
call fcn.0047a980
xor eax, eax
jmp 0x474b06
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.00443490
push eax
call fcn.00475a20
add esp, 0xc
mov edx, dword [ebp - 0x220]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x88], 0
jne 0x474a3b
push str.Get_Host_ip_Fail_
mov ecx, dword [ebp - 0x220]
call fcn.0047a980
xor eax, eax
jmp 0x474b06
mov ecx, dword [ebp - 0x220]
movzx edx, word [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x88]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0045df30
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.00474fd0
test eax, eax
jne 0x474aeb
push str.connect_server_fail_
mov ecx, dword [ebp - 0x220]
call fcn.0047a980
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.00443490
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00473de0
push 0x5060a4
mov ecx, dword [ebp - 0x220]
call fcn.00473de0
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00473db0
push str.Time_out:
mov ecx, dword [ebp - 0x220]
call fcn.00473de0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00473db0
xor eax, eax
jmp 0x474b06
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x34
call fcn.0047a9f0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret 0xc