joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409510
Capabilities:
Connect socket

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
push edx
je 0x409536
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
jmp 0x40954e
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
push ecx
call sub.WS2_32.dll_connect
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x40955e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x409565
mov dword [edi + 0x24], 2
pop edi
mov eax, esi
pop esi
ret 8

Function at 0x409bb0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
je 0x409bc9
push 0x2735
call sub.WS2_32.dll_WSASetLastError
xor eax, eax
pop esi
ret 0x10
mov ecx, esi
call fcn.00409840
test eax, eax
jne 0x409be4
push 0x276d
call sub.WS2_32.dll_WSASetLastError
xor eax, eax
pop esi
ret 0x10
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x409c17
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push edx
call dword [eax + 0x28]
test eax, eax
je 0x409c9e
mov dword [esi + 0x24], 1
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
push 0
push eax
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
je 0x409bc3
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00409470
mov eax, dword [esi + 0x28]
test eax, eax
je 0x409c71
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 8]
push 0x3f
mov dword [esi + 0xc], ecx
add edx, 0x402
push edx
mov ecx, esi
call fcn.00408b30
push eax
mov eax, dword [esi + 4]
push eax
call sub.WS2_32.dll_WSAAsyncSelect
test eax, eax
je 0x409c81
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004095b0
test eax, eax
je 0x409c64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004093f0
test eax, eax
je 0x409c64
mov eax, 1
mov dword [esi + 0x24], eax
pop esi
ret 0x10

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

Disassembly:
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x409f13
push eax
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
ret 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x409f2a
push 0x2736
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
ret 0xc
cmp eax, 1
je 0x409f68
cmp eax, 2
je 0x409f68
cmp eax, 3
je 0x409f68
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x409f60
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push eax
call fcn.00408b20
push eax
call sub.WS2_32.dll_send
ret 0xc
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
jmp dword [edx + 0x3c]
push 0x2749
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
ret 0xc
Function at 0x409f80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x409f93
push eax
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
ret 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x409faa
push 0x2736
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
ret 0xc
cmp eax, 1
je 0x409fe8
cmp eax, 2
je 0x409fe8
cmp eax, 3
je 0x409fe8
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x409fe0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push eax
call fcn.00408b20
push eax
call sub.WS2_32.dll_recv
ret 0xc
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
jmp dword [edx + 0x38]
push 0x2749
call sub.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
ret 0xc

Function at 0x40d4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45eac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00408920
xor ebx, ebx
mov dword [esi], 0x462be4
mov ebp, 0xf
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x38], bl
lea edi, [esi + 0x5c]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00401c80
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x8c4], ebp
mov dword [esi + 0x8c0], ebx
mov byte [esi + 0x8b0], bl
mov dword [esi + 0x8e4], ebp
mov dword [esi + 0x8e0], ebx
mov byte [esi + 0x8d0], bl
mov dword [esi + 0x900], ebp
mov dword [esi + 0x8fc], ebx
mov byte [esi + 0x8ec], bl
mov dword [esi + 0x934], ebp
mov dword [esi + 0x930], ebx
mov byte [esi + 0x920], bl
mov dword [esi + 0x958], ebp
mov dword [esi + 0x954], ebx
mov byte [esi + 0x944], bl
lea eax, [esi + 0x91c]
push 0x462398
push eax
mov byte [esp + 0x24], 6
mov dword [esi + 0x8c8], ebx
mov dword [esi + 0x904], ebx
mov dword [esi + 0x93c], ebx
call fcn.00405580
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
add esp, 8
or ebp, 0xffffffff
lea ecx, [esi + 0x88c]
push ecx
mov dword [esi + 0x938], ebp
mov dword [esi + 0x908], ebp
mov dword [esi + 0x910], ebx
mov dword [esi + 0x914], ebx
mov dword [esi + 0x918], ebp
mov dword [esi + 0x50], ebx
call edi
lea edx, [esi + 0x87c]
push edx
call edi
lea eax, [esi + 0x89c]
push eax
call edi
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0x96c]
xor edx, edx
mov dword [esi + 0x878], ebx
mov dword [esi + 0x874], ebx
mov dword [esi + 0x868], ebx
mov dword [esi + 0x86c], ebx
mov dword [esi + 0x870], ebx
mov dword [esi + 0x58], ebx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov ecx, dword [esp + 0x14]
mov dword [eax], ebx
mov eax, 1
mov dword [esi + 0x984], eax
mov dword [esi + 0x988], eax
pop edi
mov dword [esi + 0x970], ebx
mov dword [esi + 0x974], ebp
mov dword [esi + 0x978], ebp
mov dword [esi + 0x960], ebx
mov dword [esi + 0x968], ebx
mov dword [esi + 0x964], 8
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40d4b8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45eac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00408920
xor ebx, ebx
mov dword [esi], 0x462be4
mov ebp, 0xf
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x38], bl
lea edi, [esi + 0x5c]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00401c80
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x8c4], ebp
mov dword [esi + 0x8c0], ebx
mov byte [esi + 0x8b0], bl
mov dword [esi + 0x8e4], ebp
mov dword [esi + 0x8e0], ebx
mov byte [esi + 0x8d0], bl
mov dword [esi + 0x900], ebp
mov dword [esi + 0x8fc], ebx
mov byte [esi + 0x8ec], bl
mov dword [esi + 0x934], ebp
mov dword [esi + 0x930], ebx
mov byte [esi + 0x920], bl
mov dword [esi + 0x958], ebp
mov dword [esi + 0x954], ebx
mov byte [esi + 0x944], bl
lea eax, [esi + 0x91c]
push 0x462398
push eax
mov byte [esp + 0x24], 6
mov dword [esi + 0x8c8], ebx
mov dword [esi + 0x904], ebx
mov dword [esi + 0x93c], ebx
call fcn.00405580
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
add esp, 8
or ebp, 0xffffffff
lea ecx, [esi + 0x88c]
push ecx
mov dword [esi + 0x938], ebp
mov dword [esi + 0x908], ebp
mov dword [esi + 0x910], ebx
mov dword [esi + 0x914], ebx
mov dword [esi + 0x918], ebp
mov dword [esi + 0x50], ebx
call edi
lea edx, [esi + 0x87c]
push edx
call edi
lea eax, [esi + 0x89c]
push eax
call edi
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0x96c]
xor edx, edx
mov dword [esi + 0x878], ebx
mov dword [esi + 0x874], ebx
mov dword [esi + 0x868], ebx
mov dword [esi + 0x86c], ebx
mov dword [esi + 0x870], ebx
mov dword [esi + 0x58], ebx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov ecx, dword [esp + 0x14]
mov dword [eax], ebx
mov eax, 1
mov dword [esi + 0x984], eax
mov dword [esi + 0x988], eax
pop edi
mov dword [esi + 0x970], ebx
mov dword [esi + 0x974], ebp
mov dword [esi + 0x978], ebp
mov dword [esi + 0x960], ebx
mov dword [esi + 0x968], ebx
mov dword [esi + 0x964], 8
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x414db0
Capabilities:
Suspend thread

Disassembly:
sub esp, 0x28
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414e7e
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThread
push edi
call esi
push str.Thread32First
push edi
mov ebp, eax
call esi
push str.Thread32Next
push edi
mov ebx, eax
call esi
push str.CreateToolhelp32Snapshot
push edi
mov dword [esp + 0x18], eax
call esi
test ebp, ebp
je 0x414e74
test ebx, ebx
je 0x414e74
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x414e74
test eax, eax
je 0x414e74
push 0
push 4
call eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0x1c
call ebx
test eax, eax
je 0x414e74
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x28], ecx
jne 0x414e66
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x18]
je 0x414e66
push eax
push 0
push 2
call ebp
test eax, eax
je 0x414e66
push eax
call ebx
lea edx, [esp + 0x1c]
push edx
push esi
call dword [esp + 0x18]
test eax, eax
jne 0x414e44
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x28
ret

