joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4edea0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004f4320
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4edf99
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, esi
call fcn.004edfb0
test eax, eax
jne 0x4edf99
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, esi
call fcn.004edfb0
test eax, eax
jne 0x4edf99
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.005054f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4edf6a
lea eax, [esp + 0x10]
push 0x5607a4
push eax
call fcn.005054f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4edf6a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4edf6d
mov byte [esi], 0
push 0x55ff6c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4edfb0
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 0x4ee012
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 0x4f4260
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x524728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4f4310
mov eax, dword [0x56270c]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00515031
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00515080
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00514fdd
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4f42f7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4f42f7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00514c4d
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f7410
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x524bb0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f75b7
mov ecx, dword [0x56270c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4f750c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004f6130
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00514d3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00514c4d
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x55ff6c
call fcn.00514cbb
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004f64f0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00514d3a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00514c4d
lea ecx, [esp + 0xc]
call fcn.00515115
mov ecx, dword [esp + 0xc]
push 0x5609ac
push ecx
call fcn.005043e4
add esp, 8
test eax, eax
je 0x4f7534
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4f746d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00514c4d
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00514c4d
jmp 0x4f75bb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004f71b0
test eax, eax
push 0
je 0x4f759f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004f5850
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f7585
cmp eax, 0x64
jg 0x4f7573
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4f7510
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4f7510
cmp eax, 0x64
jge 0x4f750c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4f7510
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004f5850
mov esi, eax
jmp 0x4f7510
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4f75c5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x517058
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x517090
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005150a8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00515080
jmp 0x51709c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51874d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51878f
call fcn.0051e50f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51878f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x518786
xor eax, eax
jmp 0x518797
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051879d
pop edi
pop esi
pop ebx
ret 4

Function at 0x51ea3f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x51ea6d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51ea8b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051e9a5
jmp 0x51ea8b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51ea8b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051e9a5
test edi, edi
mov eax, edi
jne 0x51ea75
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul esi
dec edx
and edi, 0xdc
rol edx, 0x16
inc eax
mov esi, 0x67
mov esi, 0xf
and esi, 2
sub edi, 0x25
rcr ebx, 0xee
rcl edx, 0x9a
neg ebx
or eax, 0x62
sbb edx, 0x89
rcr eax, 0xdb
dec edx
bswap esi
not eax
dec esi
bswap eax
rcl ebx, 0xa8
neg eax
neg esi
imul edi
neg ebx
add edi, 0xdf
and eax, 0x86
not esi
dec esi
imul edx
imul esi
add ebx, 0xc4
add ebx, 5
rol edi, 0xa9
mov edx, 0xbe
mov eax, 0x3e
and edx, 4
inc esi
rol edx, 0x3e
rcr edi, 0xc5
dec edi
rcr esi, 0xcd
bswap edx
sbb esi, 0xfc
rcl esi, 0x4b
not edx
inc eax
neg esi
sbb eax, 0x8f
inc esi
xor ecx, ecx
xor edi, edi
rcr edi, 0x10
add ebx, 0x81
imul edi
neg edx
or ebx, 0xaf
imul ebx
inc ebx
rcr esi, 0x2c
rol ebx, 0x4b
dec esi
and edi, 0x1f
imul ebx
inc edi
not edi
imul esi
not edx
neg edx
or esi, 0x6e
imul eax
not eax
inc edx
and esi, 0xd3
sbb eax, 1
rol ebx, 0xd1
imul edx
dec edi
rcl esi, 0x9f
not edx
imul ebx
ror esi, 0x1c
inc edx
sub edi, 0
and edx, 0xcd
or edi, 0xfc
rcr edi, 0x91
add edx, 0xc
bswap edx
neg eax
sbb edi, 0xe0
inc eax
inc edi
dec edi
and edx, 5
neg edx
ror eax, 0xb2
sub esi, 0x4e
dec ebx
neg ebx
dec edx
mov esi, 0x8f
mov ecx, dword [ebp + 0xc]
or edi, 0xb3
ror ebx, 0x90
not edi
imul esi
or eax, 4
rcl edi, 0xbe
ror edx, 0xaf
sub ebx, 0x85
ror eax, 0x17
bswap esi
or edi, 0xd
sub eax, 0x73
rcl edx, 0x3d
add eax, 0x93
rcr eax, 0xe6
rcr edx, 0xea
dec esi
bswap eax
sub edi, 0xec
dec esi
or edi, 0x38
not edx
inc edx
neg ebx
sub esi, 0x7c
or ebx, 0x10
bswap ebx
neg eax
dec esi
sbb ebx, 0xc0
mov esi, 0x9a
or ebx, 0xbe
ror edx, 0xa1
dec edi
rcl ebx, 0x96
mov edx, 0x65
not eax
rcl esi, 0
sbb ebx, 0x21
sub edi, 0x3a
add edx, 0xec
imul eax
imul edx
bswap edx
sbb eax, 0x95
mov ebx, 0x18
dec eax
bswap edi
sub esi, 0xc0
rcl ebx, 0x58
mov edi, dword [ebp + 8]
xor eax, ebx
xor eax, eax
xor ebx, ebx
not byte [edi]
xor eax, esi
mov esi, eax
mov eax, ebx
mov esi, ebx
xor esi, eax
mov ebx, esi
mov ebx, ebx
mov eax, esi
xor eax, esi
add byte [edi], 0x87
xor ebx, eax
mov eax, eax
xor eax, ebx
xor esi, ebx
mov esi, esi
xor esi, eax
mov esi, ebx
xor eax, eax
xor eax, eax
sub byte [edi], 0x54
mov eax, ebx
xor eax, eax
mov esi, eax
mov esi, esi
xor esi, ebx
xor ebx, ebx
xor esi, esi
mov esi, eax
xor esi, eax
imul byte [edi]
inc edi
loop 0x4013d5
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404f75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447a00]
jne 0x404f7f
repz ret
jmp fcn.00407310
Function at 0x4055e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404395
and dword [ebp - 4], 0
cmp dword [0x448b90], 0
mov ebx, eax
jne 0x405696
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405747
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405747
push eax
call fcn.00404323
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x448b90], eax
call esi
push eax
call fcn.00404323
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x448b94], eax
call esi
push eax
call fcn.00404323
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x448b98], eax
call esi
push eax
call fcn.00404323
pop ecx
mov dword [0x448ba0], eax
test eax, eax
je 0x405696
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404323
pop ecx
mov dword [0x448b9c], eax
mov eax, dword [0x448b9c]
cmp eax, ebx
je 0x4056ee
cmp dword [0x448ba0], ebx
je 0x4056ee
push eax
call fcn.0040439e
push dword [0x448ba0]
mov esi, eax
call fcn.0040439e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056ee
test edi, edi
je 0x4056ee
call esi
test eax, eax
je 0x4056e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056e5
test byte [ebp - 0xc], 1
jne 0x4056ee
or dword [ebp + 0x10], 0x200000
jmp 0x405727
mov eax, dword [0x448b94]
cmp eax, ebx
je 0x405727
push eax
call fcn.0040439e
pop ecx
test eax, eax
je 0x405727
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405727
mov eax, dword [0x448b98]
cmp eax, ebx
je 0x405727
push eax
call fcn.0040439e
pop ecx
test eax, eax
je 0x405727
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x448b90]
call fcn.0040439e
pop ecx
test eax, eax
je 0x405747
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405749
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x465cd9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
add ecx, eax
push ebx
push edi
mov edi, dword [ecx]
add eax, 4
mov dword [esi], eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x4aca32
mov ecx, dword [esi]
add ecx, dword [ebp + 8]
lea ebx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 4], eax
call 0x4aed90
mov eax, dword [ebp - 4]
add dword [esi], ebx
xor ecx, ecx
add esp, 0x10
cmp edi, ecx
mov word [ebx + eax], cx
jle 0x465d32
xor word [eax + ecx*2], di
inc ecx
cmp ecx, edi
jl 0x465d29
pop edi
pop ebx
leave
ret 4

Function at 0x47044f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x488720], eax
push edi
mov edx, esi
mov eax, 0x488720
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4890dc
jl 0x470460
pop edi
mov dword [0x476c94], esi
mov dword [0x4890f0], esi
pop esi
ret

Function at 0x47048e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x4890f0], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x488720
jne 0x4704ae
push 0
call 0x4b0f85
pop ecx
call fcn.0047044f
mov dword [0x476c94], 0x270
mov dword [0x48871c], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4704cd
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x470503
mov edx, dword [0x488720]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x47055d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x476c94]
jne 0x47056a
call fcn.0047048e
mov eax, dword [0x48871c]
mov ecx, dword [eax]
add dword [0x48871c], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret
Function at 0x4705a1
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x476c94]
jne 0x4705af
call fcn.0047048e
mov eax, dword [0x48871c]
mov eax, dword [eax]
add dword [0x48871c], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x4705f5
fadd qword [0x4713b0]
fmul qword [0x4713a8]
pop ecx
ret

Function at 0x470bcf
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call 0x4af590
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4717ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.00471415
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.00471555
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x4717f3
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.00471527
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x4717d9
pop edi
pop esi
leave
ret 0xc
Function at 0x47921c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
cmp byte [ebp + 0xc], 0
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x290]
push edi
lea edi, [esi + 0x66c]
mov ebx, dword [edi]
mov dword [esp + 0xc], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
je 0x479253
call fcn.0046ccdf
cmp byte [ebp + 0x10], 0
je 0x4793cc
lea eax, [esi + 0x6b0]
push eax
lea ebx, [esp + 0x7c]
mov dword [esp + 0x14], eax
call fcn.0046e507
lea edi, [esi + 0x6c0]
lea esi, [esp + 0x5c]
mov dword [esp + 0x14], edi
call fcn.0046cf48
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x770]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x6cc]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x778]
lea edi, [ebx + 0x7c4]
lea esi, [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
call fcn.0046cf48
mov eax, dword [ebx + 0x7d0]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x7d4]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x354]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x358]
add ebx, 0x340
push ebx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x6c]
mov dword [esp + 0x40], eax
call fcn.0046e507
mov edi, dword [esp + 0xc]
push dword [ebp + 8]
mov eax, edi
call fcn.00477fa1
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
call fcn.0046ec13
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x5c]
call fcn.0046d00c
mov eax, dword [esp + 0x18]
push dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x770], eax
call fcn.0046259e
mov eax, dword [esp + 0x28]
mov dword [edi + 0x778], eax
mov eax, dword [esp + 0x2c]
lea ebx, [esp + 0x50]
call fcn.0046d00c
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov dword [edi + 0x7d0], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x7d4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x354], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x358], eax
lea eax, [esp + 0x68]
push eax
call fcn.0046ec13
lea ecx, [esp + 0x68]
call fcn.0046e759
push dword [esp + 0x50]
call 0x4aca9c
push dword [esp + 0x60]
call 0x4aca9c
pop ecx
pop ecx
lea ecx, [esp + 0x78]
call fcn.0046e759
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0xc]
jmp 0x4793d6
push dword [ebp + 8]
mov eax, esi
call fcn.00477fa1
cmp byte [ebp + 0xc], 0
je 0x4793e8
call fcn.0046cd39
jmp 0x4793e8
call fcn.0047945a
cmp ebx, dword [edi]
jl 0x4793e3
mov eax, dword [esp + 0x4c]
pop edi
mov dword [esi + 0x290], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4053c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b3bb
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.004618aa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405442
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045be35
mov eax, dword [eax]
push 0x4a7b90
push eax
call fcn.0044e97a
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461b35
test bl, bl
je 0x405442
push 0x4a7b90
lea ecx, [esp + 0xc]
call fcn.00461f11
push 0x4a7b9c
lea ecx, [esp + 0xc]
call fcn.00461f11
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 0x40547e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461b35
jmp 0x405549
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 0x405502
lea edx, [esp + 0x7c]
push 0x4a7b98
push edx
call fcn.0044e97a
add esp, 8
test eax, eax
je 0x405502
lea eax, [esp + 0x7c]
push 0x4a7b94
push eax
call fcn.0044e97a
add esp, 8
test eax, eax
je 0x405502
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 0x405492
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.00461b35
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 0x405d70
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 0x405dd2
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 0x405de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b43b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4aef80]
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 0x405f18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x405e46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b35
xor eax, eax
jmp 0x405f8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461cbe
push esi
lea ecx, [esp + 0xc]
call fcn.00461f4d
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 0x405f6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00405d70
test eax, eax
jne 0x405f6d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00405d70
test eax, eax
jne 0x405f6d
lea eax, [esp + 0x14]
push 0x4a7bb4
push eax
call fcn.0044eeb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x405f4c
lea ecx, [esp + 0x14]
push 0x4a7bb0
push ecx
call fcn.0044ee30
mov esi, eax
add esp, 8
test esi, esi
jne 0x405f4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x405f4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461c6e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x405e5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b35
xor eax, eax
jmp 0x405f8f
mov byte [esi], 0
push 0x4a7bac
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.00461b35
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