Function at 0x14000a470
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
xor r15d, r15d
movaps xmmword [rsp + 0x260], xmm6
lea rax, [0x14000aee0]
mov qword [rbp - 0x10], r15
mov edx, 0x7f00
mov qword [rbp - 0x18], rax
xor ecx, ecx
mov qword [rbp - 8], r15
mov qword [rbp - 0x20], 0x50
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
xorps xmm0, xmm0
lea rbx, str.CEF_OSC_WIDGET
mov edx, 0x7f00
mov qword [rbp + 8], rax
xor ecx, ecx
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rbx
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x28], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
lea rdx, str.Fortnite
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
mov qword [0x14013af30], rax
lea edx, [r15 + 0xa]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14013af30]
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
movss xmm6, dword [0x14005995c]
mov rdx, rbx
movd xmm0, dword [0x14013af28]
movd xmm1, dword [rsp + 0x74]
mov rax, qword [rbp - 8]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
cvtdq2ps xmm1, xmm1
addss xmm0, xmm6
subss xmm1, xmm6
cvttss2si r10d, xmm0
movd xmm0, dword [0x14013af24]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x38], r10d
cvttss2si r8d, xmm1
addss xmm0, xmm6
cvttss2si r9d, xmm0
movd xmm0, dword [rsp + 0x70]
mov dword [rsp + 0x30], r9d
mov r9d, 0x90000000
mov dword [rsp + 0x28], r8d
lea r8, str.NVIDIA_GeForce_Overlay_DT
cvtdq2ps xmm0, xmm0
subss xmm0, xmm6
cvttss2si ecx, xmm0
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
movd xmm0, dword [rsp + 0x70]
mov r8, rax
movd xmm1, dword [rsp + 0x74]
cvtdq2ps xmm0, xmm0
mov qword [0x14013af48], rax
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
subss xmm1, xmm6
cvttss2si ecx, xmm0
movd xmm0, dword [0x14013af24]
mov dword [rbp - 0x30], ecx
cvttss2si ecx, xmm1
mov dword [rbp - 0x2c], ecx
movd xmm1, dword [0x14013af28]
lea rdx, [rbp - 0x30]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, xmm6
addss xmm1, xmm6
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
mov dword [rbp - 0x28], ecx
mov rcx, r8
mov dword [rbp - 0x24], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14013af48]
lea edx, [r15 - 0x14]
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword [0x14013af48]
lea rbx, [0x14013b368]
mov qword [rsp + 0x58], rbx
lea rdi, [0x14013b360]
mov qword [rbp - 0x50], rax
lea rsi, [0x14013b370]
mov r14d, 1
mov qword [rbp - 0x6c], r15
lea rax, [rbp + 0x1a0]
mov qword [rbp - 0x58], 2
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, r14d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x1a8]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], r14d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x64], r14
mov qword [rbp - 0x48], r14
mov dword [rbp + 0x1a8], 0xb000
mov dword [rbp + 0x1ac], 0xa000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
cmp eax, 0x887a0004
jne 0x14000a771
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x50], rax
lea edx, [r15 + 5]
mov qword [rsp + 0x48], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x1a8]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
je 0x14000a790
call fcn.140004a90
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, r14d
jmp 0x14000ac96
mov rcx, qword [0x14013b370]
lea r9, [rbp + 0x1b0]
lea r8, [0x1400b9138]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x14013b360]
lea r9, [0x14013b378]
mov rdx, qword [rbp + 0x1b0]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x1b0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14013af48]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14013af48]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x30], 2
lea rcx, str.1.89.3_WIP
mov qword [rsp + 0x28], 0x14
mov edx, 0x37b8
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x418
call fcn.140016560
xor ecx, ecx
call fcn.1400160a0
call fcn.140019170
xor ecx, ecx
mov rdi, rax
call fcn.140034480
mov rcx, qword [0x14013af48]
call fcn.14003c840
mov rdx, qword [0x14013b368]
mov rcx, qword [0x14013b360]
call fcn.14000da30
lea rcx, [rbp + 0x40]
call fcn.14002b720
movss xmm6, dword [0x1400b9408]
lea rbx, [0x1400b9098]
mov qword [rbp + 0x78], rbx
lea r9, [rbp + 0x40]
mov byte [rbp + 0x60], r15b
lea rdx, str.C:WindowsSystem32_fortnite.otf
mov byte [rbp + 0x4c], r15b
movaps xmm2, xmm6
mov dword [rbp + 0x58], 5
mov dword [rbp + 0x5c], 5
mov dword [rbp + 0x90], 0x3f99999a
mov rcx, qword [rdi + 0x50]
mov qword [rsp + 0x20], rbx
call fcn.14002c5a0
movss xmm3, dword [0x140059968]
lea rax, [rbp + 0x40]
mov rcx, qword [rdi + 0x50]
lea rdx, [0x1400c90a0]
mov qword [rsp + 0x28], rbx
mov r8d, 0x8d8
mov qword [rsp + 0x20], rax
call fcn.14002cb60
call fcn.140019170
mov rbx, qword [rax + 0x50]
mov rcx, rbx
call fcn.14002f3e0
mov qword [rsp + 0x28], rax
lea rdx, [0x1400cb870]
movaps xmm3, xmm6
mov qword [rsp + 0x20], r15
mov r8d, 0x1f84c
mov rcx, rbx
call fcn.14002cb60
lea rcx, [rbp + 0xd0]
call fcn.14002b720
lea rax, [0x1400b90b0]
mov byte [rbp + 0x118], r14b
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xd0]
mov byte [rbp + 0xf0], r14b
mov rcx, qword [rdi + 0x50]
lea rdx, [0x140059990]
movaps xmm3, xmm6
mov qword [rsp + 0x20], rax
mov r8d, 0x3934b
call fcn.14002c880
mov rcx, qword [rdi + 0x50]
lea rax, [0x1400b90b8]
mov qword [rsp + 0x28], rax
lea rdx, [0x140092ce0]
lea rax, [rbp + 0xd0]
movaps xmm3, xmm6
mov r8d, 0x25a08
mov qword [rsp + 0x20], rax
call fcn.14002c880
movss xmm6, dword [0x140059950]
xor bl, bl
mov qword [0x14013af38], rax
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14000aa12
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp - 0x78], 0x12
lea rcx, [rbp - 0x80]
movzx ebx, bl
cmove ebx, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14000a9d0
test bl, bl
jne 0x14000ac63
call fcn.14000dc90
call fcn.14003c9c0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, qword [0x14013af30]
cmp rax, rsi
jne 0x14000aa6b
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x14013af48]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rsi, qword [0x14013af30]
movaps xmm0, xmmword [rsp + 0x70]
mov rdi, qword [0x14013af48]
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rdi
jne 0x14000aaba
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
xor r9d, r9d
mov rdx, rax
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
xorps xmm0, xmm0
lea rdx, [rsp + 0x60]
mov rcx, rsi
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x68]
mov edx, 0xfffffff0
sub eax, dword [rsp + 0x60]
mov rcx, rsi
mov dword [0x14013af24], eax
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
mov dword [0x14013af28], eax
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [rsp + 0x64]
bt eax, 0x17
mov eax, dword [0x14013af28]
jae 0x14000ab1a
add ecx, 0x20
sub eax, 0x27
mov dword [rsp + 0x64], ecx
mov dword [0x14013af28], eax
movd xmm1, dword [0x14013af24]
cvtdq2ps xmm1, xmm1
mov dword [rsp + 0x28], r14d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm6
addss xmm0, xmm6
cvttss2si r9d, xmm1
movd xmm1, dword [rsp + 0x60]
cvttss2si eax, xmm0
movd xmm0, ecx
mov rcx, rdi
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x20], eax
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
subss xmm1, xmm6
cvttss2si r8d, xmm0
cvttss2si edx, xmm1
call qword [sym.imp.USER32.dll_MoveWindow]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r14b, al
je 0x14000abbf
cmp byte [0x14013a250], r15b
mov edx, 0xffffffec
mov rcx, rdi
sete al
mov byte [0x14013a250], al
test al, al
je 0x14000abb3
mov r8d, 0xa0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x14000abbf
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14013af48]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14013af48]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140008b80
mov eax, dword [0x14013af28]
mov dword [0x14013af50], eax
mov eax, dword [0x14013af24]
mov dword [0x14013af2c], eax
call fcn.140022030
mov rcx, qword [0x14013b368]
lea r8, [0x14013b378]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x30], xmm0
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x14013b368]
lea r8, [rbp + 0x30]
mov rdx, qword [0x14013b378]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140018de0
mov rcx, rax
call fcn.14000dcd0
mov rcx, qword [0x14013b370]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x14000a9b0
call fcn.14000e8f0
call fcn.14003ccb0
xor ecx, ecx
call fcn.140016d10
call fcn.140004a90
mov rcx, qword [0x14013af48]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
mov rbx, qword [rsp + 0x2b8]
movaps xmm6, xmmword [rsp + 0x260]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret