joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003590b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10035955
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1003593c
push 0xace
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x10035953
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x100359c2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100359a4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x100359c2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100359c2
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret
Function at 0x10036eed
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10036f91
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10036f6e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10036f4f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10036f6c
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10010f08
mov dword [eax], 0xfffc
jmp 0x10036f44
jmp 0x10036f8f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10036f8f
push 0x2403
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x10036fc0
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0x12e
push dword [ebp - 0x34]
push 1
push 0xf8
call fcn.10032570
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1003a8b7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003a91f
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1003a904
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003a902
push 0
push 0
push 0x240b
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
jmp 0x1003a91d
push 0
push 0
push 0
push 0
push 0
push 0
push 0x548
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1003a940
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x14]
push 0x2112
push dword [ebp - 0x18]
call fcn.10033954
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1003ac27
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003ac9a
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003ac4f
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1003ac98
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003ac98
push 0x25e3
push 0x198a
push 0x110b
push 0x2341
push 0x1f74
push 0x11e5
push 0x22ca
push 0x10fc
push 0xbda
push 0x23b4
push 0x1088
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x1003acc5
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x771b
push 0
push 0x513e
push dword [ebp - 0x10]
push 0xf6a
call fcn.1003499b
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1003b50f
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov dword [ebp - 0x18], 0x25b7
cmp dword [ebp - 0x18], 0x1326
jge 0x1003b60a
lea eax, [ebp - 8]
push eax
push 0x1000ddc0
call fcn.10058fc2
pop ecx
pop ecx
push 8
pop eax
imul eax, eax, 0
mov dword [eax + 0x10a3d898], 1
and dword [eax + 0x10a3d89c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 0x1c], 0
je 0x1003b60a
push 0x11108b1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1000e16c
call fcn.10058fc2
add esp, 0x10
mov dword [ebp - 4], 1
jmp 0x1003b592
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x11108b1c]
jge 0x1003b5df
mov eax, dword [ebp - 4]
cdq
mov ecx, dword [ebp - 4]
push edx
push eax
push dword [ecx*8 + 0x10a3d894]
push dword [ecx*8 + 0x10a3d890]
call fcn.1005d390
mov ecx, eax
mov esi, edx
mov eax, dword [0x11108b1c]
cdq
push edx
push eax
push esi
push ecx
call fcn.10071bf0
mov ecx, dword [ebp - 4]
mov dword [ecx*8 + 0x10a3d898], eax
mov dword [ecx*8 + 0x10a3d89c], edx
jmp 0x1003b58b
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
cdq
push edx
push eax
call fcn.1003b453
add esp, 0x10
push edx
push eax
push 0x1000de1c
call fcn.10057526
add esp, 0xc
jmp 0x1003b551
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003b642
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x3d4d
push 0x28d2
push dword [ebp - 0x28]
push 1
push 0x1d6e
call fcn.1003b6d3
add esp, 0x18
jmp 0x1003b6ce
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1003b6c6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push 4
push 0x2000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 0xc]
push dword [eax + 0x34]
push 0x7f7e
push 0x9a52
call fcn.1002a58c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x1003b6c4
push 4
push 0x2000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
push 0
push 0x7f7e
push 0x9a52
call fcn.1002a58c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x1003b6ce
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10048bcd
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10048c4a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10048c18
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10048c16
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10048c45
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10048c45
push 0
push 0x175b
push 0xcb6
push 0x150b
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
jmp 0x10048d01
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10048cb4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10048c94
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff7
jl 0x10048cb2
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10048cb0
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
jmp 0x10048c89
jmp 0x10048d01
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
push eax
mov ecx, dword [ebp - 0xc]
call fcn.10010f08
mov esi, eax
push 0
mov ecx, dword [ebp - 0x54]
call fcn.10010f08
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10010f08
mov ecx, dword [esi]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004ebb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004ec03
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 1
push 0x2c5a
push 0xac3
push 0x5387
push dword [ebp - 4]
push 0x6ac1
push 0x3551
push 0x1574
push dword [ebp - 8]
push 0x7483
call fcn.1004ec7c
add esp, 0x28
jmp 0x1004ec78
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1004ec4e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1004ec4c
push 0xb1c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1004ec78
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0xfffffffa
mov eax, dword [ebp - 0x30]
mov dword [eax], 0xfffffffa
mov esp, ebp
pop ebp
ret
Function at 0x1004f603
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004f686
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1004f631
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1004f684
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1004f684
push 0x25e3
push 0x198a
push 0x110b
push 0x2341
push 0x1f74
push 0x11e5
push 0x22ca
push 0x10fc
push 0xbda
push 0x23b4
push 0x1088
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x1004f6b5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
push 0x5c65
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x15db
push 0
push dword [ebp - 0x1c]
call fcn.1003b6d3
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1006d3a5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10077788]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005d5d8
mov dword [ebp - 0x14], eax
cmp dword [0x10663d80], esi
jne 0x1006d498
push 0x800
push esi
push 0x1000d9d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006d425
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006d578
push esi
push esi
push 0x1000d9d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006d578
push 0x1000d9e8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006d578
push eax
call ebx
push 0x1000d9f4
push edi
mov dword [0x10663d80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000da04
push edi
mov dword [0x10663d84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000da18
push edi
mov dword [0x10663d88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10663d90], eax
test eax, eax
je 0x1006d495
push 0x1000da34
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10663d8c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006d4bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006d4b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006d4d2
push 4
pop eax
jmp 0x1006d57a
cmp dword [ebp - 0x14], esi
je 0x1006d4d2
push dword [0x10663d80]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006d4b7
mov eax, dword [0x10663d8c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006d530
cmp dword [0x10663d90], edi
je 0x1006d530
push eax
call ebx
push dword [0x10663d90]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006d530
test eax, eax
je 0x1006d530
call ecx
test eax, eax
je 0x1006d525
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006d525
test byte [ebp - 8], 1
jne 0x1006d530
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006d560
mov eax, dword [0x10663d84]
cmp eax, edi
je 0x1006d55d
push eax
call ebx
test eax, eax
je 0x1006d55d
call eax
mov esi, eax
test esi, esi
je 0x1006d55d
mov eax, dword [0x10663d88]
cmp eax, edi
je 0x1006d55d
push eax
call ebx
test eax, eax
je 0x1006d55d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10663d80]
call ebx
test eax, eax
je 0x1006d578
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006d57a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005ab6b
mov esp, ebp
pop ebp
ret
Function at 0x40e818
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40e839
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40e830
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40e828
mov eax, ebx
leave
ret

Function at 0x40e85f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40e8be
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40e8eb
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40e8da
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40e8cb
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40e911
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40e8b2
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40f151
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0040e7de
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40f330
push dword [ebp - 4]
call fcn.0040e7c2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f221
jmp 0x40f330
push dword [ebp - 4]
call fcn.0040e7c2
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x40f275
lea eax, [ebp - 4]
push eax
call fcn.0040f137
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0040e9e9
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40f275
mov eax, 1
jmp 0x40f277
xor eax, eax
test eax, eax
je 0x40f325
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40f31d
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0040ef54
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40f30c
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0040f110
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40f2bf
add esp, 0xc
jmp 0x40f330
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x40f1fa
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x40f351
mov esp, ebp
pop ebp
ret 8
Function at 0x424ba0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1ceb
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.004962d1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424c22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004940df
mov eax, dword [eax]
push 0x14b1cf4
push eax
call fcn.00486ae4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049655c
test bl, bl
je 0x424c22
push 0x14b1cf4
lea ecx, [esp + 0xc]
call fcn.004968ec
push 0x14b1d00
lea ecx, [esp + 0xc]
call fcn.004968ec
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 0x424c5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049655c
jmp 0x424d29
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 0x424ce2
lea edx, [esp + 0x7c]
push 0x14b1cfc
push edx
call fcn.00486ae4
add esp, 8
test eax, eax
je 0x424ce2
lea eax, [esp + 0x7c]
push 0x14b1cf8
push eax
call fcn.00486ae4
add esp, 8
test eax, eax
je 0x424ce2
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 0x424c72
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.0049655c
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 0x425520
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 0x425582
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