joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405840
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5451eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x597c40]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0052083d
push 4
mov dword [esp + 0x20], 0
call fcn.0040635a
mov edi, eax
add esp, 4
test edi, edi
je 0x4058be
call fcn.00520392
mov dword [edi], eax
call fcn.00520151
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00520086
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4058b3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.005200ae
jmp 0x4058c0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40caec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40cb33
call fcn.00411f9f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40cb33
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40cb4f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040c5f1
mov esi, eax
test edi, edi
je 0x40cb4d
test ebx, ebx
je 0x40cb4d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40d325
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53d739
call fcn.00506a25
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x40d34a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40d39c
call fcn.004111a6
push eax
lea ecx, [ebp - 0x10]
call fcn.00401460
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005070c6
push eax
call fcn.00401ae0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004014e0
mov eax, esi
call fcn.00506afd
ret 8
Function at 0x4130f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00411f9f
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41312e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00412d37
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41318c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4131b0
cmp dword [edi + 0x74], 0
jne 0x4131b0
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00411f9f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041314d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4142b1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00413f70
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4142fb
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004066f3
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004021e0
jmp 0x414306
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004186b3
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x41430c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0040cbf8
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x414349
call fcn.00413f70
mov dword [esi + 0xc], 1
jmp 0x41434e
call fcn.00413f70
cmp dword [esi], 0
je 0x414397
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x41436f
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004066f3
jmp 0x414381
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401630
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004021e0
jmp 0x4143bb
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4143bb
push dword [esi]
push dword [ebp + 8]
call fcn.004186b3
pop esi
pop ebp
ret 0xc

Function at 0x41588f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4158d7
call fcn.00411f9f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4158d7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41591a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x415903
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x415903
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x415917
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46cade
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46caf8
call fcn.00411f9f
mov esi, dword [eax + 0xc]
push dword [0x5d798c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x46cb16
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46cb0e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46cb43
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x46cb10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0046ca0c
mov esi, eax
jmp 0x46cb35

Function at 0x4e183a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0040aea4
call fcn.00408126
cmp eax, esi
pop esi
jne 0x4e1856
mov ecx, 0x5d6030
jmp fcn.0041fe42
ret

Function at 0x4ea073
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4ea08b
mov edi, dword [esi + 0xc]
jmp 0x4ea0cb
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4ea0a4
call fcn.0040eca7
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4ea0b9
call fcn.0040eca7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4ea0cb
call fcn.0040eca7
call fcn.00411f9f
cmp dword [eax + 0x3c], 0
je 0x4ea0e0
push edi
mov ecx, ebx
call fcn.004e8ea7
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e9f8d
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4ea0fe
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ea10a
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x504076
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x597c40]
jne 0x504080
repz ret
jmp fcn.0050c694
Function at 0x51ce8f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x597c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050edd6
and dword [ebp - 0x14], 0
cmp dword [0x5da450], 0
mov dword [ebp - 0x18], eax
jne 0x51cf42
push 0x551b68
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51cfea
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x51cfea
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x570260
push ebx
mov dword [0x5da450], eax
call edi
push eax
call esi
push 0x57024c
push ebx
mov dword [0x5da454], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5da458], eax
call edi
push eax
call esi
mov dword [0x5da460], eax
test eax, eax
je 0x51cf42
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5da45c], eax
mov eax, dword [0x5da45c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51cf9b
cmp dword [0x5da460], ecx
je 0x51cf9b
push eax
call esi
push dword [0x5da460]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51cf9b
test ebx, ebx
je 0x51cf9b
call edi
test eax, eax
je 0x51cf92
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51cf92
test byte [ebp - 8], 1
jne 0x51cf9b
or dword [ebp + 0x10], 0x200000
jmp 0x51cfce
mov eax, dword [0x5da454]
cmp eax, dword [ebp - 0x18]
je 0x51cfce
push eax
call esi
test eax, eax
je 0x51cfce
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51cfce
mov eax, dword [0x5da458]
cmp eax, dword [ebp - 0x18]
je 0x51cfce
push eax
call esi
test eax, eax
je 0x51cfce
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5da450]
call esi
test eax, eax
je 0x51cfea
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51cfec
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00504076
leave
ret
Function at 0x523e50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x597c40]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x30]
push edi
xor esi, esi
push esi
lea eax, [esp + 0x14]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREDeathSoftWoWEmuHacker5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.USER32.dll_RegisterHotKey]
xor edi, edi
push edi
lea ecx, [esp + 0x24]
push str.HotKey0_d
push ecx
call fcn.00504bb6
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x523f42
mov eax, dword [esp + 0x14]
mov ecx, eax
movzx eax, al
shr ecx, 8
movzx ecx, cl
cmp eax, 1
jne 0x523ef4
lea esi, [eax + 3]
jmp 0x523f30
cmp eax, 2
jne 0x523efd
mov esi, eax
jmp 0x523f30
cmp eax, 4
jne 0x523f07
lea esi, [eax - 3]
jmp 0x523f30
cmp eax, 5
jne 0x523f10
mov esi, eax
jmp 0x523f30
cmp eax, 3
jne 0x523f1a
lea esi, [eax + 3]
jmp 0x523f30
cmp eax, 6
jne 0x523f24
lea esi, [eax - 3]
jmp 0x523f30
test ax, ax
je 0x523f2e
cmp eax, 8
jne 0x523f30
xor esi, esi
push ecx
mov ecx, dword [ebp + 0x20]
movzx edx, si
push edx
lea eax, [edi + 0x8c1b30]
push eax
push ecx
call ebx
inc edi
cmp edi, 0x36
jl 0x523ea3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504076
add esp, 0x20
ret 4