Function at 0x414e90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, dword [esp + 0x24]
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x414eaf
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x414ecf
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [ecx + eax + 0x18]
jbe 0x414f0f
add ecx, 0x10
mov edi, edi
mov edx, dword [ecx]
cmp edx, dword [ecx - 8]
mov eax, dword [ecx - 4]
mov esi, eax
jbe 0x414eff
lea esi, [edx + eax]
cmp edi, eax
jb 0x414f07
cmp edi, esi
jbe 0x414f19
add ecx, 0x28
inc ebx
cmp ebx, ebp
jb 0x414ef0
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
inc ebx
pop ebp
sub edi, eax
mov eax, dword [esp + 0x3c]
mov dword [edx], ebx
pop ebx
mov dword [eax], edi
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret
Function at 0x415540
Capabilities:
Access peb ldr_data
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x45f138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
push edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, 0x20
lea edi, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, edi
push eax
mov dword [esp + 0x60], ebx
xor ecx, ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
shr eax, 0xa
push eax
mov eax, dword [esp + 0x3c]
shr ecx, 0xa
push ecx
shr edx, 0xa
push edx
shr esi, 0xa
push esi
shr edi, 0xa
push edi
shr ebp, 0xa
push ebp
push eax
lea ecx, [esp + 0x34]
push str.Memory_Used__lu____Total_Physical_Memory__luKB__Physical_Memory_Available__luKB__Total_Virtual_Memory__luKB__Available_Virtual_Memory__luKB__Working_Set_Min_:__luKB_Max_:__luKB_._r_n
push ecx
call fcn.0040bed0
mov esi, dword [esp + 0x88]
add esp, 0x24
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x20]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004022a0
cmp dword [esp + 0x30], 0x10
jb 0x415623
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044b92d
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x416ff0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x45f2fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00408920
xor ebx, ebx
lea edi, [esi + 0x34]
mov dword [esi], 0x464e70
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x34], ebx
mov byte [edi + 4], bl
mov eax, dword [esp + 0x3c]
push ebx
push 0x7530
push ebx
push ebx
mov byte [esp + 0x44], 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x54], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov ecx, dword [ecx + 0x18]
push 0xc
call fcn.00426da0
or eax, edx
je 0x41711c
mov edx, dword [esi + 0x5c]
mov ecx, dword [edx + 0x18]
push 0xc
call fcn.00426da0
cmp eax, 2
jne 0x417095
cmp edx, ebx
jne 0x417095
mov ecx, esi
call fcn.00416ef0
jmp 0x417119
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 0x18]
push 0xc
call fcn.00426da0
cmp eax, 1
jne 0x417119
cmp edx, ebx
jne 0x417119
mov edx, dword [esi + 0x5c]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x18]
call fcn.00426c90
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 2
jae 0x4170d1
lea eax, [esp + 0x14]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x4170fc
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x4170eb
lea eax, [esp + 0x14]
push eax
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x417132
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
call sub.WS2_32.dll_inet_ntoa
cmp eax, ebx
je 0x41713f
push eax
push edi
call fcn.00405580
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401fd0
mov dword [esi + 0x50], ebx
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ecx, esi
call fcn.00409490
inc dword [esi + 0x54]
mov dword [esi + 0x60], ebx
lea ecx, [esp + 0x10]
call fcn.00401fd0
jmp 0x41711c
Function at 0x417009
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x45f2fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00408920
xor ebx, ebx
lea edi, [esi + 0x34]
mov dword [esi], 0x464e70
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x34], ebx
mov byte [edi + 4], bl
mov eax, dword [esp + 0x3c]
push ebx
push 0x7530
push ebx
push ebx
mov byte [esp + 0x44], 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x54], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov ecx, dword [ecx + 0x18]
push 0xc
call fcn.00426da0
or eax, edx
je 0x41711c
mov edx, dword [esi + 0x5c]
mov ecx, dword [edx + 0x18]
push 0xc
call fcn.00426da0
cmp eax, 2
jne 0x417095
cmp edx, ebx
jne 0x417095
mov ecx, esi
call fcn.00416ef0
jmp 0x417119
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 0x18]
push 0xc
call fcn.00426da0
cmp eax, 1
jne 0x417119
cmp edx, ebx
jne 0x417119
mov edx, dword [esi + 0x5c]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x18]
call fcn.00426c90
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 2
jae 0x4170d1
lea eax, [esp + 0x14]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x4170fc
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x4170eb
lea eax, [esp + 0x14]
push eax
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x417132
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
call sub.WS2_32.dll_inet_ntoa
cmp eax, ebx
je 0x41713f
push eax
push edi
call fcn.00405580
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401fd0
mov dword [esi + 0x50], ebx
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ecx, esi
call fcn.00409490
inc dword [esi + 0x54]
mov dword [esi + 0x60], ebx
lea ecx, [esp + 0x10]
call fcn.00401fd0
jmp 0x41711c

Function at 0x417600
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0xc]
cmp edx, 0xffffffff
jne 0x417614
mov eax, 1
pop ebx
ret 4
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
push edi
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417620
push 0
lea ecx, [esp + 0x14]
push ecx
sub eax, edi
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edx
call esi
test eax, eax
je 0x417662
mov eax, dword [ebx + 0xc]
push 0
lea edx, [esp + 0x14]
push edx
push 2
push 0x4625dc
push eax
call esi
test eax, eax
je 0x417662
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx + 0xc], 0xffffffff
xor eax, eax
pop ebx
ret 4
Function at 0x41ae30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45f508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
mov esi, dword [esp + 0x38]
mov eax, esi
mov dword [esp + 0x30], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ae75
mov ecx, dword [esp + 0x40]
push ecx
sub eax, edx
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x10]
push ecx
add eax, esi
push eax
push esi
call fcn.0041ad80
mov ecx, dword [esp + 0x20]
add esp, 0x14
pop esi
cmp ecx, ebx
mov byte [esp + 0x34], al
pop ebx
je 0x41aeb4
push ecx
call fcn.0044b92d
mov al, byte [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x41db90
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov edi, ecx
mov ebx, dword [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dbc1
pop edi
pop esi
xor al, al
pop ebx
ret 4
cmp dword [edi + 0x1c], 0x10
jb 0x41dbcc
mov edi, dword [edi + 8]
jmp 0x41dbcf
add edi, 8
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
ret 4

Function at 0x420150
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45f768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x38]
push ebx
push ebx
push 3
push ebx
push 1
push accept
push eax
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4201cb
cmp dword [esp + 0x24], 0x10
jb 0x4201b5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044b92d
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004024f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [esp + 0x38]
neg eax
sbb eax, eax
and eax, ebx
push eax
lea ecx, [esp + 0x10]
call fcn.004025e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov esi, 0x10
cmp eax, esi
mov eax, dword [esp + 0x10]
jae 0x42021c
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00420030
mov bl, al
cmp dword [esp + 0x24], esi
jb 0x420239
mov eax, dword [esp + 0x10]
push eax
call fcn.0044b92d
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4202e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x437930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460b66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, ecx
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], eax
push ebx
lea edx, [edi + 4]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x18], esi
mov byte [ecx + 4], bl
call fcn.004022a0
lea eax, [edi + 0x20]
mov edx, dword [eax]
lea ecx, [esi + 0x20]
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 [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov al, byte [edi + 0x38]
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
mov byte [esi + 0x38], al
push ebx
lea edx, [edi + 0x3c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x24], ebx
mov byte [ecx + 4], bl
call fcn.004022a0
push 0xffffffffffffffff
lea ecx, [esi + 0x58]
push ebx
lea eax, [edi + 0x58]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x24], 1
mov byte [ecx + 4], bl
call fcn.004022a0
mov ecx, dword [edi + 0x78]
mov dword [esi + 0x78], ecx
mov edx, dword [edi + 0x7c]
mov dword [esi + 0x7c], edx
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
mov ecx, dword [edi + 0x84]
mov dword [esi + 0x84], ecx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x440800
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x440360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x474b78], eax
jne 0x440823
pop ecx
ret
mov eax, 1
mov dword [0x474b84], eax
pop ecx
ret