Function at 0x18003ebc0
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 - 0x1f]
sub rsp, 0x98
mov rax, qword [0x1800b7040]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, qword [0x1803d9aa8]
mov r15, r9
mov qword [rbp - 1], r8
mov rdi, r8
mov esi, edx
mov r12, rcx
test r14, r14
je case.0x18003f1db.527
lea rbx, [r14 + 8]
mov r14, qword [r14 + 0x90]
cmp edx, 0x200
ja 0x18003f1b1
je case.0x18003ec4a.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x18003f1db.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3f468]
mov ecx, dword [rdx + rax*4 + 0x3f450]
add rcx, rdx
jmp rcx
lea eax, [rsi - 0x100]
test eax, 0xfffffffb
mov eax, pe_nt_image_headers64
sete bl
cmp rdi, rax
jae case.0x18003f1db.527
cmp rdi, 0xd
jne 0x18003ec7e
shr r15, 0x10
test ax, r15w
mov eax, 0x10d
cmovne edi, eax
movsxd rcx, edi
call fcn.18003e6d0
test eax, eax
je 0x18003ec97
mov r8d, edi
movzx edx, bl
mov ecx, eax
call fcn.18003da90
cmp edi, 0x10
jne 0x18003ecf3
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18003ecc3
mov r8d, 0xa0
movzx edx, bl
mov ecx, 0x210
call fcn.18003da90
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18003f1db.527
mov r8d, 0xa1
movzx edx, bl
mov ecx, 0x214
call fcn.18003da90
jmp case.0x18003f1db.527
cmp edi, 0x11
jne 0x18003ed4f
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18003ed1f
mov r8d, 0xa2
movzx edx, bl
mov ecx, 0x20f
call fcn.18003da90
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18003f1db.527
mov r8d, 0xa3
movzx edx, bl
mov ecx, 0x213
call fcn.18003da90
jmp case.0x18003f1db.527
cmp edi, 0x12
jne case.0x18003f1db.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18003ed7f
mov r8d, 0xa4
movzx edx, bl
mov ecx, 0x211
call fcn.18003da90
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18003f1db.527
mov r8d, 0xa5
movzx edx, bl
mov ecx, 0x215
call fcn.18003da90
jmp case.0x18003f1db.527
cmp esi, 7
sete r14b
cmp qword [rbx + 0xdf0], 0
jne 0x18003edda
mov r8d, 0x649
lea rdx, str.C:UsersPCDesktopSourcekieropasto_soso___CopyDllMainimguiimgui.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 r9d, dword [rdi]
lea eax, [r9 - 1]
test eax, eax
js 0x18003ee10
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3e88]
cmp dword [rax], 6
je 0x18003ee7a
sub rax, 0x1c
sub rcx, 1
jns 0x18003ee01
cmp byte [rdx + 0x37b0], 0
sete cl
cmp cl, r14b
je case.0x18003f1db.527
cmp byte [rbx + 0x72], 0
je 0x18003ee32
cmp esi, 7
jne case.0x18003f1db.527
mov eax, dword [rdx + 0x3ea4]
xor ebx, ebx
xorps xmm0, xmm0
mov qword [rbp - 0x39], rbx
movups xmmword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
inc eax
mov dword [rdx + 0x3ea4], eax
mov r8d, dword [rdi + 4]
mov dword [rbp - 0x49], 6
mov byte [rbp - 0x3d], r14b
cmp r9d, r8d
jne 0x18003ee94
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18003ee80
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18003ee85
movzx ecx, byte [rax + 0xc]
jmp 0x18003ee1a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rdi
call fcn.1800281b0
movsxd rax, dword [rdi]
movups xmm0, xmmword [rbp - 0x49]
movsd xmm1, qword [rbp - 0x39]
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.0x18003f1db.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18003ef77
mov rsi, qword [rbp - 1]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x18003f1db.527
test si, si
jne 0x18003eef4
cmp word [rbx + 0x37ac], si
je case.0x18003f1db.527
cmp byte [rbx + 0x37a9], 0
je case.0x18003f1db.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x37ac]
cmp ax, dx
jne 0x18003ef3b
test cx, cx
je 0x18003ef2f
mov edx, 0xfffd
mov rcx, rbx
call fcn.18000ca70
mov word [rbx + 0x37ac], si
jmp case.0x18003f1db.527
test cx, cx
je 0x18003ef67
mov ecx, 0xdc00
cmp ax, cx
je 0x18003ef59
mov edx, 0xfffd
mov rcx, rbx
call fcn.18000ca70
jmp 0x18003ef5e
mov esi, 0xfffd
xor edi, edi
mov word [rbx + 0x37ac], di
movzx edx, si
mov rcx, rbx
call fcn.18000ca70
jmp case.0x18003f1db.527
mov eax, 1
lea rcx, [rbp - 0x11]
mov dword [rsp + 0x28], eax
lea r8, [rbp - 1]
mov qword [rsp + 0x20], rcx
xor edi, edi
xor ecx, ecx
mov word [rbp - 0x11], di
mov r9d, eax
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx esi, word [rbp - 0x11]
cmp qword [rbx + 0xdf0], rdi
jne 0x18003efc7
mov r8d, 0x52b
lea rdx, str.C:UsersPCDesktopSourcekieropasto_soso___CopyDllMainimguiimgui.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]
test esi, esi
je case.0x18003f1db.527
cmp byte [rbx + 0x37a9], dil
je case.0x18003f1db.527
mov eax, dword [rdx + 0x3ea4]
lea rbx, [rdx + 0x3e80]
mov ecx, 2
mov dword [rbp - 0x41], eax
inc eax
mov dword [rbp - 0x45], ecx
mov dword [rdx + 0x3ea4], eax
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
mov qword [rbp - 0x39], rdi
mov dword [rbp - 0x49], 5
mov dword [rbp - 0x3d], esi
cmp ecx, r8d
jne 0x18003f044
inc ecx
test r8d, r8d
je 0x18003f030
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18003f035
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1800281b0
movsxd rax, dword [rbx]
movups xmm0, xmmword [rbp - 0x49]
movsd xmm1, qword [rbp - 0x39]
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.0x18003f1db.527
cmp r15w, 1
jne case.0x18003f1db.527
call fcn.18003d8f0
test al, al
je case.0x18003f1db.527
mov eax, 1
jmp 0x18003f42e
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edi, edi
mov r9, rax
mov r8d, 0xff515700
and r9, rcx
lea ecx, [rdi + 2]
cmp r9, r8
jne 0x18003f0b5
mov dword [rbp - 0x11], ecx
jmp 0x18003f0c5
mov edx, edi
mov eax, 0xff515780
cmp r9, rax
sete dl
mov dword [rbp - 0x11], edx
mov eax, dword [r14 + 0x10]
cmp esi, 0x200
mov r13d, edi
mov qword [r14 + 8], r12
setne r13b
inc r13d
cmp eax, r13d
je 0x18003f132
cmp esi, 0x200
mov dword [rbp - 0x29], 0x18
mov edx, 0x12
mov dword [rbp - 0x25], 0x80000000
cmovne ecx, edx
mov qword [rbp - 0x21], r12
mov dword [rbp - 0x45], ecx
mov dword [rbp - 0x19], edi
mov dword [rbp - 0x49], 0x18
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], edi
test eax, eax
je 0x18003f124
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [r14 + 0x10], r13d
movsx eax, r15w
shr r15, 0x10
mov dword [rbp - 9], eax
movsx eax, r15w
mov dword [rbp - 5], eax
cmp esi, 0xa0
jne 0x18003f161
lea rdx, [rbp - 9]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x18003f1db.527
cmp qword [rbx + 0xdf0], rdi
jne 0x18003f184
mov r8d, 0x642
lea rdx, str.C:UsersPCDesktopSourcekieropasto_soso___CopyDllMainimguiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xdf0]
mov ecx, dword [rbp - 0x11]
mov dword [rax + 0x3ea0], ecx
mov rcx, rbx
movd xmm2, dword [rbp - 5]
movd xmm1, dword [rbp - 9]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.18000ce20
jmp case.0x18003f1db.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18003f1db.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3f584]
mov ecx, dword [rdx + rax*4 + 0x3f568]
add rcx, rdx
jmp rcx
xor edi, edi
cmp esi, 0x2a3
mov eax, edi
setne al
inc eax
cmp dword [r14 + 0x10], eax
jne case.0x18003f1db.527
cmp qword [r14 + 8], r12
jne 0x18003f200
mov qword [r14 + 8], rdi
movss xmm1, dword [0x1800aae78]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.18000ce20
jmp case.0x18003f1db.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edi, edi
mov rdx, rax
mov r8d, 0xff515700
and rdx, rcx
lea ecx, [rdi + 2]
cmp rdx, r8
jne 0x18003f242
mov r13d, ecx
jmp 0x18003f251
mov eax, 0xff515780
mov r13d, edi
cmp rdx, rax
sete r13b
lea eax, [rsi - 0x204]
mov r15d, edi
test eax, 0xfffffffd
mov eax, 1
cmove r15d, eax
lea eax, [rsi - 0x207]
test eax, 0xfffffffd
lea eax, [rsi - 0x20b]
cmove r15d, ecx
test eax, 0xfffffffd
jne 0x18003f29b
mov rax, qword [rbp - 1]
mov r15d, edi
shr rax, 0x10
cmp ax, 1
setne r15b
add r15d, 3
cmp dword [r14 + 0x14], edi
jne 0x18003f2b5
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18003f2b5
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
bts eax, r15d
mov dword [r14 + 0x14], eax
cmp qword [rbx + 0xdf0], rdi
jne 0x18003f2e4
mov r8d, 0x642
lea rdx, str.C:UsersPCDesktopSourcekieropasto_soso___CopyDllMainimguiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xdf0]
mov r8b, 1
mov edx, r15d
mov rcx, rbx
mov dword [rax + 0x3ea0], r13d
call fcn.18000cff0
jmp case.0x18003f1db.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edi, edi
mov rdx, rax
mov r8d, 0xff515700
and rdx, rcx
lea ecx, [rdi + 2]
cmp rdx, r8
jne 0x18003f32b
mov r13d, ecx
jmp 0x18003f33a
mov eax, 0xff515780
mov r13d, edi
cmp rdx, rax
sete r13b
cmp esi, 0x205
mov r15d, edi
sete r15b
cmp esi, 0x208
jne 0x18003f354
mov r15d, ecx
jmp 0x18003f373
cmp esi, 0x20c
jne 0x18003f373
mov rax, qword [rbp - 1]
mov r15d, edi
shr rax, 0x10
cmp ax, 1
setne r15b
add r15d, 3
mov eax, dword [r14 + 0x14]
btr eax, r15d
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x18003f394
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x18003f394
call qword [sym.imp.USER32.dll_ReleaseCapture]
cmp qword [rbx + 0xdf0], rdi
jne 0x18003f3b7
mov r8d, 0x642
lea rdx, str.C:UsersPCDesktopSourcekieropasto_soso___CopyDllMainimguiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xdf0]
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
mov dword [rax + 0x3ea0], r13d
call fcn.18000cff0
jmp case.0x18003f1db.527
shr rdi, 0x10
xorps xmm1, xmm1
movsx eax, di
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1800aad40]
call fcn.18000d170
jmp case.0x18003f1db.527
shr rdi, 0x10
xorps xmm2, xmm2
movsx eax, di
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1800ab2e0]
divss xmm1, dword [0x1800aad40]
call fcn.18000d170
jmp case.0x18003f1db.527
cmp edi, 7
jne case.0x18003f1db.527
mov byte [r14 + 0x2d], 1
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180090f70
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret