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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5823c0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5e6e00]
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 0x40e9dd
mov eax, 1
jmp 0x40eb67
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 0x40e9ff
mov eax, 2
jmp 0x40eb67
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 0x40ea4f
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00452cf0
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00452cfb
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x54], eax
jmp 0x40ea0d
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x24], edx
jmp 0x40ea69
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x40eb4b
mov edx, dword [ebp - 0x24]
add edx, 0x1ac
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x40eb46
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.0040e840
add esp, 4
test eax, eax
je 0x40eb15
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x28
call fcn.00452cc1
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 0x40eb3a
mov dword [ebp - 4], 0xffffffff
jmp 0x40ea7f
jmp 0x40ea61
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 0x40ef50
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 [0x5e6e00]
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.0055a880
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.005571f4
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 0x5ba22c
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 0x40f060
mov edx, dword [ebp - 0x930]
add edx, 1
mov dword [ebp - 0x930], edx
mov eax, dword [ebp - 0x930]
cmp eax, dword [ebp - 0x910]
jae 0x40f08c
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 0x40f08a
jmp 0x40f08c
jmp 0x40f051
mov edx, dword [ebp - 0x930]
cmp edx, dword [ebp - 0x910]
jne 0x40f0ca
cmp dword [ebp - 0x910], 0x40
jae 0x40f0ca
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 0x40f045
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 0x40f105
or eax, 0xffffffff
jmp 0x40f1b1
cmp dword [ebp - 0x91c], 0xffffffff
jne 0x40f116
or eax, 0xffffffff
jmp 0x40f1b1
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 0x40f1af
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 0x40f14e
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.0055413f
mov esp, ebp
pop ebp
ret
Function at 0x40f920
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582390
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x140
mov eax, dword [0x5e6e00]
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.0055a880
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 0x40f9be
or eax, 0xffffffff
jmp 0x40fb47
mov dword [ebp - 0x14c], 0
jmp 0x40f9d9
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [ebp - 0x138]
jae 0x40fa05
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 0x40fa03
jmp 0x40fa05
jmp 0x40f9ca
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x138]
jne 0x40fa43
cmp dword [ebp - 0x138], 0x40
jae 0x40fa43
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 0x40f9be
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 0x40fa82
cmp dword [ebp - 0x144], 0xffffffff
jne 0x40fa82
or eax, 0xffffffff
jmp 0x40fb47
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x150]
cmp dword [eax + 8], 0
je 0x40fb24
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 0x40fb24
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.0040de00
add esp, 8
test eax, eax
je 0x40fb24
mov ecx, dword [ebp - 0x150]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040de00
add esp, 8
test eax, eax
je 0x40fb24
mov eax, dword [ebp - 0x144]
jmp 0x40fb47
jmp 0x40fb3d
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.0055413f
mov esp, ebp
pop ebp
ret 8
Function at 0x41e810
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 [0x5ef3b9]
test eax, eax
jne 0x41e888
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0041e890
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0041e9b0
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 0x41e886
mov edx, 0x1f4
sub edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41e82e
jmp 0x41e82e
xor eax, eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
call fcn.004022b0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.00401510
mov dword [ebp - 0xc], eax
movzx eax, byte [0x5e8331]
test eax, eax
je 0x41efa6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
jmp 0x41ef26
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0xc]
jge 0x41ef70
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x5414]
test ecx, ecx
jne 0x41ef40
jmp 0x41ef52
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 8]
call fcn.00402b80
test eax, eax
jne 0x41ef52
jmp 0x41ef1d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
call fcn.00402b10
test eax, eax
je 0x41ef6e
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00402a10
jmp 0x41ef1d
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 0x41ef92
jmp 0x41eefc
mov eax, 0xbb8
sub eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41eefc
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x424210
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 0x424287
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00423790
test eax, eax
setne cl
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
je 0x424252
mov al, 1
jmp 0x424289
push str.Reset
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00423a00
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x424285
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00423e60
mov al, 1
jmp 0x424289
jmp 0x424222
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x4322f0
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 0x4327e0
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 0x43b430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c08
call fcn.0055cbd0
mov eax, dword [0x5e6e00]
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.0055a880
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2408]
push ecx
call fcn.0043b3a0
add esp, 8
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0055a880
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.0055a880
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.0055a880
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.0055a880
add esp, 0xc
lea ecx, [ebp - 0x2008]
push ecx
push 0x5b636c
push 0x800
lea edx, [ebp - 0x1808]
push edx
call fcn.0043bc70
add esp, 0x10
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.0055a880
add esp, 0xc
lea edx, [ebp - 0x1808]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x5b638c
lea ecx, [ebp - 0x2c08]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b37fa
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.0055413f
mov esp, ebp
pop ebp
ret
Function at 0x43b5f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3408
call fcn.0055cbd0
mov eax, dword [0x5e6e00]
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.0055a880
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2c08]
push ecx
call fcn.0043b3a0
add esp, 8
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0055a880
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.0055a880
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.0055a880
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.0055a880
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.0055a880
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.0043bc70
add esp, 0x14
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.0055a880
add esp, 0xc
lea ecx, [ebp - 0x1808]
push ecx
push 0x400
lea edx, [ebp - 0x808]
push edx
push 0x5b63a8
lea eax, [ebp - 0x3408]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b37fb
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.0055413f
mov esp, ebp
pop ebp
ret
Function at 0x43baf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.0055cbd0
mov eax, dword [0x5e6e00]
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.0055a880
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.0055a880
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.0055a880
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.0055a880
add esp, 0xc
lea edx, [ebp - 0x1808]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x5b63ec
lea ecx, [ebp - 0x2008]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b37ff
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.0055413f
mov esp, ebp
pop ebp
ret
Function at 0x4425d0
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 0x444b90
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5e6e00]
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.00444b10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.00444b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401b80
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x58]
call fcn.00401950
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.00401950
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 0x5b52a4
lea ecx, [ebp - 0x10]
push ecx
call fcn.004014e0
add esp, 0x18
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403090
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401a10
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.0055413f
mov esp, ebp
pop ebp
ret 4