joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4090b8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4117c8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0x2000
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
jne 0x4090f0
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x413784
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CGdiObject::Attach
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CClientDC::CClientDC
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.00408e50
lea ecx, [esp + 4]
mov esi, eax
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004108ac
mov dword [esp + 4], 0x413770
lea ecx, [esp + 4]
mov dword [esp + 0x28], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x409b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4118e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_2
mov dword [esi + 8], 0x413c3c
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], 0x413c28
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
mov byte [esp + 0x1c], 4
mov dword [esi], 0x413c24
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b100
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi + 4]
inc eax
push eax
mov eax, dword [esp + 0x14]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8
Function at 0x40b130
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411b15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
mov eax, 0x100
push 0x417cf4
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
call fcn.004107da
lea eax, [esp + 0x10]
lea ecx, [esp + 0x114]
push eax
push ecx
mov ecx, dword [esp + 0x230]
push 0
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
mov dword [esp + 0x23c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40b1c4
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push 0x417244
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov esi, dword [esp + 0x224]
lea edx, [esp + 4]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x21c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret 8

Function at 0x40b14b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411b15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
mov eax, 0x100
push 0x417cf4
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
call fcn.004107da
lea eax, [esp + 0x10]
lea ecx, [esp + 0x114]
push eax
push ecx
mov ecx, dword [esp + 0x230]
push 0
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
mov dword [esp + 0x23c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40b1c4
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
push 0x417244
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov esi, dword [esp + 0x224]
lea edx, [esp + 4]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x21c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret 8
Function at 0x40b210
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x411b45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
mov esi, ecx
push 0x417cf4
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x100
call fcn.004107da
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x130]
push 0
push 0
push 0
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x140], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40b299
lea edx, [esp + 0x18]
lea eax, [esp + 4]
push edx
push 0x417244
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov esi, dword [esp + 0x128]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret 8

Function at 0x40b22b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x411b45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
mov esi, ecx
push 0x417cf4
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x100
call fcn.004107da
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x130]
push 0
push 0
push 0
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x140], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40b299
lea edx, [esp + 0x18]
lea eax, [esp + 4]
push edx
push 0x417244
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov esi, dword [esp + 0x128]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret 8

Function at 0x40b690
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.CleanOvl.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
add esp, 0x108
ret
Function at 0x40b6f0
Capabilities:
Enumerate files on windows
Terminate process

Disassembly:
sub esp, 0x140
lea eax, [esp]
push esi
push edi
push eax
push str.C:Uninstall.
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b73a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0xc]
inc edi
push ecx
push esi
call ebx
test eax, eax
jne 0x40b718
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0x16
pop ebx
jl 0x40b73a
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
add esp, 0x140
ret

Function at 0x40b750
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x411c45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebp
push esi
push edi
push 0x417cf4
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004107da
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov ebp, 1
push eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0x18], 0x9c
call esi
test eax, eax
jne 0x40b7e5
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push ecx
call esi
test eax, eax
jne 0x40b7e5
mov esi, dword [esp + 0xc0]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], ebp
jmp 0x40b8f0
mov eax, dword [esp + 0x24]
sub eax, 0
je 0x40b8cb
dec eax
mov esi, 4
je 0x40b856
dec eax
jne 0x40b8d9
cmp dword [esp + 0x18], esi
ja 0x40b815
push 0x4172a0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x18]
mov edi, 5
cmp eax, edi
jne 0x40b856
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40b83e
push str._2000
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
cmp dword [esp + 0x18], edi
jne 0x40b856
cmp dword [esp + 0x1c], ebp
jne 0x40b8d9
push 0x417294
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
cmp dword [esp + 0x18], esi
jne 0x40b8d9
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40b88d
push 0x417290
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
cmp byte [esp + 0x29], 0x43
jne 0x40b887
push str.OSR2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
cmp dword [esp + 0x18], esi
jne 0x40b8d9
cmp dword [esp + 0x1c], 0xa
jne 0x40b8bd
push 0x417284
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
cmp byte [esp + 0x29], 0x41
jne 0x40b8b7
push 0x417280
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
cmp dword [esp + 0x18], esi
jne 0x40b8d9
cmp dword [esp + 0x1c], 0x5a
jne 0x40b8d9
push 0x41727c
jmp 0x40b8d0
push 0x417278
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0xc0]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xb0
ret
Function at 0x40c660
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x4172bc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c68e
push eax
push eax
push str.Error_Create_InI_File_
call sub.MFC42.DLL_AfxMessageBox
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop esi
ret

Function at 0x40ca10
Capabilities:
Get disk information

Disassembly:
sub esp, 0x50
lea eax, [esp + 1]
mov dl, 0x5c
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor ecx, ecx
mov bl, cl
add eax, 4
add bl, 0x43
inc ecx
mov byte [eax - 5], bl
mov byte [eax - 4], 0x3a
mov byte [eax - 3], dl
mov byte [eax - 2], 0
cmp ecx, 0xa
jl 0x40ca21
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea esi, [esp + 0x10]
mov edi, 0xa
push esi
call ebx
cmp eax, 3
jne 0x40ca55
inc ebp
add esi, 4
dec edi
jne 0x40ca4c
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x4039c6
Capabilities:
Create pipe
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8b7588]
mov ecx, dword [0x8b64dc]
sub esp, 0xc34
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403abf
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x8b7588], 0x959
jne 0x403aad
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402c64
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x402eb8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402f00
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.004037c9
add ebx, 8
dec dword [ebp - 4]
jne 0x4039ef
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40558b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80633c]
jne 0x405595
repz ret
jmp fcn.00408b2c

Function at 0x40af0b
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.00406b56
and dword [ebp - 4], 0
cmp dword [0x808104], 0
mov ebx, eax
jne 0x40afbc
push 0x4021bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b06d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021b0
push edi
call esi
test eax, eax
je 0x40b06d
push eax
call fcn.00406ae4
mov dword [esp], 0x4021a0
push edi
mov dword [0x808104], eax
call esi
push eax
call fcn.00406ae4
mov dword [esp], 0x40218c
push edi
mov dword [0x808108], eax
call esi
push eax
call fcn.00406ae4
mov dword [esp], 0x402170
push edi
mov dword [0x80810c], eax
call esi
push eax
call fcn.00406ae4
pop ecx
mov dword [0x808114], eax
test eax, eax
je 0x40afbc
push 0x402158
push edi
call esi
push eax
call fcn.00406ae4
pop ecx
mov dword [0x808110], eax
mov eax, dword [0x808110]
cmp eax, ebx
je 0x40b014
cmp dword [0x808114], ebx
je 0x40b014
push eax
call fcn.00406b5f
push dword [0x808114]
mov esi, eax
call fcn.00406b5f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b014
test edi, edi
je 0x40b014
call esi
test eax, eax
je 0x40b00b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b00b
test byte [ebp - 0xc], 1
jne 0x40b014
or dword [ebp + 0x10], 0x200000
jmp 0x40b04d
mov eax, dword [0x808108]
cmp eax, ebx
je 0x40b04d
push eax
call fcn.00406b5f
pop ecx
test eax, eax
je 0x40b04d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b04d
mov eax, dword [0x80810c]
cmp eax, ebx
je 0x40b04d
push eax
call fcn.00406b5f
pop ecx
test eax, eax
je 0x40b04d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x808104]
call fcn.00406b5f
pop ecx
test eax, eax
je 0x40b06d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b06f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b5a6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040b756
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40b6a4
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40b647
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40b68a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40b65e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40b679
test al, 0x40
je 0x40b670
mov ecx, dword [edi + 0x20]
jmp 0x40b677
test al, 0x80
je 0x40b68a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40b68a
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40b616
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x447f60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4be52b
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.004b08c2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x447fe2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004adebd
mov eax, dword [eax]
push 0x55b250
push eax
call fcn.0049fe84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b0b4d
test bl, bl
je 0x447fe2
push 0x55b250
lea ecx, [esp + 0xc]
call fcn.004b0f29
push 0x55edcc
lea ecx, [esp + 0xc]
call fcn.004b0f29
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 0x44801e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b0b4d
jmp 0x4480e9
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 0x4480a2
lea edx, [esp + 0x7c]
push 0x55edc8
push edx
call fcn.0049fe84
add esp, 8
test eax, eax
je 0x4480a2
lea eax, [esp + 0x7c]
push 0x55edc4
push eax
call fcn.0049fe84
add esp, 8
test eax, eax
je 0x4480a2
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 0x448032
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.004b0b4d
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 0x4488e0
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 0x448942
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 0x448950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4be5ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x567e98]
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 0x448a88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4489b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b0b4d
xor eax, eax
jmp 0x448aff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b0cd6
push esi
lea ecx, [esp + 0xc]
call fcn.004b0f65
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x55ee04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x448add
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004488e0
test eax, eax
jne 0x448add
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.004488e0
test eax, eax
jne 0x448add
lea eax, [esp + 0x14]
push 0x55ede0
push eax
call fcn.004a0f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x448abc
lea ecx, [esp + 0x14]
push 0x55eddc
push ecx
call fcn.004a0ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x448abc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x448abf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b0c86
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4489ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b0b4d
xor eax, eax
jmp 0x448aff
mov byte [esi], 0
push 0x55edd8
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.004b0b4d
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