joyce8/EMBER2024-capa huggingface dataset:
Function at 0x540fb0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x410
lea eax, [esp]
push eax
push 0x6bc0cc
push str.Path
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsEudora.exe
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004af7e0
test al, al
jne 0x540fe0
add esp, 0x410
ret 8
push ebx
push 0x6bc0cc
push str.deudora.ini
lea ecx, [esp + 0x214]
push ecx
lea eax, [esp + 0x10]
call fcn.004ad3a0
lea edx, [esp + 0x20c]
push edx
push 0
push str.UseAppData
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jne 0x541070
lea eax, [esp + 0x20c]
push eax
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0x6bc0cc
push str.DataFolder
push str.Settings
call ebx
test eax, eax
jne 0x541053
xor al, al
pop ebx
add esp, 0x410
ret 8
push 0x6bc0cc
push str.eudora.ini
lea edx, [esp + 0x214]
push edx
lea eax, [esp + 0x10]
call fcn.004ad3a0
jmp 0x5410ac
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x1a
push 0
mov word [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0xc]
push ecx
push str._sQualcommEudoraeudora.ini
mov esi, 0x104
lea edi, [esp + 0x21c]
call fcn.004af0d0
add esp, 8
pop edi
pop esi
mov eax, dword [esp + 0x41c]
lea edx, [esp + 0x20c]
push edx
push 0x104
push eax
push 0x6bc0cc
push str.ReturnAddress
push str.Settings
call ebx
mov edx, dword [esp + 0x418]
lea ecx, [esp + 0x20c]
push ecx
push 0x104
push edx
push 0x6bc0cc
push str.SMTPServer
push str.Settings
call ebx
test eax, eax
seta al
pop ebx
add esp, 0x410
ret 8

Function at 0x541460
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x6a0
push ebx
mov ebx, dword [esp + 0x6a8]
push ebp
mov ebp, dword [esp + 0x6bc]
push esi
push edi
lea eax, [esp + 0x2b0]
push eax
mov edi, 0x400
lea eax, [esp + 0x1c]
call fcn.00541330
cmp byte [0x736519], 0
mov dword [esp + 0x10], 0xffffffff
jne 0x5414b9
lea ecx, [esp + 0x120]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x736519], 1
mov edi, dword [esp + 0x6b8]
push ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push edi
lea esi, [esp + 0x24]
call fcn.005413a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5414f5
mov ecx, dword [esp + 0x6bc]
mov byte [ecx], 0
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x541531
push eax
jmp 0x54152b
mov edx, dword [esp + 0x6c0]
mov eax, dword [esp + 0x6bc]
mov esi, dword [esp + 0x10]
push ebp
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push ebx
lea edx, [esp + 0x2c8]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00554e10
cmp esi, 0xffffffff
je 0x541531
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x6a0
ret 0x14
Function at 0x541540
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x3a8
push ebx
mov ebx, dword [esp + 0x3b4]
push ebp
mov ebp, dword [esp + 0x3b4]
push esi
push edi
lea eax, [esp + 0x120]
push eax
mov edi, 0x104
lea eax, [esp + 0x1c]
call fcn.00541330
cmp byte [0x736519], 0
mov dword [esp + 0x10], 0xffffffff
jne 0x541599
lea ecx, [esp + 0x228]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x736519], 1
push 0x5a9a
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
lea esi, [esp + 0x24]
call fcn.005413a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5415e0
mov dword [ebp], eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x54164d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3a8
ret 0xc
mov ecx, dword [esp + 0x3c4]
mov esi, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
mov eax, esp
push ebx
lea ecx, [esp + 0x28]
push ecx
mov dword [eax], esi
call fcn.00541ed0
mov eax, dword [eax]
test eax, eax
je 0x54162d
cmp esi, 0xffffffff
mov dword [ebp], eax
je 0x54164d
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3a8
ret 0xc
cmp esi, 0xffffffff
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
je 0x54163e
push esi
call edi
or esi, 0xffffffff
cmp esi, 0xffffffff
mov dword [ebp], 0
je 0x54164d
push esi
call edi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x3a8
ret 0xc

Function at 0x541e10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6a4
push ebx
push esi
push edi
lea eax, [esp + 0x2b0]
mov esi, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push eax
mov edi, 0x400
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.00541330
cmp byte [0x736519], 0
mov dword [esp + 0xc], 0xffffffff
jne 0x541e6b
lea ecx, [esp + 0x120]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x736519], 1
push 0xea60
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push esi
lea esi, [esp + 0x24]
call fcn.005413a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x541e90
mov dword [ebx], eax
jmp 0x541eac
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
call fcn.00578d00
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x541ebc
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5424e0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ecx
push ebx
xor eax, eax
push esi
mov dword [edi], eax
mov word [edi + 4], ax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 2
call sub.iphlpapi.dll_GetAdaptersAddresses
mov esi, dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [esp + 8]
push ecx
mov esi, eax
push esi
push 0
push 0
push 2
call sub.iphlpapi.dll_GetAdaptersAddresses
mov eax, 6
cmp dword [esi + 0x34], eax
jbe 0x542537
mov dword [esi + 0x34], eax
xor eax, eax
cmp dword [esi + 0x34], eax
jbe 0x54254f
mov edi, edi
mov dl, byte [esi + eax + 0x2c]
mov byte [eax + edi], dl
add eax, 1
cmp eax, dword [esi + 0x34]
jb 0x542540
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
mov eax, edi
pop ebx
pop ecx
ret

Function at 0x542560
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub esp, 0x10
push ebx
push 0
xor bl, bl
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 0x80010106
je 0x542577
mov bl, 1
lea eax, [esp + 8]
push eax
push 0x6c5cd8
push 1
push 0
push 0x6c5cc8
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 8]
test eax, eax
je 0x542606
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
mov eax, dword [esp + 8]
je 0x5425da
test eax, eax
je 0x5425c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x5425d3
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop ebx
add esp, 0x10
ret
test dword [esp + 0xc], 0x440
setne byte [esp + 7]
test eax, eax
je 0x5425f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x5425fd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [esp + 7]
pop ebx
add esp, 0x10
ret
test bl, bl
je 0x542610
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x5425d3
mov eax, dword [esp + 0x10]
shr eax, 5
not eax
and eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x542730
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x108
mov eax, dword [esp + 0x10c]
push 0x104
lea ecx, [esp + 8]
push ecx
mov dword [eax], 0
mov byte [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x542767
xor al, al
add esp, 0x108
ret 4
push ebx
lea edx, [esp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
jne 0x542785
xor al, al
pop ebx
add esp, 0x108
ret 4
mov eax, dword [ebx + 0xc]
push ebp
push esi
mov esi, dword [eax]
xor ebp, ebp
test esi, esi
je 0x54282a
push edi
jmp 0x5427a0
push esi
lea edi, [esp + 0x14]
call fcn.00542640
test ebp, ebp
je 0x54281e
mov al, byte [esi]
cmp al, 0xc0
jne 0x5427ba
cmp byte [esi + 1], 0xa8
je 0x5427dc
cmp al, 0xa
je 0x5427dc
cmp al, 0xac
jne 0x5427c8
test byte [esi + 1], 0x10
jne 0x5427dc
cmp al, 0xa9
jne 0x5427d2
cmp byte [esi + 1], 0xfe
je 0x5427dc
cmp al, 0x7f
jne 0x5427fc
cmp byte [esi + 1], 0
jne 0x5427fc
test al, al
je 0x5427fc
cmp al, 0x7f
je 0x5427fc
mov eax, dword [esp + 0x10]
cmp al, 0xff
jne 0x54281e
cmp ah, al
jne 0x54281e
cmp byte [esp + 0x12], al
jne 0x54281e
cmp byte [esp + 0x13], al
jne 0x54281e
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + ebp*4 + 4]
add ebp, 1
test esi, esi
jne 0x5427a0
pop edi
xor eax, eax
pop esi
test ebp, ebp
pop ebp
setg al
pop ebx
add esp, 0x108
ret 4
mov edx, dword [esi]
mov eax, dword [esp + 0x11c]
mov dword [eax], edx
pop edi
xor eax, eax
pop esi
test ebp, ebp
pop ebp
setg al
pop ebx
add esp, 0x108
ret 4

Function at 0x542900
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x194
cmp byte [0x736519], 0
jne 0x542926
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x736519], 1
lea ecx, [esp]
push ecx
call fcn.00542730
push 2
push 4
lea edx, [esp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
jne 0x542986
push 0x104
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x542986
mov eax, 0x706a2c
mov edx, esi
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x542970
add esp, 0x194
ret
mov edx, dword [eax]
push 0x104
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [esi + 0x206], 0
add esp, 0x194
ret
Function at 0x5429b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push 0
lea esi, [esp + 0x14]
call fcn.005428a0
movzx ebx, ax
test bx, bx
jne 0x542a3b
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xf
mov ecx, esi
push ecx
mov ebx, 0x19
mov dword [esp + 0x24], 0
call sub.DNSAPI.dll_DnsQuery_W
test eax, eax
jne 0x542a3b
mov esi, dword [esp + 0xc]
test esi, esi
je 0x542a3b
mov ecx, dword [esi + 0x18]
movzx eax, word [ecx]
xor edx, edx
add ecx, 2
test ax, ax
je 0x542a2c
cmp edx, 0x103
jae 0x542a2c
mov word [esp + edx*2 + 0x10], ax
movzx eax, word [ecx]
add edx, 1
add ecx, 2
test ax, ax
jne 0x542a11
push 1
push esi
mov word [esp + edx*2 + 0x18], 0
call sub.DNSAPI.dll_DnsRecordListFree
lea ecx, [esp + 0x10]
lea esi, [esp + 0xc]
call fcn.004998c0
mov edx, dword [esp + 0xc]
push ebx
mov word [ebp], 2
mov dword [ebp + 4], edx
call dword [sym.imp.WS2_32.dll_htons]
pop esi
mov word [ebp + 2], ax
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x542a70
Capabilities:
Resolve dns

Disassembly:
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x542a86
mov dword [esi], 1
ret
push edi
mov dword [esi], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x542ac0
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x542ac0
nop
mov ecx, dword [esi]
mov edx, dword [eax + 0xc]
add ecx, ecx
add ecx, ecx
add edx, ecx
cmp dword [edx], 0
je 0x542ac0
mov edx, dword [edx]
mov edx, dword [edx]
mov dword [ecx + esi + 4], edx
add dword [esi], 1
cmp dword [esi], 4
jb 0x542aa0
ret
Function at 0x542cd0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
mov eax, dword [esi]
sub esp, 0x320
cmp eax, 0xffffffff
push ebx
mov ebx, dword [esp + 0x330]
push ebp
push edi
je 0x542cee
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x334]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x542d18
mov eax, dword [esp + 0x330]
mov dword [eax], 1
pop edi
pop ebp
pop ebx
add esp, 0x320
ret 0x10
push 0
mov ebp, 1
push ebp
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push eax
mov dword [esi], eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esi]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [esp + 0x14]
push edx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x24], 0x40000
call edi
mov edx, dword [esi]
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x1002
push 0xffff
push edx
mov dword [esp + 0x24], 0x80000
call edi
cmp dword [ebx + 4], 0xffffffff
lea edi, [ebp + 1]
je 0x542eac
mov eax, dword [esi]
push 0x10
push ebx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x542df2
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
movzx ecx, byte [esp + 0x13]
movzx edx, byte [esp + 0x12]
push ecx
push edx
movzx ecx, ah
movzx edx, al
push ecx
push edx
push str._d._d._d._d
lea edx, [esp + 0x134]
call fcn.00401000
movzx eax, word [ebx + 2]
add esp, 0x14
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov eax, dword [esp + 0x330]
mov dword [eax], 0
pop edi
pop ebp
pop ebx
add esp, 0x320
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x542eac
mov ebx, dword [sym.imp.WS2_32.dll_select]
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x130], eax
push 0
add eax, 1
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x134], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x30d40
call ebx
test eax, eax
jg 0x542e80
jl 0x542eac
mov ecx, dword [esp + 0x334]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test al, al
jne 0x542eaa
mov eax, 0xc8
cmp dword [esp + 0x33c], eax
jbe 0x542eac
sub dword [esp + 0x33c], eax
jmp 0x542e10
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x542eac
mov eax, dword [esp + 0x330]
mov dword [eax], 0
pop edi
pop ebp
pop ebx
add esp, 0x320
ret 0x10
mov edi, ebp
mov eax, dword [esi]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esp + 0x330]
mov dword [eax], edi
pop edi
pop ebp
mov dword [esi], 0xffffffff
pop ebx
add esp, 0x320
ret 0x10
Function at 0x542f60
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x114
push ebp
mov ebp, dword [esp + 0x128]
push esi
push edi
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x54303b
mov esi, dword [esp + 0x12c]
jmp 0x542f90
push 0
push edi
push ebp
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, edi
jge 0x543054
test eax, eax
jge 0x542fcd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x542fd1
mov eax, dword [esp + 0x124]
mov dword [eax], 2
pop edi
pop esi
pop ebp
add esp, 0x114
ret 0x14
add ebp, eax
sub edi, eax
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esi + 1]
push edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x30d40
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x543026
jne 0x543022
mov eax, 0xc8
cmp dword [esp + 0x134], eax
jle 0x542fb4
sub dword [esp + 0x134], eax
jmp 0x543026
test eax, eax
jl 0x542fb4
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x542f90
mov eax, dword [esp + 0x124]
mov dword [eax], 1
pop edi
pop esi
pop ebp
add esp, 0x114
ret 0x14
mov eax, dword [esp + 0x124]
pop edi
pop esi
mov dword [eax], 0
pop ebp
add esp, 0x114
ret 0x14

