joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4384b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4483b0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x29]
call fcn.00424000
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x438639
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push dword [esi + 0x10]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004340d0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00429b80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.00429bb0
test al, al
jne 0x43855a
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
jb 0x438551
push dword [ebp - 0x28]
call ebx
add esp, 4
mov dword [ebp - 0x30], 0
jmp 0x4385b5
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xffffffff
call fcn.004241a0
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x3c]
push eax
push 0x437830
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x43859f
push dword [ebp - 0x28]
call ebx
add esp, 4
mov dword [ebp - 0x30], edi
test edi, edi
je 0x4385b2
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00438c90
mov edi, dword [ebp - 0x34]
cmp byte [esi + 0xd], 0
jne 0x4385f7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4385dc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4385f7
mov edi, edi
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4385d0
jmp 0x4385f7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4385f5
cmp esi, dword [eax + 8]
jne 0x4385f5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4385e5
mov esi, eax
cmp esi, dword [edi]
jne 0x438516
mov esi, dword [ebp - 0x48]
cmp esi, dword [ebp - 0x44]
je 0x43861f
mov edx, dword [ebp + 8]
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00437e60
add esp, 0x10
test esi, esi
je 0x438639
lea ecx, [ebp - 0x29]
call fcn.00424000
lea ecx, [ebp - 0x29]
call fcn.00424000
push esi
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ba10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x43ba33
mov eax, dword [edi]
jmp 0x43ba35
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x43ba3d
mov ecx, dword [esi]
push 1
push 0
push eax
push ecx
push str.shell_filename____s___param____s___runas___d__show___d
push 0x91
push str.common::shell
call fcn.00422920
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x28
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43ba9f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [edi + 0x14], 8
jb 0x43baa7
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x43baaf
mov esi, dword [esi]
push 5
push 0
push edi
push esi
push 0x4550f8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
cmp eax, 0x20
jg 0x43baf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x9e
push str.common::shell
call fcn.00422920
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x43bb10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448a38
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x43bb4b
mov eax, dword [esi]
jmp 0x43bb4d
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x43bb55
mov ecx, dword [edi]
push eax
push ecx
push str.createProcess_filename____s___param____s_
push 0xa9
push str.common::create
call fcn.00422920
push edi
mov edx, 0x44b8f8
lea ecx, [ebp - 0x40]
call fcn.0040cb00
push 0x44b8f8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406750
add esp, 0x1c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43bbaa
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
je 0x43bbf7
push esi
mov edx, 0x44b834
lea ecx, [ebp - 0x58]
call fcn.0040cb00
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x43bbf7
push dword [ebp - 0x58]
call edi
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xb0], 0x44
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x80], eax
push ecx
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x84], 1
movdqu xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43bc9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xbc
push str.common::create
call fcn.00422920
add esp, 0x10
xor esi, esi
jmp 0x43bca9
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
jb 0x43bcb7
push dword [ebp - 0x28]
call edi
add esp, 4
mov eax, esi
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.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x43be00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x264], 0
push 0x256
push eax
mov word [ebp - 0x25c], ax
mov esi, edx
lea eax, [ebp - 0x25a]
mov edi, ecx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43be90
lea eax, [ebp - 0x268]
push eax
push 4
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x43be89
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x25c], ax
jne 0x43beb0
xor ecx, ecx
jmp 0x43becf
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bec0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.00404400
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x43d4a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448c36
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00405690
push 0x44dce0
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x46a110
call fcn.0043ae80
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x43d571
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x46a110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret 4

Function at 0x43d640
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x46a12c
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x46a140], 7
mov dword [0x46a13c], 0
mov word [0x46a12c], ax
mov dword [ebp - 4], eax
mov ecx, 0x46a12c
lea eax, [ebp - 0x21c]
push eax
call fcn.00405690
mov eax, 0x46a12c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret 4
Function at 0x43e110
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448eb7
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00405690
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0043ae80
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0043dc10
cmp dword [ebp - 0x238], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x43e1f4
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x43e225
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x234]
call fcn.00405690
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.0043ae80
add esp, 4
mov ecx, edi
call fcn.0043dcb0
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x43e298
push dword [ebp - 0x234]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret 4
Function at 0x4408f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.00444040
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x46a1ac]
test al, 1
jne 0x440973
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x46a1ac], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x46a1b0], esi
jmp 0x440979
mov esi, dword [0x46a1b0]
test esi, esi
je 0x4409e7
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x4409e7
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x4409e7
lea ecx, [ebp - 0x3000]
jmp 0x4409d0
mov eax, dword [ecx]
sub eax, 0
je 0x4409da
dec eax
jmp 0x4409db
inc esi
add ecx, 0x18
dec edx
jne 0x4409d0
test esi, esi
je 0x4409e7
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x401290
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00401770
call sym.___main
lea eax, [ebp - 0x10]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str._d_d
call sym._scanf
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, eax
sub edx, dword [ebp - 0x10]
mov eax, edx
sar eax, 0x1f
shr eax, 0x1f
lea eax, [edx + eax]
sar eax, 1
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
sub eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 4]
mov dword [esp + 4], eax
mov dword [esp], str._d__d_n
call sym._printf
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov eax, 0
leave
ret

Function at 0x401930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x4064f3
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x406515
mov eax, 0xfffffffd
jmp 0x40658d
mov ebx, dword [0x4db0d0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40655b
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4db0d0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x406583
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40658d
mov esp, ebp
pop ebp
ret 4

Function at 0x40b69a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x40d5b6
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00415e32
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00415e32
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.00415e32
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x417ed0
call fcn.00415e44
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x40d676
mov eax, 0
jmp 0x40d7e2
cmp dword [ebp + 0xc], 0
jne 0x40d6a2
mov dword [ebp - 0x1c], esp
mov eax, 0x2a
call fcn.00415e3e
cmp dword [ebp - 0x1c], esp
je 0x40d69f
push 6
call fcn.00415e38
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x40d6ca
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d6c4
push ebx
call fcn.00415e2c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x2b
call fcn.00415e3e
cmp dword [ebp - 0x1c], esp
je 0x40d6f5
push 6
call fcn.00415e38
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x492140
mov eax, 0x2c
call fcn.00415e3e
cmp dword [ebp - 0x1c], esp
je 0x40d721
push 6
call fcn.00415e38
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x2d
call fcn.00415e3e
cmp dword [ebp - 0x1c], esp
je 0x40d7b5
push 6
call fcn.00415e38
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 0x19
call fcn.00415e3e
cmp dword [ebp - 0x1c], esp
je 0x40d7da
push 6
call fcn.00415e38
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40d7e2
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00415e2c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00415e2c
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00415e2c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48aacb
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.0047f129
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4217b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047cc4d
mov eax, dword [eax]
push 0x4cc278
push eax
call fcn.0046ecf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047f3b4
test bl, bl
je 0x4217b2
push 0x4cc278
lea ecx, [esp + 0xc]
call fcn.0047f744
push 0x4cfdec
lea ecx, [esp + 0xc]
call fcn.0047f744
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 0x4217ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047f3b4
jmp 0x4218b9
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 0x421872
lea edx, [esp + 0x7c]
push 0x4cfde8
push edx
call fcn.0046ecf4
add esp, 8
test eax, eax
je 0x421872
lea eax, [esp + 0x7c]
push 0x4cfde4
push eax
call fcn.0046ecf4
add esp, 8
test eax, eax
je 0x421872
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 0x421802
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.0047f3b4
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 0x422b10
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 0x422b72
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 0x422b80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ac2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d66dc]
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 0x422cb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x422be6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f3b4
xor eax, eax
jmp 0x422d2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047f4f1
push esi
lea ecx, [esp + 0xc]
call fcn.0047f780
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 0x422d0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00422b10
test eax, eax
jne 0x422d0d
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.00422b10
test eax, eax
jne 0x422d0d
lea eax, [esp + 0x14]
push 0x4cfe00
push eax
call fcn.0046fe00
mov esi, eax
add esp, 8
test esi, esi
jne 0x422cec
lea ecx, [esp + 0x14]
push 0x4cfdfc
push ecx
call fcn.0046fd80
mov esi, eax
add esp, 8
test esi, esi
jne 0x422cec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x422cef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047f4a1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x422bfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f3b4
xor eax, eax
jmp 0x422d2f
mov byte [esi], 0
push 0x4cfdf8
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.0047f3b4
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