joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460f7e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729b46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov dword [ebp - 0x1e4], ecx
cmp dword [ebp + 0xc], 0xd0
jbe 0x461104
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x204
mov edx, dword [ebp - 0x1e4]
mov eax, dword [edx + 0x204]
call dword [eax + 0x10]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1ec]
call fcn.00404cf0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
and eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.00709388
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x204
mov eax, dword [ebp - 0x1e4]
mov edx, dword [eax + 0x204]
call dword [edx + 0x28]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x204
mov edx, dword [ebp - 0x1e4]
mov eax, dword [edx + 0x204]
call dword [eax + 0x34]
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x18], ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x204
mov eax, dword [ebp - 0x1e4]
mov edx, dword [eax + 0x204]
call dword [edx + 0x28]
mov eax, dword [ebp - 0x18]
add eax, 0xc0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
cmp edx, 0x6e
jne 0x4610be
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax + 1]
cmp ecx, 0x65
jne 0x4610be
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx + 2]
test eax, eax
jne 0x4610be
mov dword [ebp - 0x1f0], 0
jmp 0x4610c8
mov dword [ebp - 0x1f0], 1
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x4610fd
cmp dword [ebp - 0x14], 0
jne 0x4610f7
push 1
lea edx, [ebp - 0x1dc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1e4]
call fcn.00461934
jmp 0x4610fb
xor eax, eax
jmp 0x461109
jmp 0x461104
mov eax, 1
jmp 0x461109
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5a043c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0x788868
push 0x127
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
push 0x2004
mov eax, dword [ebp - 4]
push eax
push 0x7a600c
call fcn.006ede90
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 0x2004
mov dword [ebp - 4], ecx
push 0x2004
mov edx, dword [ebp - 4]
push edx
push 0x7a4008
call fcn.006ede90
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x4010
mov dword [ebp - 4], eax
push 0x200
mov ecx, dword [ebp - 4]
push ecx
push 0x7a9f14
call fcn.006ede90
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x4210
mov dword [ebp - 4], edx
push 0x1008
mov eax, dword [ebp - 4]
push eax
push 0x7aa11c
call fcn.006ede90
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 0x5220
mov dword [ebp - 4], ecx
push 0x48b0
mov edx, dword [ebp - 4]
push edx
push 0x7ab124
call fcn.006ede90
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x9ad0
mov dword [ebp - 4], eax
push 0x1f00
mov ecx, dword [ebp - 4]
push ecx
push 0x7a8010
call fcn.006ede90
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [edx], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5b136a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov dword [ebp - 0x18c], ecx
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 8], 2
jl 0x5b138f
mov eax, 1
jmp 0x5b1540
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
movsx eax, byte [ebp + eax - 0x101]
cmp eax, 0x5c
je 0x5b13cd
push 0x788c30
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x788c34
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x4000
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.DLL_OpenFile]
cmp eax, 0xffffffff
je 0x5b1411
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x7afae4], eax
jmp 0x5b1456
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 4], 0
je 0x5b144c
mov ecx, 1
test ecx, ecx
je 0x5b1432
mov dword [ebp - 0x190], 0
jmp 0x5b144c
lea edx, [ebp - 0x100]
push edx
push 0x788c44
call fcn.0042f8a0
add esp, 8
mov dword [ebp - 0x190], eax
mov dword [0x7afae4], 0
cmp dword [0x7afae4], 0
je 0x5b14e7
push 0x788c64
mov eax, dword [0x7afae4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x7afae0], eax
cmp dword [0x7afae0], 0
je 0x5b149b
mov dword [0x7afae8], 1
push 2
mov ecx, dword [ebp - 0x18c]
call fcn.005b102d
jmp 0x5b14e5
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 4], 0
je 0x5b14cf
mov edx, 1
test edx, edx
je 0x5b14bc
mov dword [ebp - 0x194], 0
jmp 0x5b14cf
push 0x788c70
call fcn.0042f8a0
add esp, 4
mov dword [ebp - 0x194], eax
mov eax, dword [0x7afae4]
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [0x7afae4], 0
jmp 0x5b14f1
mov dword [0x7afae0], 0
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 8], 2
je 0x5b1531
mov edx, dword [ebp - 0x18c]
cmp dword [edx + 4], 0
je 0x5b1531
mov eax, 1
test eax, eax
je 0x5b151e
mov dword [ebp - 0x198], 0
jmp 0x5b1531
push 0x788c94
call fcn.0042f8a0
add esp, 4
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x18c]
xor eax, eax
cmp dword [ecx + 8], 2
setge al
mov esp, ebp
pop ebp
ret
Function at 0x5c4645
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
and ecx, dword [0x73a7d8]
test ecx, ecx
jne 0x5c474d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
and eax, dword [0x73a7dc]
test eax, eax
jne 0x5c474d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], 0
jge 0x5c4695
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.005c491e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
cdq
push edx
push eax
push esi
push ecx
call fcn.006f1280
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x5c4703
push 1
mov ecx, 0x7b0988
call fcn.005e4587
call fcn.006f1264
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
or eax, dword [0x73a7dc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [0x73a7e8]
not edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
and ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
and ecx, dword [0x73a7e0]
test ecx, ecx
je 0x5c474d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
or eax, dword [0x73a7e8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.005c4f20
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.007090f2
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0
mov eax, dword [0x73a7d4]
not eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
and edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5c47a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004d7090
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.005c3ebd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x50]
cdq
push edx
push eax
push esi
push ecx
call fcn.006f1280
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.007090f2
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.007090c9
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x4c], ecx
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x5c4878
push 1
mov ecx, 0x7b0988
call fcn.005e4587
call fcn.006f1264
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x4c]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004d7090
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
or edx, dword [0x73a7d4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [0x73a7e0]
not ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
and eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
and eax, dword [0x73a7e8]
test eax, eax
je 0x5c4901
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
or edx, dword [0x73a7e0]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x1c], eax
jmp 0x5c490b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.005c4e70
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5c4acb
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7311ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], 0x20
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xc], 0
push 0x40
push 0x788e4c
push 0x788e54
mov ecx, 0x79ddf8
call fcn.007223bc
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x14]
shl eax, 0x14
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x14], 0x1400000
jge 0x5c4b68
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x14], 0x1400000
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x14], eax
jle 0x5c4b8a
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.00404cd0
mov dword [ebp - 4], 0
push 0x788e60
lea ecx, [ebp - 0x14]
call fcn.007094c5
mov byte [ebp - 4], 1
push 0x788e70
push 0x788e74
push 0x788e7c
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x79ddf8
call fcn.00722428
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0070956b
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00709475
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00709388
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00404cf0
mov dword [ebp - 0x5c], eax
push 0
push 0x4000000
push 4
push 0
push 2
push 0xc0000000
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x34], 0xffffffff
jne 0x5c4c76
push 0
mov ecx, 0x7b0988
call fcn.005e4587
mov ecx, dword [ebp - 0x4c]
add ecx, 0x48
call fcn.00404cf0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [ebp - 0x60]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x40]
push eax
call fcn.0070ae1e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00709388
jmp 0x5c4dd5
mov dword [ebp - 4], 0
push 0xa
push 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x18
call fcn.005c5020
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00709388
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d1397
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x5d14fb
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00710680
mov dword [ebp - 0x214], eax
push 0x100
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.006ed960
add esp, 0xc
push 0x100
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.006ed960
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0
jmp 0x5d1435
mov eax, dword [ebp - 0x208]
add eax, 1
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x210]
jge 0x5d14e1
mov edx, dword [ebp - 0x208]
movsx eax, byte [ebp + edx - 0x104]
test eax, eax
je 0x5d14e1
mov ecx, dword [ebp - 0x208]
movsx edx, byte [ebp + ecx - 0x104]
push edx
call fcn.006f0234
add esp, 4
test eax, eax
jne 0x5d14a7
mov eax, dword [ebp - 0x208]
movsx ecx, byte [ebp + eax - 0x104]
cmp ecx, 0x2b
je 0x5d149e
mov edx, dword [ebp - 0x208]
movsx eax, byte [ebp + edx - 0x104]
cmp eax, 0x2d
jne 0x5d14d5
cmp dword [ebp - 0x20c], 0
jne 0x5d14d5
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x208]
mov al, byte [ebp + edx - 0x104]
mov byte [ebp + ecx - 0x204], al
mov ecx, dword [ebp - 0x20c]
add ecx, 1
mov dword [ebp - 0x20c], ecx
jmp 0x5d1426
mov dword [ebp - 4], 1
jmp 0x5d1426
cmp dword [ebp - 4], 0
je 0x5d14fb
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.USER32.DLL_SetWindowTextA]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00710881
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5e4526
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x7b0938], 0
je 0x5e4546
push 0
mov eax, dword [0x7b0938]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push 0x5e456a
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x7b0938], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x5e52ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
push 5
push 0
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x3c
call fcn.00404cf0
push eax
push 0x788fe0
mov ecx, dword [ebp - 8]
call fcn.00466c80
mov ecx, eax
call fcn.0044e4c0
push eax
call dword [sym.imp.SHELL32.DLL_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jg 0x5e5354
mov eax, 1
test eax, eax
je 0x5e5340
mov dword [ebp - 0xc], 0
jmp 0x5e5350
push 0x788fe8
call fcn.0042f8a0
add esp, 4
mov dword [ebp - 0xc], eax
xor eax, eax
jmp 0x5e5359
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x5e535d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x731b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x10]
call fcn.0040ea60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetMalloc]
test eax, eax
jge 0x5e53ed
mov ecx, 1
test ecx, ecx
je 0x5e53b6
mov dword [ebp - 0x248], 0
jmp 0x5e53c9
push 0x789014
call fcn.0042f8a0
add esp, 4
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ea80
mov eax, dword [ebp - 0x230]
jmp 0x5e55c5
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.DLL_SHGetSpecialFolderLocation]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jge 0x5e546d
mov ecx, 1
test ecx, ecx
je 0x5e5424
mov dword [ebp - 0x24c], 0
jmp 0x5e5437
push 0x789044
call fcn.0042f8a0
add esp, 4
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ea80
mov eax, dword [ebp - 0x234]
jmp 0x5e55c5
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetPathFromIDListA]
test eax, eax
jne 0x5e54e3
mov ecx, 1
test ecx, ecx
je 0x5e549a
mov dword [ebp - 0x250], 0
jmp 0x5e54ad
push 0x789074
call fcn.0042f8a0
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ea80
mov eax, dword [ebp - 0x238]
jmp 0x5e55c5
lea ecx, [ebp - 0x220]
call fcn.00404cd0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x244]
call fcn.007061be
push 0x78909c
lea ecx, [ebp - 0x220]
call fcn.00404cf0
push eax
lea eax, [ebp - 0x114]
push eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.006ef3ac
add esp, 0x14
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x22c]
push edx
call dword [ecx + 0x14]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.007093f6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x244]
call fcn.005e55ff
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.00709388
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00709388
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ea80
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x627b59
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x17c], 9
jge 0x627b7c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x17c]
mov dword [ebp - 0x38], edx
jmp 0x627b83
mov dword [ebp - 0x38], 9
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x627b9b
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jge 0x627d0a
mov dword [ebp - 0xc], 0
jmp 0x627bb9
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jg 0x627d05
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x34]
lea eax, [edx + ecx + 0x5c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx*4]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0070872e
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
call fcn.00433910
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0042f6e0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0070ce04
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00406840
test eax, eax
je 0x627d00
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x17c], 9
jle 0x627c54
push 0x563
mov ecx, dword [ebp - 0x34]
call fcn.0070872e
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.0050cf30
mov dword [ebp - 0x24], eax
push 0x12
call dword [sym.imp.USER32.DLL_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x627c8e
cmp dword [ebp - 0xc], 4
jne 0x627c8c
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x178]
mov eax, dword [ebp + 0x14]
mov al, byte [eax]
mov byte [ecx + edx + 2], al
mov ecx, dword [ebp - 0x34]
call fcn.006271fb
jmp 0x627d0a
cmp dword [ebp - 0xc], 0
jne 0x627cb2
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 8]
imul ecx, ecx, 3
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x178]
xor edx, edx
mov dl, byte [eax + ecx]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x627cf4
cmp dword [ebp - 0xc], 2
jne 0x627cd7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 8]
imul ecx, ecx, 3
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x178]
xor edx, edx
mov dl, byte [eax + ecx + 1]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x627cf4
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 8]
imul ecx, ecx, 3
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x178]
xor edx, edx
mov dl, byte [eax + ecx + 2]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, 0x7b0988
call fcn.005e15e3
jmp 0x627d0a
jmp 0x627bb0
jmp 0x627b92
mov esp, ebp
pop ebp
ret 0x10