Function at 0x543070
Capabilities:
Get socket status

Disassembly:
mov eax, dword [edi]
mov edx, dword [eax]
sub esp, 0x110
push ebx
push esi
mov ecx, edi
call edx
test al, al
jne 0x5430f1
mov esi, dword [esp + 0x120]
mov ebx, dword [sym.imp.WS2_32.dll_select]
cmp esi, 0xffffffff
je 0x543121
lea eax, [esp + 8]
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 1]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x30d40
call ebx
test eax, eax
jg 0x543109
jl 0x543109
mov eax, 0xc8
cmp dword [esp + 0x124], eax
jbe 0x543121
sub dword [esp + 0x124], eax
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
test al, al
je 0x543091
mov eax, dword [esp + 0x11c]
mov dword [eax], 1
pop esi
pop ebx
add esp, 0x110
ret 0xc
mov eax, dword [esp + 0x11c]
mov dword [eax], 0
pop esi
pop ebx
add esp, 0x110
ret 0xc
mov eax, dword [esp + 0x11c]
pop esi
mov dword [eax], 2
pop ebx
add esp, 0x110
ret 0xc

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

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov dword [eax], 0
je 0x543194
mov ebx, dword [esp + 0x10]
push ecx
push ecx
mov eax, esp
lea edx, [esp + 0x20]
push edx
mov dword [eax], ebx
call fcn.00543070
mov eax, dword [esp + 0x18]
test eax, eax
je 0x54317b
mov dword [esi], eax
mov eax, esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x14]
push 0
push ebp
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x5431a2
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov dword [esi], 0
mov eax, esi
pop ebp
pop ebx
pop ecx
ret 0x10
pop ebp
mov dword [esi], 2
mov eax, esi
pop ebx
pop ecx
ret 0x10
Function at 0x5432a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
push edi
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x2c]
push ecx
mov edi, edx
mov dword [ebp], 0
mov dword [eax], esi
call fcn.00543070
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5432e2
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 2
push 0x30
push ebx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x543306
mov eax, dword [esp + 0x18]
mov dword [eax], 2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
xor esi, esi
test edi, edi
mov dword [ebp], edi
jbe 0x54333b
nop
mov al, byte [esi + ebx]
test al, al
je 0x54332c
movsx edx, al
push edx
push 0x6f0fd8
call fcn.0069e7e0
add esp, 8
test eax, eax
jne 0x543335
add esi, 1
cmp esi, edi
jb 0x543310
jmp 0x54333b
add esi, 1
mov dword [ebp], esi
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [eax], 0
pop ebx
pop ecx
ret 0x10
Function at 0x544ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x76c8
call fcn.006ab750
push ebx
push ebp
mov ebp, dword [esp + 0x76d8]
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push esi
push edi
mov edi, dword [esp + 0x76e4]
mov ecx, ebp
call edx
xor ebx, ebx
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x8c], eax
mov word [eax], bx
mov eax, dword [edi + 8]
push 0x104
mov esi, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x74], ecx
call fcn.00480af0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x70]
mov dword [esp + 0x48], ebx
call fcn.00579940
mov eax, dword [esp + 0x44]
invalid
Function at 0x54b430
Capabilities:
Check for time delay via gettickcount
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
push edi
push 3
push 1
push SysReAllocStringLen
push eax
mov eax, 0x3e8
mov edi, ecx
call fcn.004abf70
lea ecx, [esp + 0x28]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x54b57d
cmp dword [esp + 0x28], 0
je 0x54b57d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld qword [ebp + 0x10]
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x24]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call eax
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jge 0x54b49f
fadd qword [0x7235b8]
fdivr qword [ebp + 0x18]
push 0
lea edx, [esp + 0x24]
push edx
push 0x39
lea eax, [esp + 0x50]
push eax
push esi
fstp qword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x54b57d
mov ecx, dword [ebp + 0xc]
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x50]
call fcn.0054b330
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x54b59d
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
test al, al
jne 0x54b57d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
cmp ecx, 0x1f4
jbe 0x54b55c
push 1
lea edx, [esp + 0x34]
push edx
xor ecx, ecx
mov ebx, eax
push ecx
xor eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x54b528
mov dword [esp + 0x2c], eax
jmp 0x54b534
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
test eax, eax
mov edx, dword [edi]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
jge 0x54b548
fadd qword [0x7235b8]
fmul qword [esp + 0x38]
mov eax, dword [edx + 0x24]
sub esp, 8
mov ecx, edi
fadd qword [ebp + 0x10]
fstp qword [esp]
call eax
push 0
lea ecx, [esp + 0x24]
push ecx
push 0x39
lea edx, [esp + 0x50]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x54b4c7
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp esi, 0xffffffff
je 0x54b592
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [ebp + 8]
mov dword [edi], eax
jmp 0x54b586
Function at 0x54d5b0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push ebx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
push edi
or edi, 0xffffffff
cmp byte [0x736519], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
jne 0x54d5f6
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x736519], 1
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov word [esi + 0x48], bx
xor eax, eax
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], edi
mov dword [esi + 0x258], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call fcn.0054d530
pop edi
mov eax, esi
pop ebx
add esp, 0x190
ret