Function at 0x524590
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x597c40]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push eax
mov esi, ecx
call edi
push esi
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5245dd
push eax
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00504076
add esp, 0x228
ret
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x224
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
jne 0x52460f
push esi
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00504076
add esp, 0x228
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Module32Next]
lea ecx, [ecx]
lea ecx, [esp + 0x30]
push str.wow.exe
push ecx
call fcn.00516fcd
add esp, 8
test eax, eax
jne 0x524645
lea edx, [esp + 0x130]
push edx
push 0x5db618
call ebx
lea eax, [esp + 0x10]
push eax
push esi
call ebp
test eax, eax
jne 0x524620
push esi
call edi
push esi
call edi
mov ecx, dword [esp + 0x234]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.00504076
add esp, 0x228
ret
Function at 0x5246b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x24
mov eax, dword [0x597c40]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x5db724]
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
push 0x40
push 0x1000
push 0x14
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x3c], 0x7cc818b
mov dword [esp + 0x40], 0xd890000
mov byte [esp + 0x27], 0xc3
mov byte [esp + 0x26], 0xe8
mov dword [esp + 0x34], 0x90909090
mov word [esp + 0x38], 0x9090
mov byte [0x5db71e], 1
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [esp + 0x14]
push ecx
push 8
lea edx, [esp + 0x30]
mov esi, eax
mov eax, dword [0x5db724]
push edx
push esi
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x5db724]
push 4
lea eax, [esi + 0xd]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
push edx
lea eax, [esi + 8]
push eax
push ecx
mov dword [esp + 0x30], ebx
call edi
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x5db724]
lea eax, [esi + 0xd]
push 1
mov dword [ebp + 0x1de8], eax
lea eax, [esp + 0x1b]
push eax
lea ecx, [esi + 0xc]
push ecx
push edx
mov dword [esp + 0x28], ebx
call edi
mov edx, dword [ebp + 0x58c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x5db724]
push 1
lea ecx, [esp + 0x1a]
push ecx
push edx
push eax
mov dword [esp + 0x2c], ebx
call edi
mov eax, dword [ebp + 0x58c]
lea ecx, [esp + 0x1c]
push ecx
sub esi, eax
push 4
sub esi, 5
lea edx, [esp + 0x1c]
push edx
inc eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebx
push eax
mov eax, dword [0x5db724]
push eax
call edi
mov eax, dword [ebp + 0x58c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x5db724]
push 1
lea edx, [esp + 0x28]
push edx
add eax, 5
push eax
push ecx
mov dword [esp + 0x2c], ebx
call edi
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504076
add esp, 0x24
ret 4
Function at 0x526b60
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x543fb1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
mov eax, dword [0x597c40]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.0040ed2b
xor ebx, ebx
mov dword [esp + 0x34], ebx
xor esi, esi
cmp dword [edi + 0x2544], ebx
je 0x526c8f
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x526baf
xor eax, eax
jmp 0x526bb2
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f436
lea eax, [edi + 0x2540]
cmp eax, ebx
jne 0x526bd1
xor eax, eax
jmp 0x526bd4
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0040f79b
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x526c55
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jle 0x526c3d
mov ecx, dword [edi + 0x2550]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x2554]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [eax + 4]
push ebx
push esi
push ecx
call ebp
mov eax, dword [esp + 0x48]
mov ecx, dword [edi + 0x2550]
sub eax, dword [esp + 0x40]
add esi, ecx
cmp esi, eax
jl 0x526c07
mov edx, dword [esp + 0x4c]
add ebx, dword [edi + 0x2554]
sub edx, dword [esp + 0x44]
xor esi, esi
cmp ebx, edx
jl 0x526bfd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x526c5c
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0040f79b
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.0040f4b7
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.0040f4b7
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
Function at 0x527640
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x54417c
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x597c40]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
push edi
mov eax, dword [0x597c40]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
lea eax, [esp + 0x34]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.ds.bmp
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x102
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [esp + 0x34]
push eax
push 0x27138
push str.BM8q
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x18]
call fcn.0052f5d0
mov dword [esp + 0x148], 0
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x527722
push eax
call esi
push 0
mov dword [esp + 0x1c], 0
call ebx
mov edx, dword [esp + 0x2c]
push eax
push edx
call edi
lea eax, [esp + 0x14]
call fcn.0052f4e0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x527755
push eax
call esi
push 0
mov dword [esp + 0x1c], 0
call ebx
push eax
mov eax, dword [esp + 0x30]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], vtable.CSplash.0
test eax, eax
je 0x527777
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00504076
add esp, 0x13c
ret
Function at 0x528900
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5443ff
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x597c40]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x597c40]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], ebx
call fcn.004111a6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x528962
push 0x80004005
call fcn.00401670
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push ebx
push ebx
mov dword [esp + 0x160], ebx
mov ecx, dword [edi + 0x1d8]
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5289b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x528a60
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x24], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x5289d6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x528a60
lea ecx, [esp + 0x40]
push 0x574b6c
push ecx
call fcn.00516fcd
add esp, 8
test eax, eax
jne 0x528a37
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push 0x57435c
push eax
call fcn.00401750
mov esi, dword [esp + 0x20]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x528a1e
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401500
mov esi, dword [esp + 0x14]
mov edx, dword [edi + 0x1d8]
push esi
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x5289d6
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
cmp dword [esp + 0x18], 1
jge 0x528a60
mov ecx, dword [0x5db724]
push ecx
call edi
add esi, 0xfffffff0
mov dword [esp + 0x158], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x528a87
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00504076
mov esp, ebp
pop ebp
ret