Function at 0x1400f21b0
Capabilities:
Check if file exists
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x2c8
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0xa8]
cmp qword [rdx], rcx
jne 0x1400f25de
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x30], 5
mov qword [rsp + 0x48], rax
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x50], 0x104
cmp eax, 0xfffffe62
ja 0x1400f24de
je 0x1400f2486
cmp eax, 0xfffffe34
je 0x1400f22b0
cmp eax, 0xfffffe38
je 0x1400f229f
cmp eax, 0xfffffe39
jne 0x1400f25de
mov rdx, qword [rdx + 0x60]
mov rcx, rbx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 0x22
call fcn.1400f0e00
cmp eax, 2
jne 0x1400f25de
mov eax, dword [rdi + 0x18]
cmp eax, 1
jne 0x1400f2278
mov rdx, qword [rdi + 0x60]
lea rcx, [rbx + 0x90]
mov r9d, 4
mov r8d, r9d
call fcn.140122e90
jmp 0x1400f25de
cmp eax, 2
jne 0x1400f25de
mov rdx, qword [rdi + 0x60]
lea rcx, [rbx + 0x90]
mov r9d, 3
mov r8d, r9d
call fcn.140122e90
jmp 0x1400f25de
lea rcx, [rbx + 0x90]
call fcn.140121740
jmp 0x1400f25de
cmp qword [rdx + 0x30], 0
je 0x1400f25de
mov rax, qword [rdx + 0x20]
lea r9, [rsp + 0x68]
mov edx, 0x113e
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov dword [rsp + 0x68], 6
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x8c], 1
jbe 0x1400f25de
cmp qword [rdi + 0x48], 0
je 0x1400f2431
mov rcx, qword [rbx + 0xa8]
xor r9d, r9d
mov qword [rsp + 0x2f0], rbp
mov edx, 0x110a
mov qword [rsp + 0x2f8], rsi
mov qword [rsp + 0x2c0], r14
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0xa8]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [rsp + 0x48]
xor esi, esi
mov r14, qword [rdi + 0x48]
movsxd rbp, eax
cmp word [rdx], si
jne 0x1400f236b
mov r9d, esi
jmp 0x1400f237a
or r9, 0xffffffffffffffff
nop
inc r9
cmp word [rdx + r9*2], si
jne 0x1400f2370
or r8, 0xffffffffffffffff
mov rcx, r14
call fcn.140013070
cmp rax, 0xffffffffffffffff
je 0x1400f23be
mov r9, qword [rdi + 0x30]
cmp word [r9], si
je 0x1400f23ab
or rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x1400f23a0
mov r8, rbp
mov qword [rsp + 0x20], rsi
mov rdx, rax
mov rcx, r14
call fcn.1400440e0
mov rsi, qword [rsp + 0x2f8]
mov rbp, qword [rsp + 0x2f0]
mov dword [rsp + 0x30], 0x22
cmp qword [r14 + 0x18], 8
jb 0x1400f23e0
mov r14, qword [r14]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r14, qword [rsp + 0x2c0]
test eax, eax
je 0x1400f2407
mov dword [rsp + 0x54], 5
mov dword [rsp + 0x58], 5
jmp 0x1400f2417
mov dword [rsp + 0x54], 6
mov dword [rsp + 0x58], 6
mov rcx, qword [rbx + 0xa8]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113f
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0xa8]
lea r9, [rdi + 0x18]
xor r8d, r8d
mov edx, 0x113f
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov byte [rbx + 0x170], 1
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 1
lea rcx, [rbx + 0x90]
mov r8d, r9d
mov rdx, rax
call fcn.140122e90
jmp 0x1400f25de
xor r9d, r9d
xor r8d, r8d
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, qword [rdi + 0x28]
jne 0x1400f24a6
add rbx, 0x130
jmp 0x1400f24b3
mov rbx, qword [rdi + 0x30]
test rbx, rbx
je 0x1400f25de
cmp qword [rbx + 0x18], 8
jb 0x1400f24cc
mov rax, qword [rbx]
mov qword [rdi + 0x18], rax
mov eax, dword [rbx + 0x10]
mov dword [rdi + 0x20], eax
jmp 0x1400f25de
mov rax, rbx
mov qword [rdi + 0x18], rbx
mov eax, dword [rbx + 0x10]
mov dword [rdi + 0x20], eax
jmp 0x1400f25de
cmp eax, 0xfffffe64
je 0x1400f24fb
cmp eax, 0xfffffffd
jne 0x1400f25de
mov rcx, rbx
call fcn.1400f2600
jmp 0x1400f25de
movzx eax, word [rdx + 0x18]
cmp ax, 0x2e
jne 0x1400f2547
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, rbx
call fcn.1400f0e00
lea ecx, [rax - 1]
cmp ecx, 1
jbe 0x1400f253d
cmp eax, 3
jne 0x1400f25de
mov edx, 0xc2b
jmp 0x1400f25d6
mov edx, 0xc2a
jmp 0x1400f25d6
cmp ax, 0xd
jne 0x1400f2593
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call fcn.1400f0e00
cmp eax, 3
je 0x1400f24ee
mov rcx, qword [rbx + 0xa8]
mov r9, rdi
mov edx, 0x1102
mov r8d, 3
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400f25de
cmp ax, 0x26
jne 0x1400f25af
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x1400f25de
mov edx, 0xc2e
jmp 0x1400f25d6
cmp ax, 0x28
jne 0x1400f25cb
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x1400f25de
mov edx, 0xc2f
jmp 0x1400f25d6
cmp ax, 0x71
jne 0x1400f25de
mov edx, 0xc27
mov rcx, rbx
call fcn.1400f29b0
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140168660
add rsp, 0x2c8
pop rdi
pop rbx
ret