joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c880
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x40c89a
mov eax, dword [ebp - 0x40]
sub eax, 0x54
mov dword [ebp - 0x44], eax
jmp 0x40c8a1
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x40c92d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.004121a0
mov ecx, eax
call fcn.0042e470
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041cea0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40c91c
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0041cf30
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x40c92b
mov dword [ebp - 4], 0
jmp 0x40c948
mov ecx, dword [ebp + 0xc]
call fcn.0042e470
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00412170
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40c963
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x54
call fcn.0040f530
jmp 0x40c9c6
cmp dword [ebp + 0x14], 0
je 0x40c9c6
cmp dword [ebp + 0x18], 0
je 0x40c9c6
mov ecx, dword [ebp + 0xc]
call fcn.0041cef0
cmp eax, dword [ebp + 0x1c]
jle 0x40c9c6
mov dword [ebp - 0x38], 1
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041cef0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x54
call fcn.0040f990
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x410c90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x57e9a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0
push 0x90
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.0050a520
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x410d10
cmp dword [ebp - 0x9c], 5
jae 0x410d04
cmp dword [ebp - 0x9c], 4
jne 0x410d10
cmp dword [ebp - 0x98], 0x5a
jb 0x410d10
mov dword [ebp - 0xa8], 0
jmp 0x410d1a
mov dword [ebp - 0xa8], 1
mov al, byte [ebp - 0xa8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00509f49
mov esp, ebp
pop ebp
ret

Function at 0x413a20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 8]
call fcn.0042e470
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413a61
mov eax, 1
jmp 0x413a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
jne 0x413a73
mov eax, 2
jmp 0x413a75
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x416e00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00416e70
movzx eax, al
test eax, eax
je 0x416e5d
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.0042e470
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x416e37
mov al, 1
jmp 0x416e5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4d3
jne 0x416e4b
jmp 0x416e5d
cmp dword [ebp - 4], 2
jne 0x416e53
jmp 0x416e5d
cmp dword [ebp - 4], 0x15
je 0x416e5b
jmp 0x416e5d
jmp 0x416e09
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4197d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x4197d9
xor ecx, ecx
jne 0x4197d9
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x419812
call fcn.00419700
jmp 0x419828
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x419826
push 0x26
call fcn.00419720
add esp, 4
jmp 0x419828
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41eb90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00425d60
cmp eax, 0xffffffff
je 0x41ec15
cmp dword [ebp - 0x14], 8
jne 0x41ec15
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x41ec15
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00425c40
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41ec30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0x20
jne 0x41ec76
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00425d30
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41ec76
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x41ec76
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.00425c40
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00423c70
movzx ecx, byte [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x14], 0
je 0x422a03
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4229b3
mov dword [ebp - 0x18], 0
jmp 0x422981
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jge 0x4229b3
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00423c70
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 0x24]
mov byte [edx], cl
jmp 0x422978
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00423c70
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423b00
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041c930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041c910
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424b10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ebec
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004140d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004bacb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0041c850
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0041c850
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0041c850
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0041c850
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041c850
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0041c850
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004bacb0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.004bacb0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004bacb0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.004bacb0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.004bacb0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.004bacb0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.004bacb0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.004bace0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.004bacb0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.004bacb0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.004bacb0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.004bacb0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
call fcn.0041c850
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x10]
add ecx, 0xec
call fcn.004252a0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.004a83d0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.00423cc0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x10]
add ecx, 0x134
call fcn.004a83d0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x10]
add ecx, 0x14c
call fcn.004a83d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c1f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ebec
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0x17
mov ecx, dword [ebp - 0x10]
add ecx, 0x14c
call fcn.005077e0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x10]
add ecx, 0x134
call fcn.005077e0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.0041d600
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.005077e0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x10]
add ecx, 0xec
call fcn.00425310
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
call fcn.0041c910
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.00427140
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.00427140
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00427140
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.00427140
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.004250e0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.00427140
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.00427140
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.00427140
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.00427140
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00427140
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.00427140
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00427140
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0041c910
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041c910
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0041c910
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0041c910
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0041c910
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0041c910
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00427140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4345c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x57e9a8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x14]
call fcn.004140d0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00434560
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43462b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x14]
call fcn.004343c0
mov eax, dword [ebp - 0x124]
jmp 0x4346bc
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x434691
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004345c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434688
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x14]
call fcn.004343c0
mov eax, dword [ebp - 0x128]
jmp 0x4346bc
mov dword [ebp - 4], 0x100
jmp 0x434632
lea ecx, [ebp - 0x14]
call fcn.004344a0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.00434440
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.004343c0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00509f49
mov esp, ebp
pop ebp
ret 4
Function at 0x434db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x434db9
xor ecx, ecx
jne 0x434db9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x434dda
mov eax, 0xd
jmp 0x434e06
xor eax, eax
jne 0x434dc1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x434e10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x434e19
xor ecx, ecx
jne 0x434e19
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x434e3a
mov eax, 0xd
jmp 0x434e8f
xor eax, eax
jne 0x434e21
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x434e4b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x4381a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x57e9a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0x120]
call fcn.00416a30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x120]
mov dword [eax], vtable.CCurrentFolder.0
lea ecx, [ebp - 0x11c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x120]
add ecx, 4
call fcn.0041c950
mov ecx, dword [ebp - 0x120]
add ecx, 4
call fcn.0041cef0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 4
call fcn.0041cd90
movsx ecx, al
cmp ecx, 0x5c
je 0x438254
push 0x5c
mov ecx, dword [ebp - 0x120]
add ecx, 4
call fcn.00438450
cmp dword [ebp + 8], 0
je 0x43826c
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x120]
add ecx, 4
call fcn.0041c990
cmp dword [ebp + 0xc], 0
je 0x438284
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 4
call fcn.0041c990
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00509f49
mov esp, ebp
pop ebp
ret 8
Function at 0x447150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
jne 0x447182
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x447182
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov byte [edx + 4], 1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x455740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041c890
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041cef0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jl 0x4557d1
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041cd90
movsx edx, al
cmp edx, 0x5c
jne 0x4557d1
cmp dword [ebp - 0x10], 3
jl 0x4557c0
mov eax, dword [ebp - 0x10]
sub eax, 2
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cd90
movsx ecx, al
cmp ecx, 0x3a
je 0x4557d1
push 1
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
lea ecx, [ebp - 0x14]
call fcn.0046ede0
lea ecx, [ebp - 0x14]
call fcn.0042e470
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x455804
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c910
mov eax, dword [ebp - 0x1c]
jmp 0x455843
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4d3
jne 0x455818
jmp 0x45582a
cmp dword [ebp - 0x18], 2
jne 0x455820
jmp 0x45582a
cmp dword [ebp - 0x18], 0x15
je 0x455828
jmp 0x45582a
jmp 0x4557d1
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c910
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x461000
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5215b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x10]
call fcn.0041c850
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4610bc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00460ec0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
call fcn.0042e470
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00415330
mov ecx, eax
call fcn.004151a0
mov ecx, eax
call fcn.00419e10
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c930
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0041c910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041c910
lea ecx, [ebp - 0x10]
call fcn.0042e470
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00460f60
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
call fcn.0042e470
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00415330
mov ecx, eax
call fcn.004151a0
mov ecx, eax
call fcn.00419e10
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c930
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0041c910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041c910
lea ecx, [ebp - 0x10]
call fcn.0042e470
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x467ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521fab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Graphics::IGUIButton.0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004127c0
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004140d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004140d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004140d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.004a83d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.00467f30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret