joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x4338ba
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00433cd0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00423af0
push eax
push 2
push 0x53d4ac
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
lea ecx, [ebp - 4]
call fcn.0040c650
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x433e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
jne 0x433e8a
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00433cd0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00423af0
push eax
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
lea ecx, [ebp - 4]
call fcn.0040c650
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x433ea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004084c0
movzx eax, al
test eax, eax
je 0x433f43
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00433cd0
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.00423af0
push eax
push 0x104
push 0x104
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0040a680
push eax
push str.kxetray
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c650
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0040c000
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a580
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4342d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4342f9
xor eax, eax
jmp 0x434390
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434314
xor eax, eax
jmp 0x434390
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43432f
xor eax, eax
jmp 0x434390
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434346
xor eax, eax
jmp 0x434390
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0040e4b0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x434372
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b5780
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00416780
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4345b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.0040c630
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x4345fb
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00408510
jmp 0x434607
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00408510
lea ecx, [ebp - 0x10]
call fcn.004084c0
movzx edx, al
test edx, edx
jne 0x434723
lea ecx, [ebp - 0x1c]
call fcn.0040c630
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push str._s_d._s
lea eax, [ebp - 0x1c]
push eax
call fcn.0040bc40
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x434717
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x43470d
mov dword [ebp - 0x24], 0
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xa
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e4b0
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434703
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jne 0x434703
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00416780
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov eax, dword [ebp - 0x28]
jmp 0x43473b
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00416780
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040c650
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434d90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52679b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.00434d30
mov ecx, dword [ebp - 0x38]
call fcn.00423af0
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00434fa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004084c0
movzx ecx, al
test ecx, ecx
jne 0x434df4
lea ecx, [ebp - 0x1c]
call fcn.00423af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434e08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
jmp 0x434f86
lea ecx, [ebp - 0x28]
call fcn.00432950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x28]
call fcn.004329f0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
call fcn.00432810
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x434e64
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004329c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
jmp 0x434f86
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00431b30
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0
je 0x434ece
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
push fcn.00432a20
push fcn.0045d300
mov eax, dword [ebp - 0x2c]
push eax
push 8
mov ecx, dword [ebp - 0x34]
add ecx, 4
push ecx
call fcn.004b6b55
mov edx, dword [ebp - 0x34]
add edx, 4
mov dword [ebp - 0x3c], edx
jmp 0x434ed5
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x434f0e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004329c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
jmp 0x434f86
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00432840
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x434f34
cmp dword [ebp - 0x18], 0
jg 0x434f59
mov ecx, dword [ebp - 0x38]
call fcn.00434d30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004329c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
jmp 0x434f86
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0xc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004329c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x435100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
push 0x20e
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004b3d60
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a960
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525bb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00435fc0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.BkWin::BkLayoutParam.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0040c630
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], SysReAllocString
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], SysReAllocString
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0xffffffff
push str.layout_
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0040c670
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x438640
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526744
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00435fc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0043c3d0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CBkWindow.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CBkWindow.1.0
mov edx, dword [ebp - 0x10]
push edx
call fcn.00438470
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0042ff10
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0040c630
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0040c630
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.0040c630
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0040c630
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov word [eax + 0x60], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x68], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xa8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xac], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xb0], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xb8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc0], 0
cmp dword [ebp - 0x10], 0
je 0x438806
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x43880d
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00437870
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x100], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x104], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0045d3f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x441e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00441ed0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x441ea4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x441ea4
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x452000
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x45202d
call fcn.0044ff90
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x45202d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x45205f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x45205f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45205f
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x4dc], 0
push ecx
mov ecx, esp
push 0
call fcn.0040a610
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00453540
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4520a2
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4521c4
mov eax, dword [ebp - 8]
push eax
call fcn.0044ff50
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x4520c3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004538b0
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x4d0], 0
je 0x45214b
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
je 0x452129
push 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x45214b
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0x1c]
call fcn.00453a40
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x4dc], 0
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0045cfa0
cmp dword [ebp - 4], 0
je 0x4521aa
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 8], 0
je 0x4521aa
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx + 4]
jne 0x4521aa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0xc]
push eax
call fcn.0044ff50
add esp, 4
mov ecx, dword [ebp - 0x1c]
call fcn.0045d560
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x28]
mov esp, ebp
pop ebp
ret 8
Function at 0x455bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0045c6a0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x3c0], 0
je 0x455c18
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x3c0], 0
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x3b4], 0
je 0x455cff
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x3b4]
push ecx
call fcn.00438420
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x455cf2
push 2
push 0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00457350
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0x3b4]
cmp edx, dword [ecx + 0x3b0]
jne 0x455cf2
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp + 8]
push ecx
push 0x202
mov ecx, dword [ebp - 8]
call fcn.00438bc0
mov ecx, dword [ebp - 8]
call fcn.00438e90
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x455cd4
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x455cd4
push 1
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x455cf2
mov ecx, dword [ebp - 8]
call fcn.004079f0
test eax, eax
je 0x455cf2
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.004079f0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x3b4], 0
cmp dword [ebp - 0xc], 0
je 0x455d63
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0045d670
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0045d690
mov ecx, eax
call fcn.00423af0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4568e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0045c3e0
test eax, eax
je 0x456945
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x45693b
cmp dword [ebp + 8], 0x1b
jne 0x456921
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0045d6c0
jmp 0x45693b
cmp dword [ebp + 8], 0xd
jne 0x45693b
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0045d6c0
push 0
mov ecx, dword [ebp - 4]
call fcn.00456cb0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4627b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00462ac0
test eax, eax
jne 0x4627cf
push 0
mov ecx, dword [ebp - 4]
call fcn.0043b8a0
jmp 0x462812
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462812
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x108]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov esp, ebp
pop ebp
ret

Function at 0x4629d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00462ac0
test eax, eax
jne 0x4629f4
push 0
mov ecx, dword [ebp - 8]
call fcn.0043b8a0
jmp 0x462a7d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0043b210
cmp dword [ebp + 8], 0
je 0x462a47
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, 1
test eax, eax
je 0x462a47
mov ecx, dword [ebp - 4]
call fcn.0045ac90
push eax
call fcn.00438420
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x462a35
jmp 0x462a47
push 0
mov ecx, dword [ebp - 4]
call fcn.00438dc0
test eax, eax
jne 0x462a45
jmp 0x462a7d
jmp 0x462a10
cmp dword [ebp + 8], 0
je 0x462a6b
push 0x67
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x462a7d
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 8