Function at 0x14005dd80
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
cmp edx, 0xb23
jg 0x14005ddd8
je 0x14005ddcf
sub edx, 0x8ff
je 0x14005ddbc
sub edx, 4
je 0x14005ddb3
cmp edx, 0x21f
jne 0x14005de45
mov rdx, r8
add rsp, 0x28
jmp 0x14005ed50
add rsp, 0x28
jmp 0x14005ee90
cmp byte [0x14027aa04], 0
sete dl
add rsp, 0x28
jmp fcn.14005e2a0
add rsp, 0x28
jmp 0x14005f0f0
sub edx, 0xb24
je 0x14005de39
sub edx, 1
je 0x14005ddfc
cmp edx, 0x1646
jne 0x14005de45
test r8, r8
setne dl
add rsp, 0x28
jmp fcn.14005e2a0
mov rcx, qword [0x1402791e8]
xor r8d, r8d
add rcx, 0xb8
mov edx, 0x3eb
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [0x1402791e8]
xor r8d, r8d
add rcx, 0xb8
mov edx, 0xbc4
mov rax, qword [rcx]
add rsp, 0x28
jmp qword [rax + 0x58]
mov rdx, r8
add rsp, 0x28
jmp 0x14005ee30
add rsp, 0x28
ret
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
lea rax, vtable.RT::CGuidList.0
mov qword [r11 - 0x30], rax
lea r9, [r11 - 0x30]
lea r8, [0x140279e70]
mov dl, 1
lea rcx, [0x140279548]
call fcn.14006ce80
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14013d880
nop
mov rdx, rax
mov rcx, rdi
call fcn.14005ead0
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x14005ede9
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003900
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005ee14
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140005060
mov r8, qword [rsp + 0x60]
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.140004d00
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
push rbx
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rbx, rcx
je 0x14005ee7e
call fcn.14005f2c0
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x14005ee5a
call fcn.14010cc20
mov dl, 1
mov rcx, rbx
call fcn.14005e2a0
mov rcx, rbx
call fcn.14005e7a0
mov rcx, rbx
call fcn.14005e890
add rsp, 0x20
pop rbx
jmp fcn.14008a2b0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x70
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [0x140279e3c], 0
mov rbx, rcx
je 0x14005f0dd
cmp qword [0x140279f30], 0
je 0x14005f0dd
cmp qword [rcx + 8], 0
mov qword [rsp + 0x98], rdi
je 0x14005ef12
mov rdx, qword [0x1402792d0]
call fcn.14005f2c0
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x14005eef3
call fcn.14010cc20
mov dl, 1
mov rcx, rbx
call fcn.14005e2a0
mov rcx, rbx
call fcn.14005e7a0
mov rcx, rbx
call fcn.14005e890
call fcn.14008a2b0
mov rax, qword [rbx + 8]
mov rdi, qword [rax + 0xe8]
test rdi, rdi
je 0x14005f0d5
mov ecx, dword [rdi + 0x120]
mov r8d, dword [rdi + 0x54]
mov edx, dword [rdi + 0x124]
mov qword [rsp + 0x88], rbp
xor bpl, bpl
mov qword [rsp + 0x68], r12
xor r12d, r12d
lea eax, [r8 + rcx]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
mov r14d, r12d
mov dword [rsp + 0x34], eax
mov eax, edx
sub eax, ecx
mov qword [rdi + 0x118], 0xffffffffffffffff
mov r15, qword [rdi + 0x108]
sub r15, qword [rdi + 0x100]
sar r15, 3
mov dword [rsp + 0x3c], eax
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x2c], edx
test r15, r15
je 0x14005f0a6
mov qword [rsp + 0x60], r13
lea r13d, [r12 + 1]
mov qword [rsp + 0x90], rsi
nop dword [rax]
mov rbx, qword [rdi + 0x100]
mov rbx, qword [rbx + r14*8]
test rbx, rbx
je 0x14005f08d
cmp byte [rdi + 0x130], r12b
je 0x14005eff4
lea r8, [rdi + 0x131]
mov rdx, rbx
call fcn.14010cfd0
test al, al
je 0x14005f08d
test bpl, bpl
jne 0x14005f00b
cmp dword [rbx + 0xa0], 0x903
movzx ebp, bpl
cmove ebp, r13d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x380]
mov ecx, dword [rbx + 0x60]
mov esi, eax
and cl, 0xf
cmp cl, 2
jne 0x14005f05a
sub dword [rsp + 0x20], eax
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x28], eax
test bpl, bpl
je 0x14005f052
mov r8, qword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [r8 + 0x358]
xor edx, edx
mov rcx, rbx
call fcn.140103ff0
add dword [rdi + 0x11c], esi
jmp 0x14005f08d
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x38], eax
test bpl, bpl
je 0x14005f083
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x358]
xor edx, edx
mov rcx, rbx
call fcn.140103ff0
add dword [rsp + 0x30], esi
add dword [rdi + 0x118], esi
inc r14
cmp r14, r15
jne 0x14005efc0
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
mov r9d, 5
xor r8d, r8d
call qword [sym.imp.USER32.dll_RedrawWindow]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x70
pop rbx
ret
sub rsp, 0x168
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, vtable.RT::CCursorWait.0
mov qword [rsp + 0x30], rax
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x40]
call fcn.14018f1e0
mov rax, qword [0x1402791e8]
mov r9d, 0x94
mov r8, qword [rax + 8]
lea rcx, [rsp + 0x40]
call fcn.14002c880
lea rax, vtable.CCoursesDlg.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x130], 0
mov byte [rsp + 0x140], 0
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x14005f1ce
lea rcx, [rsp + 0x40]
mov rax, qword [0x14027ac88]
test rax, rax
cmovne rcx, rax
mov qword [0x14027ac88], rcx
movzx edx, word [rsp + 0x88]
mov qword [rsp + 0x20], 0
lea r9, [0x1400fe430]
mov rcx, qword [0x140278ec0]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rax, qword [0x1402791e8]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14005f1e4
call qword [sym.imp.USER32.dll_SetFocus]
lea rax, vtable.CRTDialog.0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14005f207
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rax, vtable.RT::CSkinWnd.0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x14005f24c
mov r8, qword [rsp + 0xf0]
sub r8, rdx
sar r8, 3
call fcn.140025f10
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], 0
lea rax, vtable.RT::CMapWnd.0
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x68]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400fddd0
mov rcx, qword [rsp + 0x68]
call fcn.140185a8c
lea rax, vtable.RT::CMessageWnd.0
mov qword [rsp + 0x40], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x168
ret