joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426562
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x60c8ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0x60c8f8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x451
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x426604
mov edx, dword [ebp + 8]
push edx
push 0
push 0x450
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x426604
cmp dword [ebp - 4], 0
je 0x426604
push 1
push 0
push 0x1f0fff
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
push ecx
push 0xffffffffffffffff
call dword [ebp - 4]
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4267bc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push 0x60c938
call fcn.0042ed9c
add esp, 4
mov dword [ebp - 0x204], eax
push 0x104
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edx, dword [ebp - 0x204]
push edx
call fcn.0045af53
add esp, 4
lea eax, [ebp - 0x100]
push eax
push 0
call fcn.00426a34
add esp, 4
push eax
call fcn.00426775
add esp, 8
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.004621b0
add esp, 8
test eax, eax
jne 0x42683b
mov al, 1
jmp 0x42690a
push 0x60c960
call fcn.0042ed9c
add esp, 4
mov dword [ebp - 0x204], eax
push 0x104
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edx, dword [ebp - 0x204]
push edx
call fcn.0045af53
add esp, 4
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx ecx, byte [ebp + eax - 0x201]
cmp ecx, 0x5c
jne 0x4268a5
lea edx, [ebp - 0x200]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp + eax - 0x201], 0
lea eax, [ebp - 0x200]
push eax
call fcn.00426c99
add esp, 4
push 0x60c97c
call fcn.0042ed9c
add esp, 4
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
push ecx
lea edx, [ebp - 0x200]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x204]
push eax
call fcn.0045af53
add esp, 4
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.004621b0
add esp, 8
test eax, eax
jne 0x426908
mov al, 1
jmp 0x42690a
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x426969
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push edi
mov dword [ebp - 0x204], 0x60c998
mov byte [ebp - 0x200], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x1ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x100], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
call fcn.0042ed9c
add esp, 4
mov dword [ebp - 0x204], eax
mov edx, dword [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [ebp - 0x204]
push eax
call fcn.0045af53
add esp, 4
lea ecx, [ebp - 0x100]
push ecx
push 0
call fcn.00426a34
add esp, 4
push eax
call fcn.00426775
add esp, 8
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x426a29
movsx ecx, byte [ebp - 0x100]
test ecx, ecx
jne 0x426a2d
mov al, 1
jmp 0x426a2f
xor al, al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x426c37
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret

Function at 0x42741a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.005861ce
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x427494
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x427483
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
jmp 0x427494
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x427463
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.005861f7
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x428439
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8552
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
jmp 0x428466
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x42848b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx*4 + 0x60c880]
push edx
call fcn.0042ed9c
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx*4 + 0x60c880], eax
jmp 0x42845d
mov dword [ebp - 0x10], 0
push 0x500
call fcn.00403980
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x4284bb
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.0042cf04
mov dword [ebp - 0x20], eax
jmp 0x4284c2
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [0x6243a4], eax
cmp dword [ebp - 0x10], 0
jne 0x428541
mov ecx, dword [0x6243a4]
mov edx, dword [ecx]
mov ecx, dword [0x6243a4]
call dword [edx + 0xb8]
cmp eax, 1
je 0x428541
mov eax, dword [0x6243a4]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [0x623200]
call fcn.00403a80
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
call dword [eax + 0x68]
call fcn.004267bc
and eax, 0xff
test eax, eax
jne 0x428539
push 0
call fcn.00426a34
add esp, 4
push eax
call fcn.00426562
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0
push 0
push 0x42840a
call fcn.0058774a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x428dcc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a85de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x114]
add ecx, 4
call fcn.00401260
push eax
push 0x100
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp + 0x14]
call fcn.00401260
push eax
lea ecx, [ebp + 0x10]
call fcn.00401260
push eax
lea ecx, [ebp + 0xc]
call fcn.00401260
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00585c2f
mov edx, dword [ebp - 0x110]
or edx, 1
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00585bc1
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00585bc1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00585bc1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x428e92
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a85fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
call fcn.0041b7f1
mov bl, al
and ebx, 0xff
call fcn.0041b77d
and eax, 0xff
or ebx, eax
mov byte [0x623eac], bl
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00401260
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401260
push eax
lea ecx, [ebp + 8]
call fcn.00401260
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00585bc1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00585bc1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x428f31
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8622
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00401240
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
push 0x60d09c
lea ecx, [ebp - 0x110]
push ecx
call fcn.0057e262
add esp, 0xc
mov ecx, dword [ebp - 0x118]
add ecx, 4
call fcn.00401260
push eax
push 0x100
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x110]
call fcn.00401260
push eax
lea ecx, [ebp + 0xc]
call fcn.00401260
push eax
lea ecx, [ebp + 8]
call fcn.00401260
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10c]
push eax
call fcn.0045a7ee
add esp, 4
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00585bc1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00585bc1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00585bc1
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429d70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8723
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov dword [ebp - 0x1a8], ecx
push 0xa
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x64
call fcn.0042bb80
mov dword [ebp - 4], 0
push 0xa
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x80
call fcn.0042bb80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xb0
call fcn.0041b590
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1a8]
mov dword [eax], 0x5be458
mov ecx, 1
test ecx, ecx
je 0x429df8
mov dword [ebp - 0x1ac], 0
jmp 0x429e12
mov edx, dword [ebp - 0x1a8]
push edx
push 0x60d9c8
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x19c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebp - 0x1a8]
add edx, 0x28
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0xa4], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0xa0], eax
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 0x1a8]
mov byte [eax + 0xac], 0
mov ecx, dword [ebp - 0x1a8]
mov byte [ecx + 0x5d], 0
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x9c], 0
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0xa8], 0
mov ecx, dword [ebp - 0x1a8]
mov byte [ecx + 0x5c], 0
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0xd0], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x50], 0x2710
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0xbc], 0x2bf20
mov byte [ebp - 0x1a4], 0x63
mov byte [ebp - 0x1a3], 0x62
mov byte [ebp - 0x1a2], 0x31
mov byte [ebp - 0x1a1], 0x73
mov byte [ebp - 0x1a0], 0x74
push 5
lea eax, [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x5e
push ecx
call fcn.00459fb0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a644
Capabilities:
Create tcp socket
Create thread
Create udp socket
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x42a669
xor al, al
jmp 0x42a77e
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xa8], 0
jne 0x42a69f
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42a77e
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax + 2]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0xc0], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc0]
mov dword [eax + 0xc4], edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc8], 0xa
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xcc], 0x4b
mov ecx, dword [ebp - 0x3c]
add ecx, 0xb0
call fcn.0041b5f2
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x58], 0
mov dword [ebp - 0x34], 0
jmp 0x42a721
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 8]
jae 0x42a77c
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x42a782
push 0
push 0
call fcn.0045b8a2
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42a761
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x42a77e
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x58]
add edx, 1
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a718
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x42a9f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a878b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x28], ecx
push 0x18
call fcn.005861ce
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x42aa37
push 1
mov ecx, dword [ebp - 0x24]
call fcn.0042bfa0
mov dword [ebp - 0x2c], eax
jmp 0x42aa3e
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0x8000
push 0
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, 0xb8
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42aaa2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x42aaa2
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0042b3b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b075
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a87bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov al, byte [0x6243f4]
and eax, 1
test eax, eax
jne 0x42b0c9
mov cl, byte [0x6243f4]
or cl, 1
mov byte [0x6243f4], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6243f0], eax
mov dword [ebp - 0x1c], 0x8000
cmp dword [ebp + 0xc], 0
je 0x42b15e
mov edx, dword [0x624400]
add edx, dword [ebp + 0xc]
mov dword [0x624400], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x6243f0]
cmp eax, 0x3e8
jb 0x42b124
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6243f0], eax
mov eax, dword [0x624400]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x48
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x624400], 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0043ee06
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0043ed3a
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42b15e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20c8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x42b23d
push 0x18
call fcn.005861ce
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x42b190
push 2
mov ecx, dword [ebp - 0x24]
call fcn.0042bfa0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x42b197
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0043edf0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x20c4], ecx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0043ed3a
mov dword [ebp - 0x40], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x20c0], eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
add eax, 0x20c0
push eax
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x20c0
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x42b22c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x42b22c
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0042b3b4
jmp 0x42b234
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b3b4
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a87db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x20], ecx
push 0x60db04
lea ecx, [ebp - 0x1c]
call fcn.00585c2f
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041a9e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00585bc1
mov edx, 1
test edx, edx
je 0x42b417
mov dword [ebp - 0x24], 0
jmp 0x42b427
push 0x60db18
call fcn.0041ab00
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0xc], 0
jne 0x42b455
mov word [ebp - 0x10], 1
mov word [ebp - 0xe], 0
push 4
lea eax, [ebp - 0x10]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x64
call fcn.0042bd70
test eax, eax
je 0x42b4d6
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
je 0x42b48b
mov edx, dword [ebp + 8]
push edx
push 2
push 0x4d0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
call fcn.00403b60
jmp 0x42b4a1
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x4cd
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 8]
call fcn.00403b60
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
je 0x42b4ca
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp + 8]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0042b601
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041aa50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x42fda9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push 0x21
push 0x60f248
push str.OA0yA___B__d
mov ecx, dword [ebp - 0xc]
call fcn.005838cd
cmp eax, 2
jne 0x42fdcd
jmp 0x42fe1f
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x490], 1
push 0x60f260
mov ecx, dword [ebp - 0xc]
call fcn.00592cf3
mov ecx, dword [ebp - 0xc]
add ecx, 0x494
call fcn.004415b0
push 0
call fcn.00403a80
mov ecx, dword [eax + 0xd4]
call fcn.00414f49
call fcn.00403a80
mov ecx, dword [eax + 0xd4]
call fcn.004198f1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x431039
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43105a
xor eax, eax
jmp 0x43113c
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43107d
xor eax, eax
jmp 0x43113c
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
jmp 0x4310c6
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x14], edx
jae 0x43113a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 8]
jbe 0x4310f6
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
jmp 0x4310ff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x3c]
jb 0x431135
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x38]
ja 0x431135
mov eax, dword [ebp - 0x14]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, 1
jmp 0x43113c
jmp 0x4310b4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43eb20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0040fe20
mov eax, dword [ebp - 4]
mov dword [eax], 0x5bfb90
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], 0
push 4
push 0x2000
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret