joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001d90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
lea ebx, [ebx]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
sar dl, cl
inc eax
and dl, 1
mov byte [eax + 0x1000978f], dl
cmp eax, 0x40
jl 0x10001da0
xor eax, eax
movsx ecx, byte [eax + str.91__]
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x10009139]
mov byte [edi + eax + 0x601], dl
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x1000913a]
mov byte [edi + eax + 0x602], dl
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x1000913b]
mov byte [edi + eax + 0x603], dl
movzx edx, byte [ecx + 0x1000978f]
mov byte [edi + eax + 0x604], dl
add eax, 4
cmp eax, 0x38
jl 0x10001dc0
push 0x38
lea ebx, [edi + 0x601]
push ebx
push 0x10009790
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp + 8], eax
nop
mov ecx, dword [ebp - 4]
movsx esi, byte [ecx + 0x100091a0]
push esi
push 0x10009790
push ebx
call sub.MSVCR100.dll_memcpy
mov edx, 0x1c
sub edx, esi
push edx
lea eax, [esi + 0x10009790]
push eax
push 0x10009790
call sub.MSVCR100.dll_memcpy
push esi
mov ecx, 0x100097ac
sub ecx, esi
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
movsx esi, byte [edx + 0x100091a0]
push esi
push 0x100097ac
push ebx
call sub.MSVCR100.dll_memcpy
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [esi + 0x100097ac]
push ecx
push 0x100097ac
call sub.MSVCR100.dll_memcpy
push esi
mov edx, 0x100097c8
sub edx, esi
push ebx
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0x48
xor eax, eax
movsx ecx, byte [eax + 0x10009170]
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x10009171]
mov byte [edi + eax + 0x601], dl
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x10009172]
mov byte [edi + eax + 0x602], dl
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x10009173]
mov byte [edi + eax + 0x603], dl
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x10009174]
mov byte [edi + eax + 0x604], dl
movzx edx, byte [ecx + 0x1000978f]
movsx ecx, byte [eax + 0x10009175]
mov byte [edi + eax + 0x605], dl
movzx edx, byte [ecx + 0x1000978f]
mov byte [edi + eax + 0x606], dl
add eax, 6
cmp eax, 0x30
jl 0x10001ec1
mov esi, dword [ebp + 8]
push 0x30
push ebx
push esi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
inc eax
add esi, 0x30
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp + 8], esi
cmp eax, 0x10
jl 0x10001e40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001f80
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
jmp 0x10001f90
movsx ecx, byte [eax + 0x100090e8]
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x100090e9]
mov byte [esi + eax + 0x601], dl
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x100090ea]
mov byte [esi + eax + 0x602], dl
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x100090eb]
mov byte [esi + eax + 0x603], dl
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x100090ec]
mov byte [esi + eax + 0x604], dl
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x100090ed]
mov byte [esi + eax + 0x605], dl
movzx edx, byte [ecx + edi - 1]
mov byte [esi + eax + 0x606], dl
add eax, 6
cmp eax, 0x30
jl 0x10001f90
lea eax, [esi + 0x601]
push 0x30
push eax
push 0x10009810
mov dword [ebp - 4], eax
call sub.MSVCR100.dll_memcpy
mov ecx, ebx
add esp, 0xc
xor eax, eax
sub ecx, 0x10009810
lea ecx, [ecx]
movzx edx, byte [eax + ecx + 0x10009810]
xor byte [eax + 0x10009810], dl
movzx edx, byte [ebx + eax + 1]
xor byte [eax + 0x10009811], dl
movzx edx, byte [ebx + eax + 2]
xor byte [eax + 0x10009812], dl
movzx edx, byte [ebx + eax + 3]
xor byte [eax + 0x10009813], dl
movzx edx, byte [ebx + eax + 4]
xor byte [eax + 0x10009814], dl
movzx edx, byte [ebx + eax + 5]
xor byte [eax + 0x10009815], dl
add eax, 6
cmp eax, 0x30
jl 0x10002030
mov ecx, edi
call fcn.10002100
xor eax, eax
jmp 0x10002090
movsx ecx, byte [eax + 0x10009118]
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x10009119]
mov byte [esi + eax + 0x601], dl
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x1000911a]
mov byte [esi + eax + 0x602], dl
movzx edx, byte [ecx + edi - 1]
movsx ecx, byte [eax + 0x1000911b]
mov byte [esi + eax + 0x603], dl
movzx edx, byte [ecx + edi - 1]
mov byte [esi + eax + 0x604], dl
add eax, 4
cmp eax, 0x20
jl 0x10002090
mov eax, dword [ebp - 4]
push 0x20
push eax
push edi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x100025f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10009034]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
jne 0x1000261a
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005c32
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x808], 0
je 0x1000264d
mov eax, dword [esi + 0x80c]
test eax, eax
je 0x10002639
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1000264d
mov dword [esi + 0x80c], 0
mov dword [esi + 0x808], 0
mov eax, dword [ebp + 8]
push edi
mov dword [esi + 0x804], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [esi + 0x810], eax
test eax, eax
je 0x10002607
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edi, dword [edx]
movzx ecx, word [esi + 0x804]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x12], ax
mov dword [ebp - 0x10], edi
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [esi + 0x80c], eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x10002607
mov ecx, dword [esi + 0x80c]
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1006
push 0xffff
push ecx
mov dword [ebp - 0x18], 0x2710
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [esi + 0x808], 1
mov eax, 1
pop edi
call fcn.10005c32
mov esp, ebp
pop ebp
ret 4
Function at 0x100039c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x724
mov eax, dword [0x10009034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
mov dword [ebp - 0x724], ecx
mov dword [ebp - 0x720], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003a16
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005c32
mov esp, ebp
pop ebp
ret 4
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x71c], edi
test edi, edi
jne 0x10003a4b
test esi, esi
je 0x10003a37
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005c32
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 1]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov ebx, eax
lea eax, [edi + 1]
push eax
push 0
push ebx
call sub.MSVCR100.dll_memset
add esp, 0x10
mov edx, edi
push esi
mov ecx, ebx
lea edi, [ebp - 0x718]
call fcn.10001990
mov edi, eax
test esi, esi
je 0x10003a84
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x10003a9d
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005c32
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x724]
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ebp - 0x720]
mov dword [eax], ebx
mov dword [edx], ecx
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.10005c32
mov esp, ebp
pop ebp
ret 4

Function at 0x10005c32
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009034]
jne 0x10005c3c
repz ret
jmp fcn.100060f0
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4027a0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
jae 0x4027c2
lea eax, [ebp + 8]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push eax
lea eax, [ebp - 0x10c]
push str._s.mnth
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x402802
lea eax, [ebp + 8]
lea ecx, [ebp - 0x220]
push ecx
push eax
lea edx, [ebp - 0x10c]
push str._s_s
push edx
call edi
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
call ebx
lea ecx, [ebp - 0x24c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4027f6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 0x10
jb 0x402850
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004088e0
mov esp, ebp
pop ebp
ret

Function at 0x402d40
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x220]
mov edi, ecx
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
mov esi, edx
mov dword [ebp - 0x220], 0x200
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0xc]
push 5
push eax
mov dword [ebp - 0x21c], 0x544547
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x402e5e
push 0
push 0
push 3
push 0
push 0
push 0x50
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x402e57
mov ecx, 0x73fba167
lea eax, [ebp - 0x218]
call fcn.004078a0
push 0
push 0x8404f700
push 0
push 0
push eax
push esi
lea edx, [ebp - 0xc]
push edx
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x210], al
test esi, esi
je 0x402e57
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea eax, [ebp - 0x21c]
push eax
push 0x64
push 0x410078
push esi
mov dword [ebp - 0x21c], 0x64
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x21c]
push esi
mov byte [ecx + 0x410078], 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004088e0
mov esp, ebp
pop ebp
ret
Function at 0x406ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409558
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x406e32
cmp byte [ebx + 0x49], 0
je 0x406e32
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x406e26
lea esi, [ebp - 0x2c]
call fcn.004064e0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x406d13
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x406d4b
dec eax
je 0x406d4f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x406e2d
call fcn.00404e50
xor al, al
jmp 0x406e34
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x406d5f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x406d8d
cmp edi, 0x10
jae 0x406d6e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x406e1e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x406e2a
test esi, esi
jne 0x406d07
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x406e4f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x406e4f
cmp edi, esi
jae 0x406e07
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.004070c0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x406d07
mov ecx, eax
cmp edi, 0x10
jae 0x406de3
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x406dfe
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x406d01
test esi, esi
jne 0x406dd9
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x406e16
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x406d01
lea esi, [ebp - 0x2c]
call fcn.00404e50
xor al, al
jmp 0x406e34
lea esi, [ebp - 0x2c]
call fcn.00404e50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004088e0
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x407690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x25
xor ecx, ecx
jmp 0x4076a0
mov al, byte [edi + ecx + 0x4a0c275b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x4076bd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x4076a0
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x408760
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4097f8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x4087c3
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.00408520
mov ecx, esi
call fcn.004085d0
mov ecx, edi
mov ebx, esi
call fcn.004086b0
cmp dword [ebp + 0x1c], 0x10
jb 0x4087f2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004088e0
mov esp, ebp
pop ebp
ret

Function at 0x4088e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x4088ea
repz ret
jmp fcn.00408cfd
Function at 0x40a580
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49677b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048b28d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a602
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00489167
mov eax, dword [eax]
push 0x4b8cb8
push eax
call fcn.0047b0a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048b518
test bl, bl
je 0x40a602
push 0x4b8cb8
lea ecx, [esp + 0xc]
call fcn.0048b8a8
push 0x4b8cc4
lea ecx, [esp + 0xc]
call fcn.0048b8a8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a63e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048b518
jmp 0x40a709
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a6c2
lea edx, [esp + 0x7c]
push 0x4b8cc0
push edx
call fcn.0047b0a4
add esp, 8
test eax, eax
je 0x40a6c2
lea eax, [esp + 0x7c]
push 0x4b8cbc
push eax
call fcn.0047b0a4
add esp, 8
test eax, eax
je 0x40a6c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a652
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048b518
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40af00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40af62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40af70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4967fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c8308]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b0a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40afd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048b518
xor eax, eax
jmp 0x40b11f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048b655
push esi
lea ecx, [esp + 0xc]
call fcn.0048b8e4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b0fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040af00
test eax, eax
jne 0x40b0fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040af00
test eax, eax
jne 0x40b0fd
lea eax, [esp + 0x14]
push 0x4b8cd4
push eax
call fcn.0047c140
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b0dc
lea ecx, [esp + 0x14]
push 0x4b8cd0
push ecx
call fcn.0047c0c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b0dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b0df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048b605
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40afee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048b518
xor eax, eax
jmp 0x40b11f
mov byte [esi], 0
push 0x4b8ccc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048b518
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4