joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9c1
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5832d0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5e8e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40e85d
mov eax, 1
jmp 0x40e9e7
push str.GetAdaptersInfo
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40e87f
mov eax, 2
jmp 0x40e9e7
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x54]
push eax
call dword [ebp - 0x1c]
cmp eax, 0x6f
jne 0x40e8cf
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00453c50
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00453c5b
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x54], eax
jmp 0x40e88d
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x24], edx
jmp 0x40e8e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x40e9cb
mov edx, dword [ebp - 0x24]
add edx, 0x1ac
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x40e9c6
mov eax, dword [ebp - 0x28]
add eax, 4
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_ntohl]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00445110
add esp, 4
test eax, eax
je 0x40e995
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x28
call fcn.00453c21
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov edx, dword [ebp - 0x30]
add edx, 4
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x28]
add eax, 4
mov ecx, dword [ebp - 0x30]
add ecx, 4
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x58]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x58], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
jmp 0x40e9ba
mov dword [ebp - 4], 0xffffffff
jmp 0x40e8ff
jmp 0x40e8e1
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x18], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40edd0
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x948
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x934], ecx
mov dword [ebp - 0x91c], 0
mov byte [ebp - 0x808], 0
push 0x7ff
push 0
lea eax, [ebp - 0x807]
push eax
call fcn.0055b7e0
add esp, 0xc
mov ecx, dword [ebp - 0x934]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x938], edx
mov eax, dword [ebp - 0x934]
mov ecx, dword [eax + 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x934]
mov dword [edx + 0x4c], ecx
mov eax, dword [ebp - 0x934]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x938]
push ecx
push str.SEARCH__HDS_1.0_r_nCSeq:_d_r_nClient_ID:_s_r_nAccept_Type:text_HDP_r_nContent_Length:0_r_n_r_n
push 0x800
lea edx, [ebp - 0x808]
push edx
call fcn.00558154
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x92c], eax
mov dword [ebp - 0x928], eax
mov dword [ebp - 0x924], eax
mov dword [ebp - 0x920], eax
mov ecx, 2
mov word [ebp - 0x92c], cx
push 0x1f42
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x92a], ax
push 0x5bb36c
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x928], eax
mov dword [ebp - 0x910], 0
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x914], 0x14
mov dword [ebp - 0x930], 0
jmp 0x40eee0
mov edx, dword [ebp - 0x930]
add edx, 1
mov dword [ebp - 0x930], edx
mov eax, dword [ebp - 0x930]
cmp eax, dword [ebp - 0x910]
jae 0x40ef0c
mov ecx, dword [ebp - 0x934]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x930]
mov ecx, dword [ebp + eax*4 - 0x90c]
cmp ecx, dword [edx]
jne 0x40ef0a
jmp 0x40ef0c
jmp 0x40eed1
mov edx, dword [ebp - 0x930]
cmp edx, dword [ebp - 0x910]
jne 0x40ef4a
cmp dword [ebp - 0x910], 0x40
jae 0x40ef4a
mov eax, dword [ebp - 0x934]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x930]
mov eax, dword [ecx]
mov dword [ebp + edx*4 - 0x90c], eax
mov ecx, dword [ebp - 0x910]
add ecx, 1
mov dword [ebp - 0x910], ecx
xor edx, edx
jne 0x40eec5
lea eax, [ebp - 0x918]
push eax
push 0
lea ecx, [ebp - 0x910]
push ecx
push 0
push 0
call dword [sym.imp.WSOCK32.dll_select]
mov dword [ebp - 0x91c], eax
cmp dword [ebp - 0x91c], 0
jne 0x40ef85
or eax, 0xffffffff
jmp 0x40f031
cmp dword [ebp - 0x91c], 0xffffffff
jne 0x40ef96
or eax, 0xffffffff
jmp 0x40f031
lea edx, [ebp - 0x910]
push edx
mov eax, dword [ebp - 0x934]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
je 0x40f02f
lea eax, [ebp - 0x808]
mov dword [ebp - 0x93c], eax
mov ecx, dword [ebp - 0x93c]
add ecx, 1
mov dword [ebp - 0x940], ecx
mov edx, dword [ebp - 0x93c]
mov al, byte [edx]
mov byte [ebp - 0x941], al
add dword [ebp - 0x93c], 1
cmp byte [ebp - 0x941], 0
jne 0x40efce
mov ecx, dword [ebp - 0x93c]
sub ecx, dword [ebp - 0x940]
mov dword [ebp - 0x948], ecx
push 0x10
lea edx, [ebp - 0x92c]
push edx
push 0
mov eax, dword [ebp - 0x948]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 0x934]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WSOCK32.dll_sendto]
mov dword [ebp - 0x91c], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret
Function at 0x40f7a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5832a0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x140
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0055b7e0
add esp, 0xc
mov dword [ebp - 0x13c], 0x10
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x150]
cmp dword [edx + 8], 0
jne 0x40f83e
or eax, 0xffffffff
jmp 0x40f9c7
mov dword [ebp - 0x14c], 0
jmp 0x40f859
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [ebp - 0x138]
jae 0x40f885
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + ecx*4 - 0x134]
cmp edx, dword [eax]
jne 0x40f883
jmp 0x40f885
jmp 0x40f84a
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x138]
jne 0x40f8c3
cmp dword [ebp - 0x138], 0x40
jae 0x40f8c3
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x14c]
mov ecx, dword [edx]
mov dword [ebp + eax*4 - 0x134], ecx
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
xor eax, eax
jne 0x40f83e
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
lea edx, [ebp - 0x138]
push edx
push 0
call dword [sym.imp.WSOCK32.dll_select]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x40f902
cmp dword [ebp - 0x144], 0xffffffff
jne 0x40f902
or eax, 0xffffffff
jmp 0x40f9c7
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x150]
cmp dword [eax + 8], 0
je 0x40f9a4
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
je 0x40f9a4
mov dword [ebp - 0x144], 1
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov dword [ebp - 0x144], eax
push str.HDS_1.1_200_OK
mov eax, dword [ebp + 8]
push eax
call fcn.0040ddd0
add esp, 8
test eax, eax
je 0x40f9a4
mov ecx, dword [ebp - 0x150]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040ddd0
add esp, 8
test eax, eax
je 0x40f9a4
mov eax, dword [ebp - 0x144]
jmp 0x40f9c7
jmp 0x40f9bd
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret 8
Function at 0x41e8b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
movzx eax, byte [0x5f13b9]
test eax, eax
jne 0x41e928
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0041e930
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0041ea50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x1f4
jae 0x41e926
mov edx, 0x1f4
sub edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41e8ce
jmp 0x41e8ce
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41ef80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
call fcn.004022a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.00401500
mov dword [ebp - 0xc], eax
movzx eax, byte [0x5ea331]
test eax, eax
je 0x41f046
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
jmp 0x41efc6
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0xc]
jge 0x41f010
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x5414]
test ecx, ecx
jne 0x41efe0
jmp 0x41eff2
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 8]
call fcn.00402b70
test eax, eax
jne 0x41eff2
jmp 0x41efbd
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
call fcn.00402b00
test eax, eax
je 0x41f00e
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00402a00
jmp 0x41efbd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0xbb8
jbe 0x41f032
jmp 0x41ef9c
mov eax, 0xbb8
sub eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ef9c
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4243a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x3a98
ja 0x424417
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00423920
test eax, eax
setne cl
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
je 0x4243e2
mov al, 1
jmp 0x424419
push str.Reset
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00423b90
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x424415
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00423ff0
mov al, 1
jmp 0x424419
jmp 0x4243b2
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x4326f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret

Function at 0x432b70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x43b840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c08
call fcn.0055db30
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x2408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x2407]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2408]
push ecx
call fcn.0043b7b0
add esp, 8
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2008]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x2408]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp - 0x1008], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1006]
push ecx
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1008]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebp - 0x2c08], cx
push 0x7fe
push 0
lea edx, [ebp - 0x2c06]
push edx
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x2c08]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [ebp - 0x1808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x1806]
push eax
call fcn.0055b7e0
add esp, 0xc
lea ecx, [ebp - 0x2008]
push ecx
push 0x5b7364
push 0x800
lea edx, [ebp - 0x1808]
push edx
call fcn.0043c080
add esp, 0x10
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.0055b7e0
add esp, 0xc
lea edx, [ebp - 0x1808]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x5b7384
lea ecx, [ebp - 0x2c08]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b47af
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x808]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret
Function at 0x43ba00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3408
call fcn.0055db30
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x2c08], 0
push 0x3ff
push 0
lea eax, [ebp - 0x2c07]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2c08]
push ecx
call fcn.0043b7b0
add esp, 8
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2008]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x2c08]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp - 0x2808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x2806]
push ecx
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x2808]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebp - 0x1008], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1006]
push edx
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x1008]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [ebp - 0x3408], dx
push 0x7fe
push 0
lea eax, [ebp - 0x3406]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x3408]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp - 0x1808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1806]
push ecx
call fcn.0055b7e0
add esp, 0xc
lea edx, [ebp - 0x2808]
push edx
lea eax, [ebp - 0x2008]
push eax
push str._sconf_s
push 0x800
lea ecx, [ebp - 0x1808]
push ecx
call fcn.0043c080
add esp, 0x14
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.0055b7e0
add esp, 0xc
lea ecx, [ebp - 0x1808]
push ecx
push 0x400
lea edx, [ebp - 0x808]
push edx
push 0x5b73a0
lea eax, [ebp - 0x3408]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b47f1
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x808]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret
Function at 0x43bf00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.0055db30
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x1808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1806]
push ecx
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1808]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebp - 0x1008], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1006]
push edx
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x1008]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2008]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.0055b7e0
add esp, 0xc
lea edx, [ebp - 0x1808]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x5b73e4
lea ecx, [ebp - 0x2008]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b47f2
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x808]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret

Function at 0x442990
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x444f50
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583de8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.00444ed0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.00444f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401b70
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x58]
call fcn.00401940
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [ebp - 0x44], eax
push 0
lea ecx, [ebp - 0x18]
call fcn.00401940
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [ebp - 0x40], eax
xor edx, edx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], 0
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [ebp - 0x12]
mov dword [ebp - 0x38], ecx
movzx edx, byte [ebp - 0x13]
mov dword [ebp - 0x34], edx
movzx eax, byte [ebp - 0x14]
mov dword [ebp - 0x30], eax
movzx ecx, byte [ebp - 0x59]
mov dword [ebp - 0x2c], ecx
movzx edx, byte [ebp - 0x5a]
mov dword [ebp - 0x28], edx
movzx eax, byte [ebp - 0x5b]
mov dword [ebp - 0x24], eax
movzx ecx, byte [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x3c]
and edx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
push 0x5b629c
lea ecx, [ebp - 0x10]
push ecx
call fcn.004014d0
add esp, 0x18
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403080
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401a00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret 4