joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a225d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x1000
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.004192d0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x477973
lea ecx, [ebp + 0xc]
call fcn.00420210
shl eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 0xc]
call fcn.00420060
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 8]
call fcn.004192d0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x477939
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004168d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 0xd]
jmp 0x4779a1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004168d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 0xe]
jmp 0x4779a1
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004168d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47ac10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2325
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00420310
movzx eax, al
test eax, eax
jne 0x47ac5e
mov ecx, dword [ebp + 0xc]
call fcn.00420310
movzx ecx, al
test ecx, ecx
je 0x47acd4
push str.M1dS6V1o5DJDZffPjYImQzYgUNl4yFJjJByJA
lea ecx, [ebp - 0x14]
call fcn.004128a0
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00412760
lea eax, [ebp - 0x30]
push eax
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x9c]
call fcn.004602b0
push 0x5d2504
lea eax, [ebp - 0x9c]
push eax
call fcn.005727ae
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004168d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004168d0
push 0x5c
lea ecx, [ebp + 8]
call fcn.0041e0c0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
call fcn.0041df30
push 0
lea ecx, [ebp + 8]
call fcn.004192d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47ad8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb7
je 0x47ad8d
push str.cVFNhazIjFKAoF2NAkCGAzQufHx4jlNDQXOMCQHbFDU
lea ecx, [ebp - 0x1c]
call fcn.004128a0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.00412760
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004602b0
push 0x5d2504
lea ecx, [ebp - 0xa8]
push ecx
call fcn.005727ae
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004168d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004168d0
jmp 0x47ae8d
mov dword [ebp - 4], 0
jmp 0x47aeaa
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004168d0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ba20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push str.MHpC2YWMVsJBVHlGzAEobCoByIEAK1ERVf4CCc
lea ecx, [ebp - 0x84]
call fcn.00414250
mov dword [ebp - 4], 0
push str.UHVZtSiMBKOD4lMBg
lea ecx, [ebp - 0x6c]
call fcn.00414250
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 4
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x84]
push edx
call fcn.004140f0
lea eax, [ebp - 0x28]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.004192d0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x28]
call fcn.004168d0
cmp dword [ebp - 0x2c], 0
jne 0x47bb49
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x6c]
push eax
call fcn.004140f0
lea ecx, [ebp - 0x44]
push ecx
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
call fcn.004192d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x44]
call fcn.004168d0
cmp dword [ebp - 0x48], 0
jne 0x47bb3f
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00417530
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47c250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a24c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov dword [ebp - 0x28], 0x200
push 0x5f51b8
call fcn.0047bb80
add esp, 4
push str.03000200_0400_0500_0006_000700080009
push 0x5f51b8
call fcn.005767f8
add esp, 8
test eax, eax
je 0x47c2f0
push str.12345678_1234_5678_90AB_CDDEEFAABBCC
push 0x5f51b8
call fcn.005767f8
add esp, 8
test eax, eax
je 0x47c2f0
push str.00000000_0000_0000_0000_000000000000
push 0x5f51b8
call fcn.005767f8
add esp, 8
test eax, eax
je 0x47c2f0
push str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
push 0x5f51b8
call fcn.005767f8
add esp, 8
test eax, eax
je 0x47c2f0
push 0x5f51b8
call fcn.0057695a
add esp, 4
cmp eax, 0x24
je 0x47c408
push str.MkU5yT2EKDfxtleBGsKnbghQnLEAqBSiBUPMWUMrQDxJsO10ibSy5C3LUA
lea ecx, [ebp - 0x70]
call fcn.00414250
mov dword [ebp - 4], 0
push str.cFk2QbT04XVQUZMN1MqtBTBS
lea ecx, [ebp - 0x58]
call fcn.00414250
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0x101
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x70]
push edx
call fcn.004140f0
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.004192d0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x1c]
call fcn.004168d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x58]
push edx
call fcn.004140f0
lea eax, [ebp - 0x34]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.004192d0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x34]
call fcn.004168d0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x270]
push eax
call fcn.0058323c
add esp, 4
push eax
push str._wsX
push 0x5f51b8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00417530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x485620
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
push 0
push 0
push 0x400
push 0x400
push 0xff
push 6
push 0x40000003
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5f53c0
call fcn.00412760
lea eax, [ebp - 0x10]
push eax
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.004192d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x487d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x487da4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x487e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x24], ecx
push 0x5b59c4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00571df0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x34]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
push 0x10
call fcn.004870a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x487ef7
push 0x26200a
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00486b10
mov dword [ebp - 0x20], eax
jmp 0x487efe
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x489ab0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x489ae3
xor eax, eax
jmp 0x489b01
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x48a260
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.004192d0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48a2a5
push 0x5b5c78
mov ecx, dword [ebp + 0xc]
call fcn.004186b0
push 0x5b5c7c
mov ecx, dword [ebp + 0x10]
call fcn.004186b0
xor al, al
jmp 0x48a3f0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48a3ee
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.004192d0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x5b5c80
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48a30c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 8]
push edx
push 0x5b5c84
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48a3e4
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx]
push eax
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, word [eax + edx]
push ecx
push str.StringFileInfo_04x_04xFileDescription
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + eax]
push edx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48a3bc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004186b0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48a3e4
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004186b0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x48a400
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3235
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
mov dword [ebp - 0x18], 0
push str.R3l4xczIXFEx0oqDhY
lea ecx, [ebp - 0x1c]
call fcn.004128a0
mov dword [ebp - 4], 0
push 0x5b6104
lea ecx, [ebp - 0x10]
call fcn.004128a0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x20], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x48a4d7
mov dword [ebp - 0x254], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x250]
push eax
call fcn.00572370
add esp, 0xc
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48a4cd
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x20]
jne 0x48a4b9
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call fcn.0048a7e0
add esp, 8
jmp 0x48a4cd
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48a499
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.00420310
movzx eax, al
test eax, eax
je 0x48a52d
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00412760
mov eax, dword [ebp + 8]
push eax
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004168d0
mov eax, dword [ebp + 8]
jmp 0x48a560
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00412760
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004168d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48ac30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ef3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push 5
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x5b5eb8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x20
ja 0x48ae04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
push str.ZWt4gcxUZMFxcQTCAw
lea ecx, [ebp - 0x24]
call fcn.004128a0
mov dword [ebp - 4], 0
push str.UWdv5TSIPYADoYlCSw43IxUKzIyUlDHSImRFAo_2DgId0Pz4V
lea ecx, [ebp - 0x20]
call fcn.004128a0
mov byte [ebp - 4], 1
push str.djk3YMVBcYdF4SLXAoUpGkwRDUwQEeU1QQ1WEJdPAg
lea ecx, [ebp - 0x1c]
call fcn.004128a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004129b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00412760
lea eax, [ebp - 0x38]
push eax
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
call fcn.004192d0
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.0041fe00
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004168d0
push 0x5b5fb4
lea ecx, [ebp - 0x18]
call fcn.004128a0
mov byte [ebp - 4], 5
push 0x5b5fb8
lea ecx, [ebp - 0x14]
call fcn.004128a0
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00412760
lea ecx, [ebp - 0x58]
push ecx
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00412760
lea eax, [ebp - 0x54]
push eax
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0047c420
add esp, 0x14
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.004168d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.004168d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004168d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004168d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004168d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48f400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x48f41a
jmp 0x48f50b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
push 0x100
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48f50b
mov edx, 3
mov word [ebp - 0x38], dx
mov dword [ebp - 0x30], 0xc354
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x10]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
push 0x7533
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x24]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48f4fd
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 0x28]
mov dword [ebp - 8], eax
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov esp, ebp
pop ebp
ret 4