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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rdx]
xor ebx, ebx
mov rbp, rcx
mov dword [rdx + 8], ebx
mov word [rax], bx
mov rcx, qword [rcx]
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
mov esi, eax
je 0x40da53
cmp eax, dword [rdi + 0xc]
jbe 0x40da20
mov edx, eax
mov rcx, rdi
call fcn.00402578
mov rdx, qword [rdi]
mov rcx, qword [rbp]
lea r8d, [rsi + 1]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
cmp esi, eax
cmova esi, eax
mov eax, ebx
mov word [rcx + rsi*2], bx
jmp 0x40da47
inc eax
add rcx, 2
cmp word [rcx], bx
jne 0x40da41
cmp esi, ebx
mov dword [rdi + 8], eax
jne 0x40da60
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
sete al
jmp 0x40da62
mov al, 1
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x424878
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rcx
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rbp, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rdx, str.CreateEncoder
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x30], rax
lea rdx, str.GetMethodProperty
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x20], rax
xor edi, edi
cmp rax, rdi
je 0x424a49
mov dword [rsp + 0xb0], 1
lea rdx, str.GetNumberOfMethods
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x42491b
lea rcx, [rsp + 0xb0]
call rax
cmp eax, edi
jne 0x424ac4
mov esi, edi
cmp dword [rsp + 0xb0], edi
jbe 0x424a49
mov eax, dword [r12 + 0x20]
dec eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8d, 3
mov edx, esi
mov rcx, qword [rbp + 0x20]
call fcn.004238fc
cmp eax, edi
jne 0x424ac4
lea rax, [rsp + 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8d, 2
mov edx, esi
mov rcx, qword [rbp + 0x20]
call fcn.004238fc
cmp eax, edi
jne 0x424ac4
mov rax, qword [rbp + 0x20]
mov word [rsp + 0x38], di
mov word [rsp + 0x3a], di
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x5a], dil
mov byte [rsp + 0x5b], dil
lea r8, [rsp + 0x38]
mov edx, 0xa
mov ecx, esi
call rax
mov ebx, eax
cmp eax, edi
je 0x4249c6
lea rcx, [rsp + 0x38]
call fcn.0040b674
jmp 0x4249f2
cmp word [rsp + 0x38], 0xb
jne 0x4249df
mov byte [rsp + 0x5b], 1
cmp word [rsp + 0x40], di
setne byte [rsp + 0x5a]
jmp 0x4249e6
cmp word [rsp + 0x38], di
jne 0x424a36
lea rcx, [rsp + 0x38]
call fcn.0040b674
mov ebx, edi
cmp ebx, edi
jne 0x424a45
lea rcx, [r12 + 0x60]
call fcn.00423ef0
mov ecx, dword [r12 + 0x68]
lea eax, [rcx + 1]
mov dword [r12 + 0x68], eax
imul rcx, rcx, 0x2c
add rcx, qword [r12 + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
inc esi
cmp esi, dword [rsp + 0xb0]
jae 0x424a49
jmp 0x42492a
lea rcx, [rsp + 0x38]
call fcn.0040b674
mov ebx, 0x80004005
mov eax, ebx
jmp 0x424ac4
lea rdx, str.GetHashers
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x424ac2
lea rcx, [rbp + 0x40]
call rax
cmp eax, edi
jne 0x424ac4
mov rcx, qword [rbp + 0x40]
cmp rcx, rdi
je 0x424ac2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, eax
cmp eax, edi
jbe 0x424ac2
mov ecx, dword [r12 + 0x20]
dec ecx
mov dword [rsp + 0xb0], ecx
mov dword [rsp + 0xb4], edi
lea rcx, [r12 + 0x70]
call fcn.00431354
mov r11d, dword [r12 + 0x78]
lea eax, [r11 + 1]
mov dword [r12 + 0x78], eax
mov rcx, qword [r12 + 0x70]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + r11*8], rax
inc edi
cmp edi, esi
jb 0x424a7e
xor eax, eax
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x434f18
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov rax, rsp
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r13, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
mov dword [rax + 0x40], 0
mov edi, dword [rdx]
cmp byte [rdx + 4], 0
je 0x434f94
mov edi, 1
lea r8d, [rdi + 2]
lea rdx, [rax - 0x30]
mov rcx, rbp
call fcn.00434ef8
nop
mov rcx, qword [rsp + 0x28]
call fcn.00409d98
test al, al
je 0x434f8a
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_GetDriveTypeW
cmp eax, 5
je 0x434f88
cmp eax, 2
jne 0x434f8a
mov edi, dword [rsi]
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov rcx, rbp
call fcn.00402eac
lea r12d, [rax + 1]
mov rax, qword [rbp]
lea rdx, [rax + r12*2]
mov rcx, r13
call fcn.00402b00
mov rcx, rbx
call fcn.004028ec
mov dword [rsp + 0x98], 1
dec edi
je 0x435005
dec edi
je 0x434ff7
mov rcx, rbx
call fcn.0040657c
test al, al
jne 0x43502c
mov dword [rsp + 0xa0], 0x22995
lea rdx, [0x004d3410]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [rsi + 8]
mov rcx, rbx
call fcn.00402b68
jmp 0x43502c
mov r8d, r12d
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00411a3c
nop
mov rdx, rax
mov rcx, rbx
call fcn.00402b68
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
mov rcx, rbx
call fcn.00409d20
mov rax, rbx
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x450c64
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov rdi, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [rbx + 0x18]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp ecx, 8
je 0x450cb8
cmp ecx, 0x52
je 0x450ca9
cmp ecx, 0x76
je 0x450c9f
xor al, al
jmp 0x450cc2
mov rcx, rdi
call fcn.00450834
jmp 0x450cc0
test r11b, r11b
je 0x450c9b
mov rcx, rdi
call fcn.0044fb60
jmp 0x450cc0
mov rcx, rdi
call fcn.0044fc58
mov al, 1
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x451954
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rbp, r9
mov rsi, r8
mov r12, rcx
lea rcx, [rsp + 0x20]
call fcn.00402a78
nop
mov dx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.00402e78
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.00402eac
xor ebx, ebx
cmp edi, ebx
jl 0x4519a3
cmp edi, eax
jge 0x4519ad
lea rcx, [rsp + 0x20]
call fcn.00403314
mov dword [rsp + 0x60], 0x70
mov dword [rsp + 0x64], 0x140
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.00402a78
nop
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.00402a78
mov r11, qword [rsp + 0x40]
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], rbx
mov eax, dword [rsp + 0x38]
neg eax
sbb rcx, rcx
and rcx, qword [rsp + 0x30]
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x90], 1
mov qword [rsp + 0xc8], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [rsp + 0x98]
mov rax, qword [rsp + 0xc8]
mov qword [rbp], rax
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
cmp edi, 0x20
ja 0x451a76
cmp edi, 0x1f
jne 0x451a6f
call fcn.004085b8
mov edx, eax
xor r8d, r8d
mov rcx, rsi
call fcn.004513dc
nop
mov ebx, 0x80004005
jmp 0x451a76
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
mov eax, ebx
add rsp, 0xd0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x455208
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r13w, ax
shr r13d, 0xf
and r13b, 1
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov bp, ax
shr ebp, 0xf
and bpl, 1
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12w, ax
shr r12d, 0xf
and r12b, 1
mov edx, 0x100c
mov r9d, 2
lea r8, [r9 - 3]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test eax, eax
js 0x455410
movsxd r8, eax
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jns 0x455410
lea r8, [rsp + 0xa0]
mov edx, esi
lea rcx, [rbx + 0x30]
call fcn.0040e244
test al, al
je 0x4552c9
cmp dword [rsp + 0xa0], 0xffffffff
jne 0x4552d6
mov rcx, rbx
call fcn.00453c70
jmp 0x455410
mov eax, dword [rsp + 0xa0]
shl rax, 5
add rax, qword [rbx + 0x10]
mov ecx, dword [rax]
mov rax, qword [rbx + 0x20]
mov r8, qword [rax + rcx*8]
test r13b, r13b
je 0x455304
mov rdx, r8
mov rcx, rbx
call fcn.00454640
jmp 0x455410
mov ecx, dword [r8 + 0x20]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x455326
mov rdx, qword [str.link_openning_was_blocked_by_7_Zip]
mov rcx, qword [rbx + 8]
call fcn.0044a73c
jmp 0x455410
mov sil, 1
shr ecx, 4
test sil, cl
je 0x45533e
test r12b, r12b
je 0x45533b
test bpl, bpl
je 0x45533e
xor sil, sil
add r8, 0x28
lea rdx, [rbx + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.00402828
nop
test sil, sil
je 0x45537e
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0xa0]
call fcn.00451d68
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
jmp 0x455410
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.00402a78
nop
mov edx, dword [rsp + 0x30]
cmp dword [rsp + 0x34], edx
jne 0x4553a6
lea rcx, [rsp + 0x28]
call fcn.00402608
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov eax, edx
mov word [rcx + rax*2], 0x5c
inc edx
mov word [rcx + rdx*2], 0
mov dword [rsp + 0x30], edx
lea rcx, [rsp + 0x48]
call fcn.004028ec
nop
mov r8, rax
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.00453b54
mov edi, eax
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
test edi, edi
je 0x4553fb
mov r8, qword [rsp + 0x28]
mov edx, edi
mov rcx, qword [rbx + 8]
call fcn.004513dc
nop
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4554d4
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edx, word [rbx + 0x18]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp edx, 8
je 0x45559a
cmp edx, 0x2e
je 0x455590
cmp edx, 0x41
je 0x455564
cmp edx, 0x52
je 0x455553
cmp edx, 0x72
je 0x45552b
cmp edx, 0x73
jle 0x455527
cmp edx, 0x75
jle 0x45552b
xor al, al
jmp 0x4555a4
xor eax, eax
cmp r11b, al
je 0x4555a4
cmp edx, 0x74
jne 0x45553c
lea eax, [rdx - 0x73]
jmp 0x455547
mov ecx, 2
cmp edx, 0x75
cmove eax, ecx
mov edx, eax
mov rcx, rdi
call fcn.00453b24
jmp 0x45555a
xor eax, eax
cmp r11b, al
je 0x4555a4
mov rcx, rdi
call fcn.00453af8
jmp 0x4555a2
xor eax, eax
cmp r11b, al
je 0x4555a4
lea ecx, [rax + 2]
lea r9, [rsp + 0x20]
lea r8, [rax - 1]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x2c], ecx
mov rcx, qword [rdi + 0x30]
mov edx, 0x102b
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4555a2
mov rcx, rdi
call fcn.004546d8
jmp 0x4555a2
mov rcx, rdi
call fcn.00453c70
mov al, 1
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x45f1bc
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x30
mov r10, rdx
mov rax, r8
lea rdx, [rsp + 0x58]
mov r9, rcx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdx
lea r8, [0x0045f150]
xor ebx, ebx
mov rdx, rax
mov rcx, r10
mov dword [rsp + 0x58], ebx
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp eax, ebx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x45f35c
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, r8
mov r12, rdx
mov r13, rcx
mov rcx, rdx
call fcn.0040a4c0
mov esi, eax
mov rcx, rbp
call fcn.0040a4c0
mov edi, eax
xor ebx, ebx
cmp esi, 1
je 0x45f3d3
cmp eax, 1
je 0x45f3d3
mov dword [rsp + 0x20], 2
mov r9, r13
lea r8, [0x0045f150]
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
cmp eax, ebx
je 0x45f3c4
mov al, 1
jmp 0x45f4ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x45f492
cmp esi, ebx
jne 0x45f3df
cmp edi, ebx
je 0x45f492
cmp dword [r13 + 0x20], ebx
je 0x45f3ec
xor al, al
jmp 0x45f4ac
lea rcx, [rsp + 0x48]
call fcn.004028ec
nop
lea rcx, [rsp + 0x38]
call fcn.004028ec
nop
cmp esi, 1
je 0x45f410
cmp edi, 1
je 0x45f410
mov al, 1
jmp 0x45f412
mov al, bl
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
mov rdx, rbp
mov rcx, r12
call fcn.0040abd4
cmp al, bl
jne 0x45f43c
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
jmp 0x45f46f
mov dword [rsp + 0x20], 2
mov r9, r13
lea r8, [0x0045f150]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
cmp eax, ebx
je 0x45f47d
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov bl, 1
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov al, bl
jmp 0x45f4ac
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x45f4a1
xor al, al
jmp 0x45f4ac
mov rdx, rbp
mov rcx, r12
call fcn.00405fa4
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x461120
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
movsxd rbx, dword [rcx + 8]
mov r12, rdx
mov rbp, rcx
test ebx, ebx
mov rdi, rbx
je 0x461168
shl rdi, 3
mov rax, qword [rbp]
sub rdi, 8
add ebx, 0xffffffff
mov rsi, qword [rdi + rax]
test rsi, rsi
je 0x461164
mov rcx, qword [rsi]
call sub.msvcrt.dll_free
mov rcx, rsi
call sub.msvcrt.dll_free
test ebx, ebx
jne 0x461140
mov dword [rbp + 8], 0
mov dword [r12], 0
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edx, 0x3ff
movzx ecx, ax
xor cx, bx
test dx, cx
jne 0x4611ac
movzx ecx, ax
mov eax, ecx
and ecx, edx
mov rdx, rbp
shr eax, 0xa
mov dword [r12], eax
call fcn.00460fc4
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x465cd8
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x38
mov eax, edx
mov r12, r9
mov rdi, r8
sub eax, 0x100
mov r13d, edx
mov rsi, rcx
je 0x465dc7
sub eax, 2
je 0x465d96
cmp eax, 2
jne 0x465daa
cmp r8, 0x70
jb 0x465daa
cmp r8, 0x71
ja 0x465daa
bt r9, 0x1d
jae 0x465daa
lea ecx, [rax + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov r14w, ax
shr r14d, 0xf
and r14b, 1
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp bl, dl
je 0x465daa
cmp r14b, dl
jne 0x465daa
cmp r11b, dl
jne 0x465daa
mov rax, qword [rsi + 0x10]
cmp rdi, 0x70
mov rcx, qword [rax + 0x30]
setne dl
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x465e89
cmp r8, 9
je 0x465e89
cmp r8, 0x1b
je 0x465e89
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
mov r9, rdi
mov r8d, r13d
mov qword [rsp + 0x20], r12
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x465e8b
cmp r8, 9
je 0x465e78
cmp r8, 0x57
je 0x465e40
cmp r8, 0x78
jne 0x465daa
lea ecx, [r8 - 0x66]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov r14w, ax
shr r14d, 0xf
and r14b, 1
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp bl, dl
jne 0x465daa
cmp r14b, dl
jne 0x465daa
cmp r11b, dl
jne 0x465daa
lea rcx, [0x004d67c0]
call fcn.0044b3a0
jmp 0x465e89
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
test r11b, 1
je 0x465daa
mov rcx, qword [0x004d6778]
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x465e89
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x47d034
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov di, ax
shr edi, 0xf
and dil, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, InitCommonControls
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
jne 0x47d096
xor edx, edx
cmp dil, dl
je 0x47d0a1
cmp bl, dl
jne 0x47d0a1
mov rcx, rsi
call fcn.0047fc88
jmp 0x47d0ab
xor dl, dl
cmp dil, dl
jne 0x47d0a1
cmp bl, dl
je 0x47d0a3
mov dl, 1
mov rcx, rsi
call fcn.0047a3bc
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x47ef8c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [r8]
xor r14d, r14d
cmp rcx, r14
je 0x47efc7
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov qword [rsi], r14
mov rcx, qword [rdi]
cmp rcx, r14
je 0x47efd8
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov qword [rdi], r14
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12w, ax
shr r12d, 0xf
and r12b, 1
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r14d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.0047a0bc
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.00466420
mov r13d, eax
mov rcx, rbx
call fcn.004661e4
cmp al, r14b
jne 0x47f066
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x38]
mov r8b, r12b
mov rdx, rbp
mov rcx, rbx
call fcn.0047ec50
cmp byte [0x004d67c8], r14b
je 0x47f066
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x38]
mov r8b, r12b
mov rdx, rbp
mov rcx, rbx
call fcn.0047ea78
mov byte [rsp + 0x58], r14b
mov byte [rsp + 0x59], r14b
mov byte [rsp + 0x5a], r14b
mov byte [rsp + 0x5b], r14b
mov byte [rsp + 0x5c], r14b
mov byte [rsp + 0x5d], 1
mov dword [rsp + 0x60], r14d
lea rcx, [rsp + 0x68]
call fcn.004028ec
nop
mov rcx, rbx
call fcn.0047ed9c
mov byte [rsp + 0x59], al
mov rcx, rbx
call fcn.00466218
mov byte [rsp + 0x5a], al
mov rcx, rbx
call fcn.004661c0
cmp al, r14b
jne 0x47f0da
mov rcx, rbx
call fcn.004661cc
cmp al, r14b
jne 0x47f0da
mov rcx, rbx
call fcn.004661d8
cmp al, r14b
jne 0x47f0da
mov byte [rsp + 0x5b], r14b
jmp 0x47f0df
mov byte [rsp + 0x5b], 1
mov al, byte [rsp + 0xe0]
mov byte [rsp + 0x58], al
cmp r13d, 0xffffffff
sete byte [rsp + 0x5c]
mov eax, dword [rsp + 0x40]
mov ecx, eax
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x5d], r14b
cmp eax, 1
jne 0x47f13d
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.004798cc
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.00402b68
nop
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
mov r9, qword [rbx + 0x158]
cmp r9, r14
je 0x47f18c
cmp eax, 1
ja 0x47f1ab
mov edx, 0xffffffff
cmp eax, 1
jne 0x47f15f
mov rax, qword [rsp + 0x38]
mov edx, dword [rax]
mov dword [rsp + 0xe0], r14d
mov rax, qword [r9]
lea r8, [rsp + 0xe0]
mov rcx, r9
call qword [rax + 0x28]
cmp eax, r14d
jne 0x47f1ab
cmp dword [rsp + 0xe0], r14d
setne byte [rsp + 0x5d]
jmp 0x47f1ab
cmp ecx, r14d
jne 0x47f19f
mov rcx, rbx
call fcn.004661c0
mov byte [rsp + 0x5d], al
jmp 0x47f1ab
mov rcx, rbx
call fcn.0047dd44
mov byte [rsp + 0x5d], al
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetMenuItemCount]
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.00462e8c
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x488008
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbx
mov rax, rsp
sub rsp, 0x240
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rax + 0x18], 0
call fcn.004028ec
mov dword [rsp + 0x258], 1
xor r9d, r9d
lea r8d, [r9 + 5]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x488060
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.00402b00
mov rcx, rbx
call fcn.00409d20
mov rax, rbx
add rsp, 0x240
pop rbx
ret

Function at 0x48901c
Capabilities:
Get common file path
Get file system object information
Get startup folder

Disassembly:
push rbx
mov rax, rsp
sub rsp, 0x2f0
mov edx, ecx
lea r8, [rax + 0x18]
xor ecx, ecx
mov qword [rax + 0x18], 0
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x308]
test rcx, rcx
je 0x48908b
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov edx, InitCommonControls
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x20], 0x4008
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rsp + 0x308]
mov rbx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rbx, rbx
mov eax, dword [rsp + 0x38]
jne 0x489090
mov eax, 0xffffffff
add rsp, 0x2f0
pop rbx
ret

Function at 0x48909c
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x2f0
test edx, edx
mov eax, 0x20
mov rbx, r8
cmovne eax, edx
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov edx, eax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
mov dword [rbx], ecx
add rsp, 0x2f0
pop rbx
ret

Function at 0x489144
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x2f8
xor eax, eax
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
cmp cl, al
lea rcx, [0x0049e480]
mov edx, InitCommonControls
setne al
or eax, 0x4010
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add rsp, 0x2f8
ret

Function at 0x48d844
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
test r11b, 1
jne 0x48d877
cmp dword [rbx + 0x54], 1
ja 0x48d877
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
jmp 0x48d87f
mov rcx, rbx
call fcn.0048d4a0
add rsp, 0x20
pop rbx
ret