Function at 0x140055180
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x140120020]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
mov dword [rbp + 0x90], 0x50
mov dword [rbp + 0x94], 0x40
lea rax, [0x140054fc0]
mov qword [rbp + 0x98], rax
xor r13d, r13d
mov qword [rbp + 0xa0], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
lea rax, [rsi + 0x30]
cmp qword [rax + 0x18], 0x10
jb 0x140055230
mov rax, qword [rax]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], r13
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_RegisterClassExA]
lea r8, [rsi + 8]
cmp qword [r8 + 0x18], 0x10
jb 0x140055259
mov r8, qword [r8]
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0x21c
mov dword [rsp + 0x30], 0x35c
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
mov rdx, qword [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsi + 0x70], rax
mov qword [rbp + 0x14], r13
mov qword [rbp + 0x28], 2
mov qword [rbp + 0x40], 2
mov qword [rbp], r13
mov dword [rbp + 0x10], 0x1c
mov dword [rbp + 8], 0x3c
mov r12d, 1
mov dword [rbp + 0xc], r12d
mov dword [rbp + 0x24], 0x20
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x1c], r12
mov qword [rbp + 0x38], r12
mov dword [rbp + 0x148], 0xb000
mov dword [rbp + 0x14c], 0xa000
lea r14, [rsi + 0x58]
lea rdi, [rsi + 0x50]
lea r15, [rsi + 0x60]
mov qword [rsp + 0x58], r14
lea rax, [rbp + 0x118]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r15
lea rax, [rbp]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x148]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, rsi
test eax, eax
je 0x140055372
call fcn.140054f50
jmp 0x140055b17
call fcn.140054ee0
mov edx, 0xa
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140177b40]
mov ecx, 0x63f0
call fcn.1400d0250
mov r9, rax
mov r8, qword [0x140177b40]
test r8, r8
je 0x140055410
mov r10d, dword [r8 + 0x40a0]
movsx rax, word [r8 + 0x6298]
lea rdx, [r8 + 0x629c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140055405
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6298], cx
movsx rax, cx
lea rdx, [r8 + 0x629c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r13d
inc word [rdx + 4]
inc dword [r8 + 0x6290]
mov qword [rbp + 0x148], r9
lea rax, [rsp + 0x60]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x150], r9
test r9, r9
je 0x14005543b
xor edx, edx
mov rcx, r9
call fcn.140001f20
jmp 0x14005543e
mov rax, r13
mov qword [0x140177b40], rax
call fcn.140006d10
mov rax, qword [0x140177b40]
test rbx, rbx
cmovne rax, rbx
mov qword [0x140177b40], rax
xor ecx, ecx
call fcn.140033b40
mov edx, 2
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], rcx
mov dword [rbp + 0x120], 0x28
lea rdx, [rbp + 0x120]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x130]
sub eax, dword [rbp + 0x128]
mov ebx, 0xffff
cmp eax, 0x438
jle 0x14005552e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x18], 2
mov dword [rbp + 0x1c], r12d
mov dword [rbp + 0x44], 0x7f7fffff
mov dword [rbp + 0x50], 0x3f800000
mov dword [rbp + 0x54], 0x3f800000
mov word [rbp + 0x58], bx
mov dword [rbp + 0x14], 0x41d00000
lea rdx, [rbp]
mov rcx, qword [0x140177b40]
mov rcx, qword [rcx + 0x38]
call fcn.1400388d0
mov rax, qword [0x140177b40]
mov qword [rax + 0x20], r13
xorps xmm10, xmm10
movups xmmword [rsp + 0x70], xmm10
movups xmmword [rbp - 0x80], xmm10
movups xmmword [rbp - 0x50], xmm10
movups xmmword [rbp - 0x40], xmm10
mov dword [rbp - 0x78], 2
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov dword [rbp - 0x3c], 0x3f800000
mov word [rbp - 0x38], bx
mov dword [rbp - 0x44], 0x10c
mov byte [rsp + 0x7c], 0
movaps xmm9, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm9
movaps xmm8, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm8
movaps xmmword [rbp + 0x20], xmm10
movaps xmmword [rbp + 0x30], xmm10
movaps xmm7, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x40], xmm7
movaps xmm6, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x60], xmm10
movaps xmmword [rbp + 0x70], xmm10
movaps xmmword [rbp + 0x80], xmm10
lea rcx, [0x140120a50]
mov qword [rbp], rcx
mov dword [rbp + 8], 0x4ba44
mov dword [rbp + 0x14], 0x41900000
lea rdx, [rbp]
mov rcx, qword [rax + 0x38]
call fcn.1400386b0
mov qword [0x140177b98], rax
mov rax, qword [0x140177b40]
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm8
movaps xmmword [rbp - 0x70], xmm10
movaps xmmword [rbp - 0x60], xmm10
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x30], xmm10
movaps xmmword [rbp - 0x20], xmm10
movaps xmmword [rbp - 0x10], xmm10
lea rcx, [0x140170b40]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], 0x1f80
mov dword [rbp - 0x7c], 0x41a00000
lea rcx, [0x14010e110]
mov qword [rbp - 0x58], rcx
lea rdx, [rsp + 0x70]
mov rcx, qword [rax + 0x38]
call fcn.1400386b0
mov qword [0x140177b90], rax
mov qword [rbp + 0xe0], 0xffffffffffffffff
mov qword [rbp + 0xe8], 0xffffffffffffffff
mov qword [rbp + 0xf0], 0xffffffffffffffff
mov qword [rbp + 0xf8], 0xffffffffffffffff
mov dword [rbp + 0x100], 0xffffffff
mov qword [rbp + 0x104], 0xfffffffffffffffd
mov dword [rbp + 0x10c], 0xffffffff
mov qword [rbp + 0x110], r13
mov rax, qword [rsi]
mov rcx, qword [rax]
add rcx, 0x18
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xe0]
mov r8d, 0x3c8d
lea rdx, [0x140172ac0]
mov rcx, qword [0x140176750]
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rax, qword [rsi]
mov rdx, qword [rax]
add rdx, 0x20
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xe0]
mov r8d, 0x469b
lea rdx, [0x14016c4a0]
mov rcx, qword [0x140176750]
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rcx, qword [rsi + 0x70]
call fcn.14003f430
mov rdx, qword [r14]
mov rcx, qword [rdi]
call fcn.14003edb0
xor dil, dil
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005579b
nop
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx edi, dil
cmp dword [rbp + 8], 0x12
cmove edi, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140055760
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140055876
test dil, dil
jne 0x140055876
mov rax, qword [0x140177b40]
test rax, rax
je 0x1400557cc
mov rcx, qword [rax + 0xa0]
jmp 0x1400557cf
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x1400557db
call fcn.14003e890
call fcn.1400402f0
call fcn.140009e60
mov rcx, qword [rsi]
mov rcx, qword [rcx]
call fcn.140053fb0
call fcn.14000bec0
call fcn.14000c440
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov rcx, qword [r14]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsi + 0x68]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rbp + 0x150]
mov rdx, qword [rsi + 0x68]
call qword [rax + 0x190]
mov rax, qword [0x140177b40]
mov rcx, qword [rax + 0x4c48]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14003dc30
mov rcx, qword [r15]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r12d
call qword [rax + 0x40]
mov rax, qword [rsi]
mov rcx, qword [rax]
cmp byte [rcx + 0x14], 1
je 0x140055743
mov rdi, qword [0x140177b40]
test rdi, rdi
je 0x14005588b
mov r14, qword [rdi + 0xa0]
jmp 0x14005588e
mov r14, r13
mov rbx, qword [rdi + 0x4c48]
movsxd rax, dword [rdi + 0x4c40]
lea r15, [rbx + rax*8]
cmp rbx, r15
je 0x1400558b6
mov rcx, qword [rbx]
call fcn.140020990
add rbx, 8
cmp rbx, r15
jne 0x1400558a5
call fcn.14003ec90
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1400558ca
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r14]
test rcx, rcx
je 0x1400558d8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400558e7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r13
mov qword [rdi + 0xa0], r13
and dword [rdi + 0xc], 0xffffeff7
mov r8, qword [0x140177b40]
test r8, r8
je 0x140055968
mov r9d, dword [r8 + 0x40a0]
movsx rdx, word [r8 + 0x6298]
lea rcx, [r8 + 0x629c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14005595d
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6298], cx
movsx rax, cx
lea rcx, [r8 + 0x629c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r13d
inc word [rcx + 6]
inc dword [r8 + 0x6294]
mov rcx, r14
call fcn.1400ca918
mov rdi, qword [0x140177b40]
test rdi, rdi
je 0x140055985
mov r15, qword [rdi + 0x98]
jmp 0x140055988
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rax, qword [0x140177b40]
mov rbx, qword [rax + 0x4c48]
movsxd rax, dword [rax + 0x4c40]
lea r14, [rbx + rax*8]
cmp rbx, r14
je 0x1400559d1
nop
mov rcx, qword [rbx]
call fcn.140020990
add rbx, 8
cmp rbx, r14
jne 0x1400559c0
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x1400559e0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x88], r13
mov qword [rdi + 0x98], r13
and dword [rdi + 0xc], 0xfffff3f8
mov r8, qword [0x140177b40]
test r8, r8
je 0x140055a61
mov r9d, dword [r8 + 0x40a0]
movsx rdx, word [r8 + 0x6298]
lea rcx, [r8 + 0x629c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140055a56
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6298], cx
movsx rax, cx
lea rcx, [r8 + 0x629c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r13d
inc word [rcx + 6]
inc dword [r8 + 0x6294]
mov rcx, r15
call fcn.1400ca918
mov rbx, qword [0x140177b40]
mov qword [0x140177b40], rbx
call fcn.140007230
mov qword [0x140177b40], r13
test rbx, rbx
je 0x140055b05
mov rcx, rbx
call fcn.14002bd90
mov r8, qword [0x140177b40]
test r8, r8
je 0x140055afd
mov r9d, dword [r8 + 0x40a0]
movsx r10, word [r8 + 0x6298]
lea rdx, [r8 + 0x629c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140055af2
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6298], cx
movsx rax, cx
lea rdx, [r8 + 0x629c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r13d
inc word [rdx + 6]
inc dword [r8 + 0x6294]
mov rcx, rbx
call fcn.1400ca918
mov rcx, rsi
call fcn.140054f50
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400bf220
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret