Function at 0x1400024d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1400d8180]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rax, qword [0x1400ffcf0]
test rax, rax
je 0x140002524
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140002524
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140043e40
test eax, eax
je 0x1400025aa
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140101368], eax
jle 0x140002583
lea rcx, [0x140101368]
call fcn.1400a8b40
cmp dword [0x140101368], 0xffffffff
jne 0x140002583
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140101378], rax
lea rcx, [0x140101368]
call fcn.1400a8ad4
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140101378]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400025aa
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x14000262f
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140043e40
test eax, eax
je 0x140002629
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140101370], eax
jle 0x140002607
lea rcx, [0x140101370]
call fcn.1400a8b40
cmp dword [0x140101370], 0xffffffff
jne 0x140002607
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140101358], rax
lea rcx, [0x140101370]
call fcn.1400a8ad4
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140101358]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002629
mov ecx, 2
call rax
jmp 0x14000262f
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0xa0], 0x50
mov dword [rbp + 0xa4], 0x40
lea rax, [0x1400023a0]
mov qword [rbp + 0xa8], rax
xor r15d, r15d
mov qword [rbp + 0xb0], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
lea rbx, str.Nidavellir
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xe8], r15
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x24], r15
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x50], 2
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x20], 0x1c
mov dword [rbp + 0x18], 0xed
mov dword [rbp + 0x1c], 1
mov dword [rbp + 0x34], 0x20
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x2c], 1
mov qword [rbp + 0x48], 1
mov dword [rbp + 0x118], 0xb000
mov dword [rbp + 0x11c], 0xa000
lea rax, [0x1400ffcd0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x50], rax
lea rax, [0x1400ffcc0]
mov qword [rsp + 0x48], rax
lea rax, [0x1400ffcd8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x118]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x1400027cb
call fcn.140002320
jmp 0x140002f60
call fcn.1400022b0
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x1400ffcf0]
test r13, r13
je 0x1400027f7
inc dword [r13 + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x118], rcx
mov qword [rbp + 8], rax
test rax, rax
je 0x140002827
xor edx, edx
mov rcx, rax
call fcn.14000a4c0
jmp 0x14000282a
mov rax, r15
mov qword [0x1400ffcf0], rax
call fcn.140012050
test r13, r13
je 0x140002844
mov qword [0x1400ffcf0], r13
jmp 0x14000284b
mov r13, qword [0x1400ffcf0]
or dword [r13 + 8], 0x401
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x10], xmm2
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x50], xmm2
movups xmmword [rbp + 0x60], xmm2
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], 1
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], 1
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov ebx, 0xffff
mov word [rbp + 0x64], bx
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400d8200]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 1
mov dword [rbp - 0x7c], 0x41700000
lea rdx, [rsp + 0x70]
mov rcx, qword [r13 + 0x50]
call fcn.14003bbd0
mov rax, qword [r13 + 0x50]
mov rcx, qword [rax + 0x50]
mov rax, qword [rcx]
mov qword [r13 + 0x60], rax
mov rax, qword [0x1400ffcf0]
mov dword [rax + 0x3934], 0x40800000
mov dword [rax + 0x3990], 0x40800000
mov dword [rax + 0x3980], 0x40800000
mov dword [rax + 0x393c], 0x40800000
mov dword [rax + 0x394c], 0x40800000
mov dword [rax + 0x3988], 0x40800000
mov dword [rax + 0x3918], 0x40800000
mov dword [rax + 0x39fc], 0x3f800000
xor ecx, ecx
call fcn.140037520
mov edx, 2
mov rcx, r12
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rcx
mov dword [rbp + 0xf0], 0x28
lea rdx, [rbp + 0xf0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x100]
sub eax, dword [rbp + 0xf8]
cmp eax, 0x438
jle 0x140002a2f
xorps xmm0, xmm0
xor eax, eax
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 qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], 1
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], 1
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov word [rbp + 0x64], bx
mov dword [rbp + 0x24], 0x41d00000
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400ffcf0]
mov rcx, qword [rcx + 0x50]
call fcn.14003be90
mov rax, qword [0x1400ffcf0]
mov qword [rax + 0x20], r15
mov rcx, r12
call fcn.140041f40
mov r14, qword [0x1400ffcd0]
mov rsi, qword [0x1400ffcc0]
mov rdi, qword [0x1400ffcf0]
test rdi, rdi
je 0x140002a62
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140002aa3
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140002aa6
mov rbx, r15
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rbp + 8], r15
mov qword [rbp + 0x118], r15
mov qword [rbp], r15
mov rax, qword [rsi]
lea r8, [rbp + 8]
lea rdx, [0x1400bc998]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140002b2f
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp + 0x118]
lea rdx, [0x1400bc9a8]
call qword [rax + 0x30]
test eax, eax
jne 0x140002b2f
mov rcx, qword [rbp + 0x118]
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, [0x1400bc9b8]
call qword [rax + 0x30]
test eax, eax
jne 0x140002b2f
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140002b3e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x140002b50
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
test dword [rdi + 8], 0x400
je 0x140002bb9
mov rax, qword [0x1400ffcf0]
lea rcx, [0x140041ba0]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x140041cf0]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x140041d80]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140041e70]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x140041f20]
mov qword [rax + 0x38c0], rcx
xor r15b, r15b
mov edi, 1
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140002c2a
nop word [rax + rax]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx r15d, r15b
cmp dword [rbp + 0x18], 0x12
cmove r15d, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140002bf0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140002e28
test r15b, r15b
jne 0x140002e28
mov rax, qword [0x1400ffcf0]
test rax, rax
je 0x140002c5b
mov rcx, qword [rax + 0xa0]
jmp 0x140002c5d
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x140002c69
call fcn.140041680
call fcn.140042db0
call fcn.140010e30
lea rcx, [0x1400ffd20]
call fcn.140003c50
call fcn.14005a540
cmp byte [0x1400f851c], 0
je 0x140002cc1
mov rax, qword [0x1400ffcf0]
or dword [rax + 0x40f0], 2
movsd xmm0, qword [0x1400f8510]
movsd qword [rax + 0x4114], xmm0
mov dword [rax + 0x40f8], 2
lea rcx, [0x140100340]
call fcn.14005a480
call fcn.140013ac0
call fcn.140013fe0
movaps xmm0, xmmword [0x1400bd410]
movups xmmword [rbp + 0x120], xmm0
mov rcx, qword [0x1400ffcd0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400ffcc8]
mov edx, edi
call qword [rax + 0x108]
mov rcx, qword [0x1400ffcd0]
mov rax, qword [rcx]
lea r8, [rbp + 0x120]
mov rdx, qword [0x1400ffcc8]
call qword [rax + 0x190]
mov rax, qword [0x1400ffcf0]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
xor ecx, ecx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140040a10
test dword [r13 + 8], 0x400
je 0x140002e11
call fcn.140024a90
mov rbx, qword [0x1400ffcf0]
mov r14d, edi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140002db5
mov esi, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x140002d9e
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140002d8b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x140002d9e
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x38d8]
cmp r14d, eax
jl 0x140002d64
mov edi, 1
mov r14d, edi
cmp eax, 1
jle 0x140002e11
mov esi, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x140002dfc
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140002de9
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x140002dfc
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140002dc2
mov edi, 1
mov rcx, qword [0x1400ffcd8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
jmp 0x140002bd0
mov rdi, qword [0x1400ffcf0]
xor esi, esi
test rdi, rdi
je 0x140002e3f
mov rbx, qword [rdi + 0xa0]
jmp 0x140002e42
mov rbx, rsi
call fcn.140025070
call fcn.140041a80
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002e5b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002e69
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140002e78
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
mov rax, qword [0x1400ffcf0]
test rax, rax
je 0x140002e98
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400ffcf0]
test rbx, rbx
je 0x140002eb6
mov rdi, qword [rbx + 0x98]
jmp 0x140002eb9
mov rdi, rsi
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]
call fcn.140025070
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140002ee5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
mov rax, qword [0x1400ffcf0]
test rax, rax
je 0x140002f05
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400ffcf0]
mov qword [0x1400ffcf0], rbx
call fcn.1400123b0
mov qword [0x1400ffcf0], rsi
test rbx, rbx
je 0x140002f50
mov rcx, rbx
call fcn.140030020
mov rax, qword [0x1400ffcf0]
test rax, rax
je 0x140002f47
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140002320
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400a86f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret