Function at 0x140052b10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, r8
mov r14, rcx
mov eax, edx
sub eax, 0x14
je 0x1400530da
sub eax, 0xfd
je 0x140052bfb
cmp eax, 0x22
je 0x140052b6f
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14005314d
mov ecx, dword [0x1402a5b68]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1402a3570], eax
jle 0x140052bc5
lea rcx, [0x1402a3570]
call fcn.1401683f4
cmp dword [0x1402a3570], 0xffffffff
jne 0x140052bc5
mov ecx, 0x6666ff
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x1402a3568], rax
lea rcx, [0x1402a3570]
call fcn.140168394
cmp dword [r14 + 0x40], 1
je 0x140052bd3
xor eax, eax
jmp 0x14005314d
mov edx, 0xffffff
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 0x6666ff
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rax, qword [0x1402a3568]
jmp 0x14005314d
xor bl, bl
mov r12b, 1
mov byte [rsp + 0x40], bl
xor r15b, r15b
xor r13b, r13b
movzx ecx, di
cmp ecx, 0x695
ja 0x140052d13
je 0x140052d04
cmp ecx, 1
je 0x140052d92
cmp ecx, 2
je 0x140052cbf
cmp ecx, 0x692
je 0x140052c4d
lea eax, [rcx - 0x693]
cmp eax, 1
jbe 0x140052d92
jmp 0x140052d31
mov rax, rdi
shr rax, 0x10
mov ecx, 0x300
cmp ax, cx
jne 0x140052d31
mov bl, 1
mov edx, 0x69a
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
sete r15b
mov edx, 0x695
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
sete r13b
jmp 0x140052dde
mov rax, qword [r14 + 0x38]
mov rcx, qword [rax + 0xc0]
mov edx, 0x1c
mov rcx, qword [rcx]
call fcn.140049730
mov rax, qword [r14 + 0x38]
mov rdx, qword [rax + 0xc0]
mov rcx, qword [rdx]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SetFocus]
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0x18]
mov eax, 1
jmp 0x14005314d
mov bl, 1
movzx r13d, bl
movzx r15d, bl
jmp 0x140052dde
sub ecx, 0x69a
je 0x140052ddb
sub ecx, 0xa160
je 0x140052d92
sub ecx, 8
je 0x140052d92
cmp ecx, 1
je 0x140052d45
mov edx, 0x111
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x14005314d
mov edx, 0x692
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rbx
je 0x140052d92
mov edx, 0x692
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, 1
mov r8, rax
lea edx, [r9 + 0x27]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x14005314d
mov bl, 1
mov byte [rsp + 0x40], bl
mov eax, 0x694
cmp di, ax
je 0x140052dd6
mov eax, 0xa7fa
cmp di, ax
je 0x140052dd6
mov eax, 0xa803
cmp di, ax
je 0x140052dd6
cmp di, 1
jne 0x140052dd1
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140052dd6
xor r12b, r12b
jmp 0x140052dde
mov r12b, 1
jmp 0x140052dde
mov r15b, 1
mov dword [rbp - 0x50], 0x1010101
xor esi, esi
mov qword [rbp - 0x4c], rsi
mov word [rbp - 0x44], si
mov byte [rbp - 0x42], sil
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rsi
mov word [rbp + 0x20], si
mov dword [rbp + 0x40], 0x1000001
mov byte [rbp - 0x50], sil
mov eax, esi
cmp byte [rsp + 0x40], sil
setne al
inc eax
mov dword [rbp - 0x4c], eax
mov byte [rbp - 0x4d], r12b
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov edx, 0x695
mov r8d, 0xf0
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rbp - 0x4f], cl
mov edx, 0x692
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14004ea60
nop
test bl, bl
je 0x14005305d
mov dword [rsp + 0x48], esi
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x50]
mov rcx, qword [r14 + 0x38]
call fcn.1400501d0
movzx r12d, al
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x40]
call fcn.140006dd0
mov rax, qword [r14 + 0x38]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 0xc0]
mov rbx, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x85f
mov rcx, rbx
call fcn.14000f5d0
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x861
mov rcx, rbx
call fcn.14000f5d0
mov rbx, rax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7d6
mov rcx, qword [rcx]
call fcn.14000f5d0
cmp byte [rbp - 0x4d], sil
jne 0x140052f8c
mov ecx, esi
mov edx, ebx
jmp 0x140052f90
mov ecx, edi
mov edx, eax
cmp byte [rbp - 0x42], 0
je 0x140052f9c
mov ecx, edi
mov edx, ebx
jmp 0x140052fa6
cmp byte [rbp - 0x4e], 0
je 0x140052fa6
mov ecx, esi
mov edx, eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], edx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea edx, [r9 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.140050bc0
mov r8d, eax
mov edx, dword [rsp + 0x48]
mov rcx, r14
call fcn.140056ab0
test r13b, r13b
je 0x14005305d
test r12b, r12b
jne 0x14005305d
mov rax, qword [r14 + 0x38]
mov rcx, qword [rax + 0xc0]
mov rdi, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x85f
mov rcx, rdi
call fcn.14000f5d0
mov rbx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x861
mov rcx, rdi
call fcn.14000f5d0
movsxd r9, ebx
mov rax, qword [r14 + 0x38]
mov rcx, qword [rax + 0xc0]
or r8, 0xffffffffffffffff
mov edx, 0x870
mov rcx, qword [rcx]
call fcn.14000f5d0
test r15b, r15b
je 0x1400530a0
cmp qword [rbp - 0x68], 0
je 0x140053091
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov edx, 0x69a
mov r8d, 0xf0
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
jne 0x140053091
movzx edx, al
jmp 0x140053093
xor dl, dl
lea r8, [rbp - 0x50]
mov rcx, r14
call fcn.14004f740
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x1400530ba
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140007680
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
lea rcx, [rbp - 0x50]
call fcn.140046a30
mov eax, 1
jmp 0x14005314d
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea r9d, [rsi + 1]
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
xor r9d, r9d
mov r8, rdi
lea edx, [rsi + 0x14]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
xor r9d, r9d
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetWindowOrgEx]
movsxd rax, ebx
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140168660
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret