joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f6c0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a13a4]
sub esp, 0xc
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
call fcn.0043b7d0
mov edi, eax
test edi, edi
je 0x42f7a8
mov esi, dword [ebp + 8]
push edi
call fcn.00468140
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x42f7a8
push 0
push edi
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test ebx, ebx
je 0x42f754
cmp ebx, dword [0x4a2bbc]
je 0x42f754
mov esi, edi
call fcn.00468640
test al, al
jne 0x42f754
mov ecx, dword [0x4a2bbc]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x42f791
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
mov eax, dword [0x49d3c8]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x42f791
push 1
push eax
call fcn.00401340
add esp, 8
cmp byte [esp + 0x13], 0
je 0x42f7a8
mov ecx, dword [0x4a2bbc]
push 0
push ebx
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4303d0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0042ac70
mov ebx, eax
test ebx, ebx
jne 0x430403
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid__The_current_thread_will_exit.
call fcn.004296d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43040f
jmp dword [eax*4 + 0x4305f0]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x43042b
push eax
xor eax, eax
call fcn.0044a5e0
add esp, 4
jmp 0x430431
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4a13a4]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
xor eax, eax
call fcn.0044a5e0
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x4304e5.67
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je case.0x4304e5.67
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4a13a4]
push 0x18
push 0
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, byte [edi]
push ecx
call fcn.00479f90
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4304e5.67
movzx edx, byte [eax + 0x430620]
jmp dword [edx*4 + 0x430604]
mov esi, 0x40
jmp 0x430514
mov esi, 0x4000
jmp 0x430514
mov esi, 0x20
jmp 0x430514
mov esi, 0x8000
jmp 0x430514
mov esi, 0x80
jmp 0x430514
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x430529
push eax
xor eax, eax
call fcn.0044a5e0
add esp, 4
jmp 0x43052f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je case.0x4304e5.67
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je case.0x4304e5.67
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43047f
cmp byte [edi], 0
je 0x430588
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00411d00
fmul qword [0x497bd8]
call fcn.00489fa0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x430590
mov byte [esp + 0x13], 1
xor edi, edi
nop
mov eax, dword [ebp + 0xc]
push eax
xor eax, eax
call fcn.0044a5e0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x4305af
test esi, esi
jne 0x43048e
jmp 0x4305b7
test esi, esi
je case.0x4304e5.67
cmp byte [esp + 0x13], 0
jne 0x4305d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43048e
push 1
push 0x64
call fcn.00401340
add esp, 8
jmp 0x430590
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x430e80
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4a09d8]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.0043b7d0
mov edi, eax
test edi, edi
je 0x430ea6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebp, [eax + 1]
jmp 0x430eab
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
mov ecx, esi
call fcn.004668b0
cmp eax, 1
je 0x430eca
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x430f4b
push ebp
push 1
call fcn.00401230
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x430eed
mov edi, dword [esi + 0xc]
jmp 0x430eef
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x430f07
test byte [edi + 0x15], 8
je 0x430f02
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x430f0c
mov eax, 0x4a3324
mov dword [eax], ebp
cmp byte [esi + 0x17], 0
jne 0x430f19
mov edi, dword [esi + 0xc]
jmp 0x430f1b
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x430f33
test byte [edi + 0x15], 8
je 0x430f2e
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x430f38
mov eax, 0x4a3324
cmp dword [eax], 0
jne 0x430f85
push 1
mov ecx, esi
call fcn.00401230
mov byte [eax], 0
jmp 0x430f85
push 1
call fcn.00401230
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x430f60
mov edi, dword [esi + 0xc]
jmp 0x430f62
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x430f7a
test byte [edi + 0x15], 8
je 0x430f75
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x430f7f
mov eax, 0x4a3324
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x430f8e
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x430fb0
cmp dword [0x4a2c08], 0
je 0x430fb0
push 1
mov ecx, 0x4a2bfc
call fcn.00403c50
pop edi
pop esi
pop ebp
pop ecx
ret 4
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
Function at 0x434590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push esi
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43461f
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push str.InstallDir
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x43461f
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x43461f
dec eax
cmp byte [esp + eax + 0x10], bl
jne 0x434611
cmp eax, ebx
je 0x434625
lea ecx, [esp + 0x10]
cmp byte [ecx + eax - 1], bl
jne 0x434625
dec eax
jne 0x434606
jmp 0x434625
inc eax
cmp eax, 0x104
jae 0x43461f
mov byte [esp + eax + 0x10], bl
jmp 0x434625
mov byte [esp + 0x10], bl
xor eax, eax
cmp esi, ebx
je 0x43463b
lea ecx, [esp + 0x10]
mov edx, ecx
sub esi, edx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x434631
pop esi
pop ebx
add esp, 0x10c
ret
Function at 0x4375e0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x4a09d8]
push ebx
push edi
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [esi]
test cl, cl
je 0x4376bd
cmp byte [esi + 1], 0
jne 0x437640
mov byte [esp + 0x10], cl
cmp cl, 0xa
jne 0x43761f
mov al, 0xd
jmp 0x4376b2
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x4376b2
cmp al, 0xff
jne 0x4376b2
xor al, al
jmp 0x4376b2
movzx edi, cl
test edi, 0xffffff80
jne 0x43765d
push 2
push edi
call fcn.0047814e
add esp, 8
test eax, eax
je 0x43765d
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x56
jne 0x437681
mov al, byte [esi + 1]
call fcn.00408bc0
cmp al, 0x4b
jne 0x437681
push 0x10
lea eax, [esi + 2]
push 0
push eax
call fcn.00478594
add esp, 0xc
jmp 0x4376b2
xor edi, edi
mov eax, dword [edi*8 + 0x49e108]
push esi
push eax
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x4376ee
inc edi
cmp edi, 0x6d
jl 0x437683
mov eax, esi
call fcn.00410e90
movzx ecx, ax
test cx, cx
je 0x4376bd
call fcn.004115c0
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
jne 0x437735
push 0
lea ebx, [esp + 0x14]
mov eax, esi
call fcn.00445c20
mov edi, eax
add esp, 4
test edi, edi
jne 0x4376fb
mov ecx, dword [esp + 0x14]
push 1
push eax
push 0xffffffffffffffff
push 0x49588a
call fcn.004668b0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov cl, byte [edi*8 + 0x49e10c]
mov byte [esp + 0xf], cl
jmp 0x4376b6
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], edx
call fcn.00445ec0
fstp st(0)
mov edi, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x18]
call fcn.004662d0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
movzx ebx, byte [ecx]
test ebx, 0xffffff80
jne 0x437755
push 2
push ebx
call fcn.0047814e
add esp, 8
test eax, eax
je 0x437755
and bl, 0xdf
cmp bl, 0x50
je 0x437768
xor eax, eax
cmp bl, 0x54
setne al
dec eax
and eax, 2
jmp 0x43776d
mov eax, 1
mov bl, byte [esp + 0xf]
push eax
call fcn.00445e10
add esp, 4
test al, al
mov eax, 0x494ddc
jne 0x437788
mov eax, 0x494de0
mov ecx, dword [esp + 0x14]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4377a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a13a4]
sub esp, 0x130
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
mov esi, eax
call fcn.004668b0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004668b0
test esi, esi
je 0x437928
cmp byte [esi], 0
je 0x437928
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0047a8e0
lea eax, [esp + 0x3c]
add esp, 0xc
mov byte [esp + 0x134], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437810
sub eax, edx
cmp byte [esp + eax + 0x2f], 0x5c
je 0x437839
lea ecx, [eax + 1]
cmp ecx, 0x105
jae 0x437928
mov byte [esp + eax + 0x30], 0x5c
mov byte [esp + eax + 0x31], 0
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test byte [0x4a3d08], 1
jne 0x43786f
or dword [0x4a3d08], 1
push str.GetDiskFreeSpaceExA
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a3d04], eax
jmp 0x437874
mov eax, dword [0x4a3d04]
test eax, eax
je 0x4378c2
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
push ecx
call eax
test eax, eax
je 0x437928
cmp byte [ebp + 8], 0
je 0x4378af
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x437904
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x437904
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x437928
cmp byte [ebp + 8], 0
mov eax, dword [esp + 0x14]
jne 0x4378f3
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 8]
shr eax, 0x14
mov esi, eax
xor edi, edi
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
mov eax, dword [0x4a09d8]
push 0x18
push edi
push esi
call fcn.004010d0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x438ae0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x438b20
cmp byte [0x4a30e4], al
je 0x438bc6
mov ecx, dword [0x4a13a4]
push 1
push eax
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4a30e4], 0
mov esi, 0x4a13a8
jne 0x438b32
lea esi, [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0x104
call ebx
test eax, eax
je 0x438b91
cmp byte [edi], 0
je 0x438ba7
cmp byte [edi + 1], 0x3a
jne 0x438ba7
cmp byte [edi + 2], 0
jne 0x438ba7
push esi
push edi
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x438ba7
push edi
lea eax, [esp + 0xc]
push 0x49504c
push eax
call fcn.00477162
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x438ba7
push esi
push 0x104
call ebx
test eax, eax
jne 0x438ba7
push 0x103
push edi
push esi
call fcn.0047a8e0
mov byte [esi + 0x103], 0
add esp, 0xc
cmp byte [0x4a30e4], 0
je 0x438bc6
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4391d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
test esi, esi
je 0x43930a
cmp byte [esi], 0
je 0x43930a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43923e
mov ecx, dword [0x49d3c8]
shr eax, 4
not eax
test al, 1
mov dword [ecx + 0x30], 0xb7
mov eax, 0x4916f4
jne 0x439223
mov eax, 0x4900b0
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5c
push esi
call fcn.00478bf7
mov ebx, eax
add esp, 8
cmp ebx, esi
jbe 0x4392c2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439254
sub eax, edx
cmp eax, 0x104
jb 0x439276
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], 0x6f
jmp 0x439316
mov edi, ebx
sub edi, esi
push edi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0047a8e0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + edi + 0x14], 0
call fcn.004391d0
cmp byte [ebx + 1], 0
je 0x4392b4
mov ecx, dword [0x4a13a4]
push 1
call fcn.00401230
cmp byte [eax], 0x31
jne 0x4392c2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc esi
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], eax
mov eax, 0x4916f4
jne 0x439223
mov ecx, dword [0x4a13a4]
push 1
push 0
mov eax, 0x4900b0
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x49d3c8]
mov dword [eax + 0x30], 0x57
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43a870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a13a4]
sub esp, 0x84
push esi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
mov esi, eax
call fcn.004668b0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004668b0
test esi, esi
je 0x43a91d
cmp byte [esi], 0
je 0x43a91d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43a8d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x49d3c8]
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
mov dword [edx + 0x30], 0
call fcn.004668b0
mov edx, esi
lea eax, [esp + 8]
call fcn.00464ef0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x49d3c8]
mov dword [eax + 0x30], 0x57
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445e10
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x445e17
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x445e3f
dec eax
je 0x445e31
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
ret
lea edx, [ebx - 1]
cmp dl, 5
ja 0x445e4c
cmp bl, 3
jne 0x445e53
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x445e79
cmp dword [0x4a0b6c], 0
je 0x445e69
movzx ecx, bl
mov al, byte [ecx + 0x4a0a58]
shr al, 7
ret
movzx edx, bl
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
cmp dword [0x4a0b68], 0
je 0x445ea8
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.00410a20
test al, al
je 0x445e9b
push 1
call fcn.00410850
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4a0a58]
shr al, 7
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
Function at 0x4492f0
Capabilities:
Create shortcut via ishelllink
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a13a4]
sub esp, 0x214
push esi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
mov esi, eax
call fcn.004668b0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x48d710
push 1
push 0
push 0x48d720
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4494bc
mov eax, dword [esp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp byte [esi], 0
je 0x449360
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp byte [edi], 0
je 0x449372
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
je 0x449387
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov esi, dword [ebp + 0x14]
cmp byte [esi], 0
je 0x4493cb
cmp byte [ebx], 0
je 0x4493bb
mov eax, ebx
call fcn.0040c270
test al, al
je 0x4493af
push 0x10
push 0
push ebx
call fcn.00478594
add esp, 0xc
dec eax
jmp 0x4493bd
push ebx
call fcn.00478196
add esp, 4
dec eax
jmp 0x4493bd
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x44]
push esi
push ecx
call eax
mov esi, dword [ebp + 0x18]
cmp byte [esi], 0
je 0x44940c
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 0
xor edx, edx
mov eax, esi
call fcn.00410f30
add esp, 8
test al, al
je 0x44940c
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
movzx eax, al
mov esi, 0x600
or ax, si
movzx eax, ax
push eax
push ecx
mov ecx, dword [edx + 0x34]
call ecx
mov esi, dword [ebp + 0x1c]
cmp byte [esi], 0
je 0x449444
mov eax, esi
call fcn.0040c270
test al, al
je 0x44942e
push 0x10
push 0
push esi
call fcn.00478594
add esp, 0xc
jmp 0x449437
push esi
call fcn.00478196
add esp, 4
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x48d730
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4494b0
mov edx, dword [ebp + 0xc]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x4494a4
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4494d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x44959b
cmp byte [eax], bl
je 0x44959b
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449510
sub eax, edx
cmp eax, ebx
je 0x44952a
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x44952a
mov byte [eax], bl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449531
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea edx, [esp + 4]
lea eax, [esp + 0x28]
mov ecx, 0x54
push edx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
mov eax, 0x4916f4
jne 0x449585
mov eax, 0x4900b0
mov ecx, dword [0x4a13a4]
push 1
push ebx
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4a13a4]
push 1
push ebx
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449650
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x4a13a4]
sub esp, 0x8c
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
mov edi, eax
call fcn.004668b0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004668b0
test edi, edi
je 0x449799
cmp byte [edi], 0
je 0x449799
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x4496c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], eax
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00476de3
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x449775
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x493854
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x449775
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
mov esi, 0x80
lea edi, [esp + 0x2c]
call fcn.00463ff0
add esp, 0x14
push ebx
call fcn.004785bf
mov edx, dword [0x49d3c8]
mov ecx, dword [0x4a13a4]
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
mov dword [edx + 0x30], 0
call fcn.004668b0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
mov eax, edi
push eax
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
push ebx
mov dword [ecx + 0x30], eax
call fcn.004785bf
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x49d3c8]
pop edi
pop esi
mov dword [edx + 0x30], 0x57
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret