joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445b20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push edi
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
call fcn.0040d520
mov dword [ebp - 8], 0xd
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x14], 4
je 0x445b9d
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc14]
call dword [eax + 0x14]
xor eax, eax
jmp 0x445d74
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0xc40]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 4
je 0x445bf2
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc14]
call dword [eax + 0x14]
xor eax, eax
jmp 0x445d74
mov dword [ebp - 0x18], 0
jmp 0x445c04
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 4]
jge 0x445d54
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov al, byte [0x4987c4]
mov byte [ebp - 0x128], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0xc40]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 4
je 0x445c86
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc14]
call dword [eax + 0x14]
xor eax, eax
jmp 0x445d74
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e840
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 4
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0xc40]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 4
je 0x445ce0
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax + 0xc14]
call dword [edx + 0x14]
xor eax, eax
jmp 0x445d74
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041e840
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0x101
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0xc40]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 0x101
je 0x445d40
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc14]
call dword [eax + 0x14]
xor eax, eax
jmp 0x445d74
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0042cf40
jmp 0x445bfb
mov ecx, dword [ebp - 0x12c]
add ecx, 0xc14
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0xc14]
call dword [eax + 0x14]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
je 0x4476b4
xor eax, eax
jmp 0x4476b9
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a360
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x342c
call fcn.0046b3f0
push edi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x3024], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push 0x498eec
mov eax, dword [ebp - 0x3024]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 8], eax
mov cl, byte [0x498eff]
mov byte [ebp - 0x2018], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x2017]
rep stosd dword es:[edi], eax
mov dl, byte [0x498f00]
mov byte [ebp - 0x1010], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x100f]
rep stosd dword es:[edi], eax
mov al, byte [0x498f01]
mov byte [ebp - 0x3020], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x301f]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.cc__s__s_1.0
lea eax, [ebp - 0x1010]
push eax
call fcn.0046b198
add esp, 0x10
lea ecx, [ebp - 0x1010]
push ecx
call fcn.0046b430
add esp, 4
push eax
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x3020]
push eax
call fcn.00413ba0
add esp, 0xc
lea ecx, [ebp - 0x3020]
push ecx
push str._reg_index.php_id_s
lea edx, [ebp - 0x2018]
push edx
call fcn.0046b198
add esp, 0xc
push 0
push 0x28f500
push 0
push 0
push 0
lea eax, [ebp - 0x2018]
push eax
push 0x498f2c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x44a577
mov al, byte [0x498f30]
mov byte [ebp - 0x3428], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x3028], 0
lea ecx, [ebp - 0x3028]
push ecx
push 0x400
lea edx, [ebp - 0x3428]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44a577
lea ecx, [ebp - 0x3428]
push ecx
lea edx, [ebp - 0x3020]
push edx
call fcn.0046b260
add esp, 8
lea eax, [ebp - 0x3020]
push eax
call fcn.0046b430
add esp, 4
mov byte [ebp + eax - 0x3022], 0
mov byte [ebp - 0x1010], 0
lea ecx, [ebp - 0x3020]
push ecx
lea edx, [ebp - 0x1010]
push edx
call fcn.00413d10
add esp, 8
mov dword [ebp - 0x342c], eax
mov eax, dword [ebp - 0x342c]
mov byte [ebp + eax - 0x1010], 0
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046b260
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x3024]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x44a59a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x3024]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44acf0
Capabilities:
Hash data with md5

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
push 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
je 0x458a61
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x38]
cmp dword [ecx + edx*4], 0
je 0x458a56
cmp dword [ebp - 0x38], 0xa
jge 0x458a56
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x38]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax]
mov dword [ebp + ecx*4 - 0x34], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x458a18
mov edx, dword [ebp - 0x38]
mov dword [ebp + edx*4 - 0x34], 0
cmp dword [ebp + 8], 0
je 0x458ae4
mov ecx, dword [ebp - 0x50]
call fcn.00458bb0
mov dword [0x4d7674], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x458ad1
cmp dword [ebp - 0x3c], 0xa
jge 0x458ad1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + ecx*4 - 0x34]
cmp edx, dword [0x4bee18]
jne 0x458aac
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x458a82
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + edx*4 - 0x34]
mov dword [ecx*4 + 0x4bee1c], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
jmp 0x458a82
mov eax, dword [ebp - 0x40]
mov dword [eax*4 + 0x4bee1c], 0
jmp 0x458b6d
mov dword [0x4d7674], 1
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
cmp dword [ebp + ecx*4 - 0x34], 0
je 0x458b6d
cmp dword [ebp - 0x44], 0xa
jge 0x458b6d
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x458b1e
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0xa
jge 0x458b4f
mov eax, dword [ebp - 0x4c]
cmp dword [eax*4 + 0x4bee1c], 0
je 0x458b4f
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx*4 + 0x4bee1c]
cmp eax, dword [ebp + edx*4 - 0x34]
jne 0x458b4d
mov dword [ebp - 0x48], 1
jmp 0x458b4f
jmp 0x458b15
cmp dword [ebp - 0x48], 0
jne 0x458b62
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + ecx*4 - 0x34]
mov dword [0x4bee18], edx
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
jmp 0x458af5
cmp dword [ebp - 4], 1
jne 0x458b8f
mov ecx, dword [ebp - 0x34]
mov dword [0x4bee18], ecx
mov edx, dword [ebp - 0x34]
mov dword [0x4bee1c], edx
mov dword [0x4bee20], 0
cmp dword [ebp - 4], 0
jne 0x458ba9
mov dword [0x4bee18], 0
mov dword [0x4bee1c], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x458bb0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f512
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x50], ecx
push 0x4bee50
lea ecx, [ebp - 0x10]
call fcn.00407a50
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xffffffff
je 0x458d0c
lea eax, [ebp - 0x14]
push eax
push 0x49bca8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040e300
lea ecx, [ebp - 0x20]
call fcn.0040ee50
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x458c28
lea ecx, [ebp - 0x20]
call fcn.00407ac0
jmp 0x458d0c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x10
mov word [ebp - 0x40], 2
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3e], ax
lea ecx, [ebp - 0x20]
call fcn.0040ee50
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x458c9a
lea ecx, [ebp - 0x20]
call fcn.0040ee50
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x458c8d
lea ecx, [ebp - 0x20]
call fcn.00407ac0
jmp 0x458be9
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
push 0x10
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x458cc5
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x20]
call fcn.00407ac0
jmp 0x458be9
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebp - 0x2c]
mov dword [0x4bee18], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x20]
call fcn.00407ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407ac0
mov eax, dword [ebp - 0x48]
jmp 0x458d2f
mov dword [0x4bee18], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407ac0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x458fc0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x194], 0
lea eax, [ebp - 0x190]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 0x19c]
cmp dword [ecx + 0x468c], 0
je 0x459004
mov eax, 1
jmp 0x459129
mov edx, dword [ebp - 0x19c]
mov dword [edx + 0x468c], 1
mov dword [ebp - 0x194], 0
jmp 0x45902f
mov eax, dword [ebp - 0x194]
add eax, 1
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0x5df
jge 0x459057
mov ecx, dword [ebp - 0x194]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x19c]
mov dword [edx + ecx + 0x4694], 0
jmp 0x459020
mov eax, dword [ebp - 0x19c]
add eax, 0x177c
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 0x19c]
mov dword [ecx + 0x4690], 0xa
mov dword [ebp - 0x194], 0
jmp 0x459094
mov edx, dword [ebp - 0x194]
add edx, 1
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [eax + 0x4690]
jge 0x459124
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x19c]
mov dword [eax + edx*8 + 0x1794], ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x194]
mov dword [eax + edx*8 + 0x1798], ecx
lea edx, [ebp - 0x198]
push edx
push 0
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x19c]
lea edx, [ecx + eax*8 + 0x1794]
push edx
push 0x458fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x194]
mov edx, dword [ebp - 0x19c]
mov dword [edx + ecx*4], eax
jmp 0x459085
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x459130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x468c], 0
je 0x4592ce
mov ecx, dword [ebp - 0x10]
add ecx, 0x177c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
jmp 0x45916b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x4690]
jge 0x4591e8
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x468c], 0
je 0x4591e8
mov eax, dword [ebp - 4]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x4694], 0
jne 0x4591e3
push 0x1c
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0x4694]
push edx
call fcn.0046b4c0
add esp, 0xc
mov eax, dword [ebp - 4]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 0x4694], 2
mov edx, dword [ebp - 0x10]
add edx, 0x177c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
jmp 0x4592d1
jmp 0x459162
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x4690]
jne 0x4592b2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x4690], 0x5df
jge 0x4592b2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4690]
add ecx, 0xa
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4690], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4690], 0x5df
jle 0x45923e
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4690], 0x5df
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x45924f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x4690]
jge 0x4592b2
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*8 + 0x1794], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*8 + 0x1798], edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx*8 + 0x1794]
push eax
push 0x458fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
jmp 0x459246
mov eax, dword [ebp - 0x10]
add eax, 0x177c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x459139
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x45faf0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45fb60
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp + 8]
call fcn.00407b80
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.0040ee50
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0046b260
add esp, 8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp + 8]
call fcn.00407ac0
mov esp, ebp
pop ebp
ret
Function at 0x462838
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x46288b
call fcn.004887fb
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x46288b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x462881
xor eax, eax
jmp 0x4629a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x4628bb
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x4628bb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4629a1
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x4628e8
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0046353f
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x4629a1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x462931
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x462931
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x46292b
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0046353f
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x462991
and dword [ebp + 0xc], 0
jmp 0x462991
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x462991
push 0xc
call fcn.0048196e
mov esi, eax
test esi, esi
pop ecx
je 0x462973
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x462975
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x46298c
push dword [ebp - 8]
call fcn.0047c527
jmp 0x462991
call fcn.0047c4fe
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x4628f6
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46e44e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0046b3f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x46e4e9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4e815c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x46e4e9
cmp eax, 1
je 0x46e50a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x46e4e9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x46e4b6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x46e4e5
xor eax, eax
inc eax
jmp 0x46e529
cmp edi, eax
jae 0x46e4ed
xor eax, eax
jmp 0x46e529
cmp eax, esi
jae 0x46e4f4
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4e815c]
jmp 0x46e50d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46e596
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4a0b88
call fcn.0046e7cc
mov edi, 0x94
mov eax, edi
call fcn.0046b3f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4e815c], ecx
mov eax, dword [esi + 4]
mov dword [0x4e8168], eax
mov edx, dword [esi + 8]
mov dword [0x4e816c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4e8160], esi
cmp ecx, 2
je 0x46e5f6
or esi, 0x8000
mov dword [0x4e8160], esi
shl eax, 8
add eax, edx
mov dword [0x4e8164], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x46e631
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46e631
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x46e649
cmp eax, 0x20b
je 0x46e636
mov dword [ebp - 0x1c], esi
jmp 0x46e65d
cmp dword [ecx + 0x84], 0xe
jbe 0x46e631
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x46e657
cmp dword [ecx + 0x74], 0xe
jbe 0x46e631
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00474421
pop ecx
test eax, eax
jne 0x46e671
push 0x1c
call fcn.0046e572
pop ecx
call fcn.004705bd
test eax, eax
jne 0x46e682
push 0x10
call fcn.0046e572
pop ecx
call fcn.00475f5b
mov dword [ebp - 4], esi
call fcn.00475045
test eax, eax
jge 0x46e69b
push 0x1b
call fcn.0046e54d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4e9a50], eax
call fcn.00475e39
mov dword [0x4e814c], eax
call fcn.00475d97
test eax, eax
jge 0x46e6c1
push 8
call fcn.0046e54d
pop ecx
call fcn.00475b64
test eax, eax
jge 0x46e6d2
push 9
call fcn.0046e54d
pop ecx
push 1
call fcn.0046edfd
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x46e6e8
push eax
call fcn.0046e54d
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00475b07
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x46e709
movzx eax, word [ebp - 0x40]
jmp 0x46e70c
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0047a852
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x46e72a
push edi
call fcn.0046ef2a
call fcn.0046ef4c
jmp 0x46e75c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0046e807
ret