joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408cb9
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x408d4b
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x408d14
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x408d12
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1b26
push 0x12ae
push 0x23ab
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x408d49
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x408d49
push 0x8c8
push 0x1d9f
push 0x1606
push 0x233a
push 0x484
call dword [sym.imp.GDI32.dll_Rectangle]
jmp 0x408d68
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x2a05
push 0
push 0x5c19
call fcn.00415504
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x414254
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x414281
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0
push 0x753c
push 0x4100
call fcn.00419420
add esp, 0x10
jmp 0x4142b6
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41429b
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x4142b6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4142b6
push 0x24d3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esp, ebp
pop ebp
ret
Function at 0x41552b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x415565
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x6372
call fcn.004155a3
add esp, 0x14
jmp 0x41559f
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41558b
push 0x1dfa
push 0
push 0
push 0xe9c
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
jmp 0x41559f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41559f
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret

Function at 0x415ef3
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x415f6c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x415f49
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x415f47
push 0x1dfa
push 0
push 0
push 0xe9c
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
jmp 0x415f6a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x415f6a
push 0x133d
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x415f84
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x5ff1
push 1
call fcn.00415843
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x419484
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4194f1
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4194c7
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0xc], 0
jmp 0x4194ef
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4194ef
push 0x12a8
push 0
push 0x20d0
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x419548
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x41951e
push 0x754
push 0xfc
push 0x100d
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x419548
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x419548
push 0x1dfa
push 0
push 0
push 0xe9c
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov esp, ebp
pop ebp
ret
Function at 0x41aabd
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ab75
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41ab52
push 2
lea ecx, [ebp - 0x38]
call fcn.00421789
mov dword [ebp - 0x10], 0xdf1febae
mov dword [ebp - 0xc], 0
jmp 0x41ab00
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x41ab19
push dword [ebp - 0xc]
lea ecx, [ebp - 0x38]
call fcn.0042182a
mov dword [eax], 0xfffffff7
jmp 0x41aaf9
mov dword [ebp - 0x10], 1
jmp 0x41ab29
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x41ab48
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41ab46
push 0x133d
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x41ab22
lea ecx, [ebp - 0x38]
call fcn.00421825
jmp 0x41ab73
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x41ab73
push 0x838
push 0x1514
push 0x1f89
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x41abef
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x41abdb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41abbf
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x41abd9
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.0042182a
and dword [eax], 0
jmp 0x41abb4
jmp 0x41abef
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x41abef
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esp, ebp
pop ebp
ret
Function at 0x41ac10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ac99
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41ac64
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x41ac97
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004a0beb
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x41acca
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x41acba
push 1
push 0
push 0x14b8
call dword [sym.imp.USER32.dll_SetWindowRgn]
jmp 0x41acca
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov esp, ebp
pop ebp
ret
Function at 0x41b362
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41b40e
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41b3be
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x41b3bc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x41b409
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x41b3ec
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x41b409
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.0042182a
mov dword [eax], 1
jmp 0x41b3e1
jmp 0x41b4a7
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x41b45c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x41b45a
push 0
push 0x1a36
push 0
push 0x1d80
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
jmp 0x41b4a7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41b48a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x41b4a7
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.0042182a
mov dword [eax], 0xfffffff7
jmp 0x41b47f
mov esp, ebp
pop ebp
ret
Function at 0x41c47e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x41c501
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41c4b4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41c4ff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x41c4e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x41c4ff
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.0042182a
mov dword [eax], 0xeadd5d0
jmp 0x41c4d7
jmp 0x41c522
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x6322
call fcn.00415d87
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x41ebd6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ec4d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41ec41
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41ec1c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x41ec3f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41ec3d
push 0xd3f
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x41ec11
jmp 0x41ec4b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x41ec6f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x5578
push 0x641d
push 0
push 0x4921
push dword [ebp - 0x18]
call fcn.0041e54a
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x433918
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
push 3
lea ecx, [ebp - 0x1c]
call fcn.00421789
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x433941
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax + ecx*4], 0xe387fb0b
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x433931
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 4], ebx
je 0x4339a3
mov dword [ebp - 4], 0xaa165420
mov dword [ebp - 4], ebx
jmp 0x433969
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x48], 0xdee21afa
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x43395b
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
setne dl
xor ecx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x9dce
setle cl
xor eax, eax
cmp ecx, 0xfffc
setne al
mov dword [edi + 4], eax
jmp 0x433a7b
push esi
xor eax, eax
lea ecx, [ebp - 0x28]
inc eax
push 2
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
pop esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push esi
call fcn.00421789
push 0xfffffffffffffff7
pop edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jmp 0x4339d9
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov dword [eax + ecx*4], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x4339cd
mov dword [ebp - 4], ebx
jmp 0x4339f1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x10], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x4339e3
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x34], esi
jg 0x433a60
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + ecx*4], ebx
jne 0x433a60
cmp dword [ebp - 0x34], ebx
jne 0x433a1d
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + ecx*4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x34]
mov edx, 0x43b9c309
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
sub edx, dword [eax + ecx*4]
mov dword [ebp - 4], edx
xor edx, edx
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + ecx*4], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
setge dl
add ecx, edx
mov dword [eax + esi*4], ecx
mov dword [ebp - 8], 0xfffffff7
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 2
jle 0x4339fe
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ebx
call fcn.00421a31
pop esi
lea ecx, [ebp - 0x1c]
call fcn.00421a31
push ebx
push 0x2092
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43880f
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x438896
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x438846
push 0x133d
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x438891
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x438874
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x438891
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.0042182a
mov dword [eax], 0xfffffff7
jmp 0x438869
jmp 0x4389b8
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x48], 0x383c67ee
mov dword [ebp - 4], 0
jmp 0x4388b4
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x4388c7
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x54], 9
jmp 0x4388ad
mov dword [ebp - 4], 0
jmp 0x4388d7
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x4388ea
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x44], 0x8d3a18e4
jmp 0x4388d0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x10], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp + eax - 0x44], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp eax, dword [ebp - 0x10]
jl 0x43891c
mov dword [ebp - 0x14], 1
jmp 0x438920
and dword [ebp - 0x14], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
add eax, dword [ebp - 0x14]
cmp eax, 0x3358
jl 0x43893d
mov dword [ebp - 0x18], 1
jmp 0x438941
and dword [ebp - 0x18], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0x54], ecx
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jl 0x438972
mov dword [ebp - 0x20], 1
jmp 0x438976
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], eax
jne 0x438987
mov dword [ebp - 0x24], 1
jmp 0x43898b
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 7
jge 0x43899a
mov dword [ebp - 0x28], 1
jmp 0x43899e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
push 0x72fb
push 0x1a46
push 0
call fcn.00438d8e
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x438a02
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x438a67
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x438a4e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x438a4c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x438a65
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x438a65
push 0x1cb8
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
jmp 0x438ad0
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x658f
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0043a525
add esp, 0x30
mov esp, ebp
pop ebp
ret

Function at 0x439223
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x439273
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x439269
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x439267
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x439271
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
jmp 0x439287
push 0
push 0x4162
push 0x13df
call fcn.00438e9f
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x439526
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x439556
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0xc8b
push 0x63c6
push 1
call fcn.00439628
add esp, 0x10
jmp 0x439624
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x439606
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0x38]
call fcn.0042182a
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 4
jne 0x4395c6
mov dword [ebp - 0x10], 1
jmp 0x4395ca
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0x250d
mov ecx, dword [ebp - 8]
imul eax, dword [ecx]
cmp dword [ebp - 0x10], eax
jg 0x4395e8
mov dword [ebp - 0x14], 1
jmp 0x4395ec
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x439624
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x439624
push 0x12a8
push 0
push 0x20d0
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esp, ebp
pop ebp
ret

Function at 0x43a384
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43a3df
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43a3c0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x43a3dd
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0042182a
mov dword [eax], 7
jmp 0x43a3b5
jmp 0x43a3e7
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esp, ebp
pop ebp
ret