joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4763d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4763fe
cmp dword [ebx + 0x64], 0
jne 0x4763fe
cmp dword [ebx + 0x6c], 0
jne 0x4763fe
mov edi, esi
jmp 0x476485
cmp edi, 0xffffffff
jne 0x476406
dec edi
jmp 0x476485
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x476485
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004757d0
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x476453
mov cx, word [esp]
sub cx, si
jmp 0x476455
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47643c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47647b
mov cx, word [esp]
sub cx, si
jmp 0x47647d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x476464
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4764e2
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00476170
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4764cd
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4764e2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4763de
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47c738
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x498234
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47c75a
shr eax, 1
xor eax, 0xedb88320
jmp 0x47c75c
shr eax, 1
dec edx
jne 0x47c748
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x47c741
mov byte [0x498634], 1
pop esi
pop ebx
ret

Function at 0x47c778
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x498634], 0
jne 0x47c78f
call fcn.0047c738
mov eax, edi
dec eax
test eax, eax
jl 0x47c7b8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x498234]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47c799
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47ed54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x47ed85
dec al
je 0x47edc1
dec al
je 0x47ee05
dec al
je 0x47ee70
jmp 0x47eefa
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47eefa
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47ed95
jmp 0x47eefa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47eefa
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47edd1
jmp 0x47eefa
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47eefa
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x47ee33
xor ebp, ebp
jmp 0x47ee44
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x47ee4d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47ee15
jmp 0x47eefa
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47eefa
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x47eec8
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0047c7c0
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47ee84
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4886dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488792
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.00408da4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040c834
mov eax, dword [ebx]
call fcn.004887a0
test al, al
jne 0x488774
lea edx, [ebp - 0x114]
mov eax, dword [0x495b7c]
mov eax, dword [eax]
call fcn.004560bc
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00408a54
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040c834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488799
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.004041a8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404644
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4887b9
test al, 0x10
jne 0x4887bd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x488d0c
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404634
mov eax, dword [ebp - 8]
call fcn.00404634
xor eax, eax
push ebp
push 0x488da1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45d508]
call fcn.0045d7dc
mov ebx, eax
mov eax, ebx
call fcn.0045d7b4
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x40]
mov edx, 0x488db8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x48]
add eax, 0x24
mov edx, 0x488e5c
call fcn.004041d8
push esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0045da40
mov eax, ebx
call fcn.00403390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488da8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041a8
ret

Function at 0x489379
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
cmp dword [ebx], 0xffffffff
je 0x4893f0
push 2
push dword [ebx]
call sub.wsock32.dll_shutdown
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
push 0x8004667e
push dword [ebx]
call sub.wsock32.dll_ioctlsocket
mov byte [ebp - 5], 0
push 1
lea ecx, [ebp - 5]
push ecx
push 0xffffff7f
push 0xffff
push dword [ebx]
call sub.wsock32.dll_setsockopt
mov word [ebp - 0xc], 1
mov word [ebp - 0xa], 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x80
push 0xffff
push dword [ebx]
call sub.wsock32.dll_setsockopt
push dword [ebx]
call sub.wsock32.dll_closesocket
mov dword [ebx], 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4893f5
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x48940a
xor eax, eax
pop ecx
pop ebp
ret
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.wsock32.dll_inet_ntoa
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
test esi, esi
je 0x489450
mov ebx, esi
test ebx, ebx
jle 0x489450
push 0
push ebx
mov eax, esi
sub eax, ebx
add eax, dword [ebp + 0xc]
push eax
push edi
call sub.wsock32.dll_recv
test eax, eax
jle 0x489450
sub ebx, eax
test ebx, ebx
jg 0x489435
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x489455
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x10c]
jmp 0x489470
test edx, edx
jg 0x48947b
mov eax, 1
jmp 0x4894cf
xor ecx, ecx
mov dword [esi], ecx
xor eax, eax
jmp 0x48948a
cmp ebx, dword [esi + eax*4 + 4]
je 0x48948e
inc eax
cmp eax, dword [esi]
jb 0x489483
cmp eax, dword [esi]
jne 0x48949d
cmp dword [esi], 0x40
jae 0x48949d
mov dword [esi + eax*4 + 4], ebx
inc dword [esi]
mov dword [ebp - 8], edx
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push esi
lea eax, [ebx + 1]
push eax
call sub.wsock32.dll_select
test eax, eax
jle 0x4894cf
push esi
push ebx
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
je 0x4894cd
mov eax, 1
jmp 0x4894cf
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x489511
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
movzx eax, di
push eax
push esi
push 0x4954d4
call fcn.00489374
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.00489128
add esp, 0xc
mov word [ebp - 0x14], 2
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
push esi
call sub.wsock32.dll_inet_addr
cmp eax, 0xffffffff
je 0x48956b
push esi
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
jmp 0x48958c
push esi
call fcn.004893f5
pop ecx
test eax, eax
je 0x489588
push esi
call fcn.004893f5
pop ecx
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
jmp 0x48958c
xor eax, eax
jmp 0x4895eb
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4895a2
xor eax, eax
jmp 0x4895eb
mov dword [ebp - 4], 0x4e20
push 4
lea edx, [ebp - 4]
push edx
push 0x1006
push 0xffff
push dword [ebx]
call sub.wsock32.dll_setsockopt
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push dword [ebx]
call sub.wsock32.dll_connect
inc eax
jne 0x4895e6
push 0x4954f1
call fcn.00489374
pop ecx
mov eax, ebx
call fcn.00489379
xor eax, eax
jmp 0x4895eb
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489bc1
Capabilities:
Initialize winsock library
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0x49573f
push 0
push 0
call fcn.004064d8
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
mov dword [0x4934a8], eax
lea eax, [ebp - 0x190]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x489c92
test si, si
jbe 0x489c12
mov word [0x4933a0], si
cmp dword [ebp + 0x14], 0
jbe 0x489c21
mov edx, dword [ebp + 0x14]
mov dword [0x4934a4], edx
test edi, edi
jbe 0x489c4a
push pe_nt_image_headers32
push 0
push 0x4933a2
call fcn.00489128
add esp, 0xc
push edi
push dword [ebp + 0xc]
push 0x4933a2
call fcn.00489114
add esp, 0xc
push 0x4933a2
call sub.kernel32.dll_OutputDebugStringA
call fcn.004898e5
cmp eax, 0x3e8
jle 0x489c7d
add eax, 0xfffffc18
cmp eax, 0x14
jle 0x489c6f
mov eax, 0x14
imul edx, eax, 0xea60
push edx
call sub.kernel32.dll_Sleep_1
jmp 0x489c87
push 0xea60
call sub.kernel32.dll_Sleep_1
call sub.wsock32.dll_WSACleanup
push ebx
call sub.kernel32.dll_CloseHandle
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor esi, esi
test ebx, ebx
jle 0x489cc6
push 0
push ebx
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push edi
call sub.wsock32.dll_send
test eax, eax
jle 0x489cc8
add esi, eax
sub ebx, eax
test ebx, ebx
jg 0x489cab
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x489ccd
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x489cd6
mov eax, dword [ebp - 4]
add esp, 0xfffffef8
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x210c]
lea esi, [ebp - 4]
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [esi]
push 0x49574b
call fcn.00489374
add esp, 0xc
push esi
mov esi, 0x4934d4
lea edi, [ebp - 0x1008]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
mov esi, 0x4944d4
lea edi, [ebp - 0x2008]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
mov dword [ebx], eax
xor eax, eax
jmp 0x489d4d
mov edx, dword [ebx + eax*4 + 4]
cmp edx, dword [esi]
je 0x489d51
inc eax
cmp eax, dword [ebx]
jb 0x489d44
cmp eax, dword [ebx]
jne 0x489d62
cmp dword [ebx], 0x40
jae 0x489d62
mov ecx, dword [esi]
mov dword [ebx + eax*4 + 4], ecx
inc dword [ebx]
xor eax, eax
jmp 0x489d70
mov edx, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 8]
je 0x489d74
inc eax
cmp eax, dword [ebx]
jb 0x489d66
cmp eax, dword [ebx]
jne 0x489d86
cmp dword [ebx], 0x40
jae 0x489d86
mov ecx, dword [ebp - 8]
mov dword [ebx + eax*4 + 4], ecx
inc dword [ebx]
push 0
push 0
push 0
push ebx
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x489e55
push ebx
push dword [esi]
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
je 0x489df4
push 0x1000
push 0
lea eax, [ebp - 0x1008]
push eax
call fcn.00489128
add esp, 0xc
push 0
push 0x1000
lea edx, [ebp - 0x1008]
push edx
push dword [esi]
call sub.wsock32.dll_recv
mov edi, eax
test edi, edi
jle 0x489e55
push edi
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 8]
call fcn.00489c99
add esp, 0xc
test eax, eax
jle 0x489e55
cmp edi, eax
jne 0x489e55
push ebx
push dword [ebp - 8]
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
je 0x489d3c
push 0x1000
push 0
lea edx, [ebp - 0x1008]
push edx
call fcn.00489128
add esp, 0xc
push 0
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
push dword [ebp - 8]
call sub.wsock32.dll_recv
mov edi, eax
test edi, edi
jle 0x489e55
push edi
lea eax, [ebp - 0x1008]
push eax
push dword [esi]
call fcn.00489c99
add esp, 0xc
test eax, eax
jle 0x489e55
cmp edi, eax
je 0x489d3c
mov eax, esi
call fcn.00489379
lea eax, [ebp - 8]
call fcn.00489379
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a22c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48a35d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x48a374
call fcn.004041d8
lea edx, [ebp - 4]
mov eax, dword [0x495b7c]
mov eax, dword [eax]
call fcn.004560bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404644
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48a347
mov eax, dword [ebp - 8]
call fcn.00402764
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48a340
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48a327
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x48a37c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x48a327
push ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 8]
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
and esi, 0xffff
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0xc]
mov eax, edi
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
and edi, 0xffff
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x48a388
call fcn.00409294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a347
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00402784
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a364
lea eax, [ebp - 4]
call fcn.00404184
ret
Function at 0x4085b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ad3b
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.0046fb25
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408632
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046da37
mov eax, dword [eax]
push 0x49dc70
push eax
call fcn.00460744
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046fdb0
test bl, bl
je 0x408632
push 0x49dc70
lea ecx, [esp + 0xc]
call fcn.00470140
push 0x49dc7c
lea ecx, [esp + 0xc]
call fcn.00470140
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 0x40866e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046fdb0
jmp 0x408739
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 0x4086f2
lea edx, [esp + 0x7c]
push 0x49dc78
push edx
call fcn.00460744
add esp, 8
test eax, eax
je 0x4086f2
lea eax, [esp + 0x7c]
push 0x49dc74
push eax
call fcn.00460744
add esp, 8
test eax, eax
je 0x4086f2
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 0x408682
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.0046fdb0
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 0x408f40
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 0x408fa2
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 0x408fb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47adbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a7534]
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 0x4090e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409016
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046fdb0
xor eax, eax
jmp 0x40915f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046feed
push esi
lea ecx, [esp + 0xc]
call fcn.0047017c
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 0x40913d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00408f40
test eax, eax
jne 0x40913d
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 accept
mov ecx, edi
call fcn.00408f40
test eax, eax
jne 0x40913d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004617c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40911c
lea ecx, [esp + 0x14]
push 0x49dc88
push ecx
call fcn.00461740
mov esi, eax
add esp, 8
test esi, esi
jne 0x40911c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40911f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046fe9d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40902e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046fdb0
xor eax, eax
jmp 0x40915f
mov byte [esi], 0
push 0x49dc84
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.0046fdb0
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