joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461eb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x461f1e
mov eax, ebx
call fcn.004642f8
test al, al
jne 0x461f1e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404cbc
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x461f0b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x461f2b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c20
jmp 0x461f2b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c20
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46341c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46348a
mov eax, esi
call fcn.0044c0a0
test al, al
je 0x46348a
mov eax, dword [ebx + 0x84]
call fcn.0044bda4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46348a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46347e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044bda4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00443c80
jmp 0x46348a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463258
pop esi
pop ebx
ret
Function at 0x465d5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x465d8b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x465e0a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00464610
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x465dd8
mov cx, word [esp]
sub cx, si
jmp 0x465dda
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x465dc1
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x465e00
mov cx, word [esp]
sub cx, si
jmp 0x465e02
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x465de9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x465e67
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00465a30
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x465e52
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x465e67
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x465d66
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46c2a0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4a8cd8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x46c2c2
shr eax, 1
xor eax, 0xedb88320
jmp 0x46c2c4
shr eax, 1
dec edx
jne 0x46c2b0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x46c2a9
mov byte [0x4a90d8], 1
pop esi
pop ebx
ret

Function at 0x46c2e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4a90d8], 0
jne 0x46c2fa
call fcn.0046c2a0
mov eax, edi
dec eax
test eax, eax
jl 0x46c322
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a8cd8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x46c304
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x46ed14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x46edae.0
jmp dword [ecx*4 + 0x46ed47]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x46ed79
sub dl, 8
je 0x46ed88
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46e9c0
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46ea18
jmp case.0x46edae.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x46edae.0
movzx ecx, byte [ecx + 0x46edb5]
jmp dword [ecx*4 + 0x46edc6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46eac4
jmp case.0x46edae.0
cmp dl, 3
jne 0x46edf3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46eb18
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46ead4
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46eb5c
jmp case.0x46edae.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x46ee1e
sub dl, 8
je 0x46ee2a
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46eb88
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46ebf4
jmp case.0x46edae.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x46ee49
sub dl, 8
je 0x46ee55
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46ecb0
jmp case.0x46edae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46ecd8
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x46eef9
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046decc
test eax, eax
je 0x46eef9
mov eax, ebx
call fcn.0046ef04
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x46ee92
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46ef04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x46ef37
dec al
je 0x46ef72
dec al
je 0x46efb7
dec al
je 0x46f026
jmp 0x46f0b5
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46f0b5
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x46ef47
jmp 0x46f0b5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46f0b5
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46ef82
jmp 0x46f0b5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46f0b5
mov esi, 1
movzx eax, 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]
jae 0x46efe7
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x46effb
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
add eax, dword [ebp - 8]
sar eax, 1
jns 0x46f005
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46efc7
jmp 0x46f0b5
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46f0b5
mov esi, 1
movzx eax, 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 0x46f083
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
movzx edx, 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 [ebp - 0xc], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [ebp - 4], edx
movzx ecx, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 8]
pop edx
call fcn.0046c32c
add al, byte [ebp - 4]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46f03c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476ab0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, eax
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.0040505c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x476b1f
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.0040afdc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47b55c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403580
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret
Function at 0x485934
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48593c
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x485ae2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, 0x485af8
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x38]
call fcn.00404c20
lea ecx, [ebp - 0xc]
mov edx, 0x485b0c
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00404c20
lea ecx, [ebp - 0x10]
mov edx, 0x485b1c
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x18]
call fcn.00404c20
lea ecx, [ebp - 0x14]
mov edx, 0x485b2c
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404c20
lea ecx, [ebp - 0x18]
mov edx, 0x485b3c
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1c]
call fcn.00404c20
lea ecx, [ebp - 0x1c]
mov edx, 0x485b4c
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x1c]
mov eax, 0x485b5c
call fcn.00408f38
mov byte [ebx + 4], al
lea ecx, [ebp - 0x20]
mov edx, 0x485b6c
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0xc]
call fcn.00404c20
lea ecx, [ebp - 0x24]
mov edx, 0x485b80
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x10]
call fcn.00404c20
lea ecx, [ebp - 0x28]
mov edx, 0x485b90
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x24]
call fcn.00404c20
lea ecx, [ebp - 0x2c]
mov edx, 0x485ba4
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x30]
call fcn.00404c20
lea ecx, [ebp - 0x30]
mov edx, 0x485bb4
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x28]
call fcn.00404c20
lea ecx, [ebp - 4]
mov edx, 0x485bc4
mov eax, esi
call fcn.004765d0
cmp dword [ebp - 4], 0
je 0x485aa0
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x485bd0
call fcn.00404ee4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040948c
mov dword [ebx + 0x20], eax
lea ecx, [ebp - 0x34]
mov edx, 0x485bdc
mov eax, esi
call fcn.004765d0
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x2c]
call fcn.00404c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485ae9
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00404bf0
ret
Function at 0x48eb7c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48ec8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0048eaa0
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
mov eax, dword [esi + 0x18]
push eax
call fcn.00476088
test eax, eax
je 0x48ec4e
mov eax, ebx
call fcn.0048e434
mov eax, ebx
call fcn.0048f918
mov edx, dword [ebp - 4]
call fcn.00477dc8
mov eax, ebx
call fcn.0048f918
cmp dword [eax + 0x24], 0x190
jl 0x48ec69
mov eax, ebx
call fcn.0048f918
mov eax, dword [eax + 0x24]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4a3620]
call fcn.00406cec
mov eax, dword [ebp - 0x14]
push eax
mov eax, ebx
call fcn.0048f918
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
pop eax
call fcn.0040a374
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x47792c]
call fcn.00477e4c
call fcn.00404524
jmp 0x48ec69
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x4a356c]
call fcn.00406cec
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, ebx
call fcn.0048e36c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec93
lea eax, [ebp - 0x20]
call fcn.00404bcc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404bf0
ret

Function at 0x4968a8
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov esi, eax
mov eax, dword [esi + 0x38]
call fcn.0041ae88
test eax, eax
setg bl
test bl, bl
je 0x496959
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [esi + 0x5c]
call fcn.0040505c
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x496959
mov eax, esi
call fcn.00497124
cmp edx, 0
jne 0x496904
cmp eax, 0
jbe 0x496953
jmp 0x496906
jle 0x496953
xor eax, eax
mov dword [esp], eax
push esp
push edi
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
xor eax, eax
or eax, dword [esp + 8]
or edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, esi
call fcn.00497124
cmp edx, dword [esp + 0xc]
jne 0x496950
cmp eax, dword [esp + 8]
sete bl
push edi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x499684
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4997cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x374]
lea eax, [ebp - 0x10]
mov ecx, 0x4997e4
call fcn.00404ee4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x426934]
call fcn.004269ec
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x417e28]
call fcn.00403c40
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4997a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x499800
mov edx, 0x499810
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0041bffc
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.0041c214
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x499784
inc ebx
xor esi, esi
push 0
lea edx, [ebp - 0x18]
mov eax, dword [0x4a37bc]
mov eax, dword [eax]
call fcn.00462d3c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409ab8
mov eax, dword [ebp - 0x14]
call fcn.0040505c
push eax
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x499820
call fcn.00404ee4
mov eax, dword [ebp - 0x1c]
call fcn.0040505c
push eax
push 0x499828
push 0x499838
push 0
call sub.shell32.dll_ShellExecuteA
inc esi
dec ebx
jne 0x499724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4997a9
mov eax, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0xc]
call fcn.00403c70
ret
Function at 0x499890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4999c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x374]
lea eax, [ebp - 0x10]
mov ecx, 0x4999e0
call fcn.00404ee4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x426934]
call fcn.004269ec
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x417e28]
call fcn.00403c40
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49999d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4999fc
mov edx, 0x499a10
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0041bffc
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.0041c214
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x49997f
inc ebx
xor esi, esi
push 1
lea edx, [ebp - 0x18]
mov eax, dword [0x4a37bc]
mov eax, dword [eax]
call fcn.00462d3c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409ab8
mov eax, dword [ebp - 0x14]
call fcn.0040505c
push eax
push 0x499a18
lea ecx, [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0040505c
push eax
push 0x499a1c
push 0
call sub.shell32.dll_ShellExecuteA
inc esi
dec ebx
jne 0x49992f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4999a4
mov eax, dword [ebp - 8]
call fcn.00403c70
mov eax, dword [ebp - 0xc]
call fcn.00403c70
ret
Function at 0x40fe70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49962b
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.0048e108
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40fef2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048bfe2
mov eax, dword [eax]
push 0x4b7c6c
push eax
call fcn.0047e194
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048e393
test bl, bl
je 0x40fef2
push 0x4b7c6c
lea ecx, [esp + 0xc]
call fcn.0048e723
push 0x4b7c78
lea ecx, [esp + 0xc]
call fcn.0048e723
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 0x40ff2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048e393
jmp 0x40fff9
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 0x40ffb2
lea edx, [esp + 0x7c]
push 0x4b7c74
push edx
call fcn.0047e194
add esp, 8
test eax, eax
je 0x40ffb2
lea eax, [esp + 0x7c]
push 0x4b7c70
push eax
call fcn.0047e194
add esp, 8
test eax, eax
je 0x40ffb2
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 0x40ff42
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.0048e393
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 0x4107f0
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 0x410852
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