Function at 0x180039350
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, qword [0x1800ca3a0]
mov r12, r9
mov rdi, r8
mov r14d, edx
mov r13, rcx
test r15, r15
je case.0x18003994f.527
lea rbx, [r15 + 8]
mov r15, qword [r15 + 0x90]
cmp edx, 0x200
ja 0x180039925
je case.0x1800393d7.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x18003994f.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x39b3c]
mov ecx, dword [rdx + rax*4 + 0x39b24]
add rcx, rdx
jmp rcx
lea eax, [r14 - 0x100]
test eax, 0xfffffffb
mov eax, 0x100
sete bl
cmp rdi, rax
jae case.0x18003994f.527
cmp rdi, 0xd
jne 0x18003940c
shr r12, 0x10
test ax, r12w
mov eax, 0x10d
cmovne edi, eax
movsxd rcx, edi
call fcn.180038dc0
test eax, eax
je 0x180039425
mov r8d, edi
movzx edx, bl
mov ecx, eax
call fcn.180038220
cmp edi, 0x10
jne 0x180039481
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x180039451
mov r8d, 0xa0
movzx edx, bl
mov ecx, 0x210
call fcn.180038220
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18003994f.527
mov r8d, 0xa1
movzx edx, bl
mov ecx, 0x214
call fcn.180038220
jmp case.0x18003994f.527
cmp edi, 0x11
jne 0x1800394dd
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1800394ad
mov r8d, 0xa2
movzx edx, bl
mov ecx, 0x20f
call fcn.180038220
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18003994f.527
mov r8d, 0xa3
movzx edx, bl
mov ecx, 0x213
call fcn.180038220
jmp case.0x18003994f.527
cmp edi, 0x12
jne case.0x18003994f.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18003950d
mov r8d, 0xa4
movzx edx, bl
mov ecx, 0x211
call fcn.180038220
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18003994f.527
mov r8d, 0xa5
movzx edx, bl
mov ecx, 0x215
call fcn.180038220
jmp case.0x18003994f.527
mov rdx, qword [rbx + 0xdf0]
cmp r14d, 7
sete sil
test rdx, rdx
jne 0x180039572
mov r8d, 0x69b
lea rdx, str.C:UsersCoderDesktoppandora.ggDllMainimguiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [rbx + 0xdf0]
lea rdi, [rdx + 0x3e80]
mov r8d, dword [rdi]
lea eax, [r8 - 1]
test eax, eax
js 0x1800395a1
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3e88]
cmp dword [rax], 6
je 0x180039607
sub rax, 0x1c
sub rcx, 1
jns 0x180039592
cmp byte [rdx + 0x37b0], 0
sete cl
cmp cl, sil
je case.0x18003994f.527
cmp byte [rbx + 0x72], 0
je 0x1800395c4
cmp r14d, 7
jne case.0x18003994f.527
mov eax, dword [rdx + 0x3ea4]
xor ebx, ebx
xorps xmm0, xmm0
mov qword [rbp - 0x38], rbx
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x40], eax
inc eax
mov dword [rdx + 0x3ea4], eax
mov ecx, dword [rdi + 4]
mov dword [rbp - 0x48], 6
mov byte [rbp - 0x3c], sil
cmp r8d, ecx
jne 0x180039627
inc r8d
test ecx, ecx
je 0x18003960d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180039612
movzx ecx, byte [rax + 0xc]
jmp 0x1800395ab
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.180023bc0
mov r8d, dword [rdi]
movups xmm0, xmmword [rbp - 0x48]
movsxd rax, r8d
movsd xmm1, qword [rbp - 0x38]
imul rcx, rax, 0x1c
mov rax, qword [rdi + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], ebx
inc dword [rdi]
jmp case.0x18003994f.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18003970a
mov rsi, qword [rbp + 0x40]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x18003994f.527
test si, si
jne 0x180039687
cmp word [rbx + 0x37ac], si
je case.0x18003994f.527
cmp byte [rbx + 0x37a9], 0
je case.0x18003994f.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x37ac]
cmp ax, dx
jne 0x1800396ce
test cx, cx
je 0x1800396c2
mov edx, 0xfffd
mov rcx, rbx
call fcn.180008320
mov word [rbx + 0x37ac], si
jmp case.0x18003994f.527
test cx, cx
je 0x1800396fa
mov ecx, 0xdc00
cmp ax, cx
je 0x1800396ec
mov edx, 0xfffd
mov rcx, rbx
call fcn.180008320
jmp 0x1800396f1
mov esi, 0xfffd
xor edi, edi
mov word [rbx + 0x37ac], di
movzx edx, si
mov rcx, rbx
call fcn.180008320
jmp case.0x18003994f.527
mov eax, 1
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
xor edi, edi
xor ecx, ecx
mov word [rbp - 0x50], di
mov r9d, eax
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rbx + 0xdf0]
movzx r14d, word [rbp - 0x50]
test rcx, rcx
jne 0x180039765
mov r8d, 0x57d
lea rdx, str.C:UsersCoderDesktoppandora.ggDllMainimguiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0xdf0]
test r14d, r14d
je case.0x18003994f.527
cmp byte [rbx + 0x37a9], dil
je case.0x18003994f.527
mov eax, dword [rcx + 0x3ea4]
lea rbx, [rcx + 0x3e80]
mov dword [rbp - 0x40], eax
mov esi, 2
inc eax
mov qword [rbp - 0x38], rdi
mov dword [rcx + 0x3ea4], eax
mov eax, dword [rbx]
mov r8d, dword [rbx + 4]
mov dword [rbp - 0x48], 5
mov dword [rbp - 0x44], esi
mov dword [rbp - 0x3c], r14d
cmp eax, r8d
jne 0x1800397e0
lea ecx, [rax + 1]
test r8d, r8d
je 0x1800397ca
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800397cf
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180023bc0
mov eax, dword [rbx]
movups xmm0, xmmword [rbp - 0x48]
cdqe
movsd xmm1, qword [rbp - 0x38]
imul rcx, rax, 0x1c
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], edi
inc dword [rbx]
jmp case.0x18003994f.527
cmp r12w, 1
jne case.0x18003994f.527
call fcn.180038080
test al, al
je case.0x18003994f.527
mov eax, 1
jmp 0x180039b02
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edi, edi
and rax, rcx
mov ecx, 0xff515700
lea esi, [rdi + 2]
cmp rax, rcx
jne 0x18003984c
mov dword [rbp - 0x50], esi
jmp 0x18003985c
mov ecx, edi
mov edx, 0xff515780
cmp rax, rdx
sete cl
mov dword [rbp - 0x50], ecx
mov ecx, dword [r15 + 0x10]
cmp r14d, 0x200
mov eax, edi
mov qword [r15 + 8], r13
setne al
inc eax
mov dword [rbp - 0x4c], eax
cmp ecx, eax
je 0x1800398cd
cmp r14d, 0x200
mov dword [rbp - 0x20], 0x18
mov eax, 0x12
mov dword [rbp - 0x1c], 0x80000000
cmovne esi, eax
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x44], esi
mov dword [rbp - 0x10], edi
mov dword [rbp - 0x48], 0x18
mov qword [rbp - 0x40], r13
mov dword [rbp - 0x38], edi
test ecx, ecx
je 0x1800398bc
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [rbp - 0x4c]
mov dword [r15 + 0x10], eax
movsx eax, r12w
shr r12, 0x10
mov dword [rbp - 0x28], eax
movsx eax, r12w
mov dword [rbp - 0x24], eax
cmp r14d, 0xa0
jne 0x1800398fd
lea rdx, [rbp - 0x28]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x18003994f.527
mov edx, dword [rbp - 0x50]
mov rcx, rbx
call fcn.180008b80
movd xmm2, dword [rbp - 0x24]
mov rcx, rbx
movd xmm1, dword [rbp - 0x28]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.180008700
jmp case.0x18003994f.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18003994f.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x39c58]
mov ecx, dword [rdx + rax*4 + 0x39c3c]
add rcx, rdx
jmp rcx
xor edi, edi
cmp r14d, 0x2a3
mov eax, edi
setne al
inc eax
cmp dword [r15 + 0x10], eax
jne case.0x18003994f.527
cmp qword [r15 + 8], r13
jne 0x180039975
mov qword [r15 + 8], rdi
movss xmm1, dword [0x180097a68]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r15 + 0x10], edi
call fcn.180008700
jmp case.0x18003994f.527
call fcn.180039310
xor edi, edi
mov dword [rbp - 0x4c], eax
lea ecx, [r14 - 0x204]
mov eax, 1
test ecx, 0xfffffffd
mov r12d, edi
lea ecx, [r14 - 0x207]
mov esi, 2
cmove r12d, eax
test ecx, 0xfffffffd
lea eax, [r14 - 0x20b]
cmove r12d, esi
test eax, 0xfffffffd
jne 0x1800399ef
mov rax, qword [rbp + 0x40]
mov r12d, edi
shr rax, 0x10
cmp ax, 1
setne r12b
add r12d, 3
cmp dword [r15 + 0x14], edi
jne 0x180039a09
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x180039a09
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r15 + 0x14]
mov rcx, rbx
mov edx, dword [rbp - 0x4c]
bts eax, r12d
mov dword [r15 + 0x14], eax
call fcn.180008b80
mov r8b, 1
mov edx, r12d
mov rcx, rbx
call fcn.1800088d0
jmp case.0x18003994f.527
call fcn.180039310
xor edi, edi
mov r12d, eax
cmp r14d, 0x205
mov esi, edi
sete sil
cmp r14d, 0x208
jne 0x180039a58
lea esi, [rdi + 2]
jmp 0x180039a76
cmp r14d, 0x20c
jne 0x180039a76
mov rax, qword [rbp + 0x40]
mov esi, edi
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [r15 + 0x14]
btr eax, esi
mov dword [r15 + 0x14], eax
test eax, eax
jne 0x180039a96
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x180039a96
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r12d
mov rcx, rbx
call fcn.180008b80
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800088d0
jmp case.0x18003994f.527
shr rdi, 0x10
xorps xmm1, xmm1
movsx eax, di
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x18009772c]
call fcn.180008a60
jmp case.0x18003994f.527
shr rdi, 0x10
xorps xmm2, xmm2
movsx eax, di
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x180097a00]
call fcn.180008a60
jmp case.0x18003994f.527
cmp edi, 7
jne case.0x18003994f.527
mov byte [r15 + 0x2d], 1
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret