Function at 0x180016a70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x188]
sub rsp, 0x288
xor r14d, r14d
movaps xmmword [rsp + 0x270], xmm6
lea rax, [0x180018b60]
mov qword [rbp + 0xc0], r14
mov edx, 0x7f00
mov qword [rbp + 0xb8], rax
xor ecx, ecx
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xb0], 0x50
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0xd0], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
xorps xmm0, xmm0
lea rbx, str.CEF_OSC_WIDGET
mov edx, 0x7f00
mov qword [rbp + 0xd8], rax
xor ecx, ecx
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rbx
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rbp + 0xb0]
mov qword [rbp + 0xf8], 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 [0x1800f89a0], rax
lea edx, [r14 + 0xa]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1800f89a0]
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
movss xmm6, dword [0x18005aa4c]
mov rdx, rbx
movd xmm0, dword [0x1800f899c]
movd xmm1, dword [rsp + 0x74]
mov rax, qword [rbp + 0xc8]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
cvtdq2ps xmm1, xmm1
addss xmm0, xmm6
subss xmm1, xmm6
cvttss2si r10d, xmm0
movd xmm0, dword [0x1800f8998]
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 [0x1800f89a8], rax
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
subss xmm1, xmm6
cvttss2si ecx, xmm0
movd xmm0, dword [0x1800f8998]
mov dword [rbp + 0x10], ecx
cvttss2si ecx, xmm1
mov dword [rbp + 0x14], ecx
movd xmm1, dword [0x1800f899c]
lea rdx, [rbp + 0x10]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, xmm6
addss xmm1, xmm6
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
mov dword [rbp + 0x18], ecx
mov rcx, r8
mov dword [rbp + 0x1c], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1800f89a8]
lea edx, [r14 - 0x14]
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword [0x1800f89a8]
lea rbx, [0x1800f8b58]
mov qword [rsp + 0x58], rbx
lea rdi, [0x1800f8b50]
mov qword [rbp - 0x50], rax
lea rsi, [0x1800f8b60]
mov r13d, 1
mov qword [rbp - 0x6c], r14
lea rax, [rbp + 0x1c0]
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, r13d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x1c8]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], r13d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x64], r13
mov qword [rbp - 0x48], r13
mov dword [rbp + 0x1c8], 0xb000
mov dword [rbp + 0x1cc], 0xa000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
cmp eax, 0x887a0004
jne 0x180016d8f
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x50], rax
lea edx, [r14 + 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 + 0x1c8]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
je 0x180016db4
call fcn.180007c40
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, r13d
jmp 0x18001799f
mov rcx, qword [0x1800f8b60]
lea r9, [rbp + 0x1d0]
mov qword [rsp + 0x2d8], r12
lea r8, [0x1800be4d0]
mov qword [rsp + 0x280], r15
xor edx, edx
movaps xmmword [rsp + 0x260], xmm8
mov rax, qword [rcx]
movaps xmmword [rsp + 0x250], xmm9
movaps xmmword [rsp + 0x240], xmm10
movaps xmmword [rsp + 0x230], xmm11
movaps xmmword [rsp + 0x220], xmm12
movaps xmmword [rsp + 0x210], xmm13
call qword [rax + 0x48]
mov rcx, qword [0x1800f8b50]
lea r9, [0x1800f8b68]
mov rdx, qword [rbp + 0x1d0]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1800f89a8]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1800f89a8]
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.18002bc70
xor ecx, ecx
call fcn.18002b7b0
call fcn.18002e870
xor ecx, ecx
mov r15, rax
call fcn.180017e50
mov rcx, qword [0x1800f89a8]
call fcn.180040820
mov rdx, qword [0x1800f8b58]
mov rcx, qword [0x1800f8b50]
call fcn.180023410
call fcn.18002e870
movss xmm3, dword [0x1800be6e0]
lea rcx, [0x1800bddbc]
mov qword [rsp + 0x28], rcx
lea rdx, [0x1800d6230]
mov r8d, 0x1f84c
mov qword [rsp + 0x20], r14
mov rcx, qword [rax + 0x50]
call fcn.180005290
movss xmm12, dword [0x18005aa40]
xorps xmm13, xmm13
mov r12, qword [r15 + 0x50]
xor eax, eax
movups xmmword [rbp - 0x70], xmm13
mov qword [rbp], rax
mov eax, 0xffff
movups xmmword [rbp - 0x40], xmm13
mov ecx, 0x6106c
mov dword [rbp - 0x68], 3
movups xmmword [rbp - 0x30], xmm13
mov word [rbp - 0x2c], ax
movups xmmword [rbp - 0x80], xmm13
mov byte [rbp - 0x74], r13b
movups xmmword [rbp - 0x60], xmm13
mov dword [rbp - 0x64], r13d
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov byte [rbp - 0x38], r13b
mov byte [rbp - 0x60], r13b
call fcn.180031ad0
mov rsi, rax
lea rax, [0x18005e9d0]
mov qword [0x1800f8ab8], rax
lea rdi, [rsi + 0x6106c]
mov qword [0x1800f8aa8], rdi
lea rbx, [0x18005e9e0]
mov qword [0x1800f8ab0], rsi
mov r9, rsi
mov qword [0x1800f8ac0], rsi
movzx r8d, byte [rbx]
mov r14, rbx
mov rax, rbx
cmp r8b, 0x20
jb 0x1800170de
cmp r8b, 0x80
jb 0x180017032
movzx eax, byte [rbx + 1]
lea edx, [r8 - 0x7f]
mov rcx, r9
mov r8d, edx
sub rcx, rax
add r8, r9
dec rcx
cmp r8, rdi
jbe 0x180016fee
mov r9, r8
mov qword [0x1800f8ac0], r8
lea rax, [rbx + 2]
jmp 0x18001724f
cmp rcx, rsi
jae 0x180017007
lea r9, [rdi + 1]
mov qword [0x1800f8ac0], r9
lea rax, [rbx + 2]
jmp 0x18001724f
test edx, edx
je 0x180017029
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9], al
inc r9
add edx, 0xffffffff
jne 0x180017010
mov qword [0x1800f8ac0], r9
lea rax, [rbx + 2]
jmp 0x18001724f
cmp r8b, 0x40
jb 0x1800170c2
movzx edx, byte [rbx + 2]
mov rax, r8
shl rax, 8
inc edx
mov rcx, r9
mov r8d, edx
sub rcx, rax
add r8, r9
movzx eax, byte [rbx + 1]
sub rcx, rax
add rcx, 0x3fff
cmp r8, rdi
jbe 0x18001707b
mov r9, r8
mov qword [0x1800f8ac0], r8
lea rax, [rbx + 3]
jmp 0x18001724f
cmp rcx, rsi
jae 0x1800170a0
lea r9, [rdi + 1]
mov qword [0x1800f8ac0], r9
lea rax, [rbx + 3]
jmp 0x18001724f
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9], al
inc r9
add edx, 0xffffffff
jne 0x1800170a0
mov qword [0x1800f8ac0], r9
lea rax, [rbx + 3]
jmp 0x18001724f
lea edx, [r8 - 0x1f]
lea rcx, [rbx + 1]
call fcn.18001b9b0
movzx eax, byte [rbx]
add rax, 0xffffffffffffffe2
add rax, rbx
jmp 0x180017248
cmp r8b, 0x18
jb 0x180017118
movzx eax, byte [rbx + 1]
movzx edx, byte [rbx + 3]
shl r8, 8
inc edx
add r8, rax
movzx eax, byte [rbx + 2]
shl r8, 8
sub r9, r8
sub r9, rax
lea rcx, [r9 + 0x17ffff]
call fcn.18001ba10
lea rax, [rbx + 4]
jmp 0x180017248
cmp r8b, 0x10
jb 0x18001715e
movzx ecx, byte [rbx + 3]
movzx eax, byte [rbx + 1]
movzx edx, byte [rbx + 4]
shl ecx, 8
inc ecx
add edx, ecx
mov rcx, r8
shl rcx, 8
add rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
sub r9, rcx
sub r9, rax
lea rcx, [r9 + 0xfffff]
call fcn.18001ba10
lea rax, [rbx + 5]
jmp 0x180017248
cmp r8b, 8
jb 0x18001719b
movzx edx, byte [rbx + 1]
mov ecx, r8d
shl ecx, 8
add ecx, 0xfffff801
add edx, ecx
lea rcx, [rbx + 2]
call fcn.18001b9b0
movzx eax, byte [rbx]
movzx ecx, byte [rbx + 1]
shl rax, 8
add rax, 0xfffffffffffff803
add rax, rbx
add rax, rcx
jmp 0x180017248
cmp r8b, 7
jne 0x1800171d1
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx + 2]
shl ecx, 8
inc ecx
add edx, ecx
lea rcx, [rbx + 3]
call fcn.18001b9b0
movzx eax, byte [rbx + 1]
movzx ecx, byte [rbx + 2]
shl rax, 8
add rax, 4
add rax, rbx
add rax, rcx
jmp 0x180017248
cmp r8b, 6
jne 0x180017209
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx + 4]
shl rcx, 8
inc edx
add rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
sub r9, rcx
sub r9, rax
lea rcx, [r9 - 1]
call fcn.18001ba10
lea rax, [rbx + 5]
jmp 0x180017248
cmp r8b, 4
jne 0x18001724f
movzx ecx, byte [rbx + 4]
movzx eax, byte [rbx + 2]
movzx edx, byte [rbx + 5]
shl ecx, 8
inc ecx
add edx, ecx
movzx ecx, byte [rbx + 1]
shl rcx, 8
add rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
sub r9, rcx
sub r9, rax
lea rcx, [r9 - 1]
call fcn.18001ba10
lea rax, [rbx + 6]
mov r9, qword [0x1800f8ac0]
mov rbx, rax
cmp rax, r14
je 0x180017260
cmp r9, rdi
jbe 0x180016fa1
movsd xmm1, qword [rbp]
lea rax, [0x1800be470]
movaps xmm6, xmmword [rbp - 0x80]
lea rdx, [rbp + 0x20]
movaps xmm8, xmmword [rbp - 0x70]
mov rcx, r12
movaps xmm9, xmmword [rbp - 0x60]
movaps xmm10, xmmword [rbp - 0x40]
movaps xmm11, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x20], xmm6
mov byte [rbp + 0x2c], r13b
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm8
movaps xmmword [rbp + 0x50], xmm13
mov qword [rbp + 0x20], rsi
mov dword [rbp + 0x28], 0x6106c
movaps xmmword [rbp + 0x40], xmm9
movaps xmmword [rbp + 0x60], xmm10
movaps xmmword [rbp + 0x70], xmm11
movaps xmmword [rbp + 0x80], xmm13
movaps xmmword [rbp + 0x90], xmm13
movsd qword [rbp + 0xa0], xmm1
mov dword [rbp + 0x34], 0x41600000
mov qword [rbp + 0x58], rax
call fcn.1800049e0
mov r15, qword [r15 + 0x50]
mov ecx, 0x2d70c
call fcn.180031ad0
mov r12, qword [rsp + 0x2d8]
lea rbx, [0x180097d30]
mov rsi, rax
lea rax, [0x180097d20]
mov qword [0x1800f8ab8], rax
mov r9, rsi
mov qword [0x1800f8ab0], rsi
mov qword [0x1800f8ac0], rsi
lea rdi, [rsi + 0x2d70c]
mov qword [0x1800f8aa8], rdi
nop dword [rax]
nop dword [rax + rax]
movzx r10d, byte [rbx]
mov r14, rbx
mov rcx, rbx
cmp r10b, 0x20
jb 0x18001746e
cmp r10b, 0x80
jb 0x1800173d2
movzx eax, byte [rbx + 1]
lea edx, [r10 - 0x7f]
mov rcx, r9
mov r8d, edx
sub rcx, rax
add r8, r9
dec rcx
cmp r8, rdi
jbe 0x180017389
mov r9, r8
mov qword [0x1800f8ac0], r8
lea rcx, [rbx + 2]
jmp 0x1800175e4
cmp rcx, rsi
jae 0x1800173a2
lea r9, [rdi + 1]
mov qword [0x1800f8ac0], r9
lea rcx, [rbx + 2]
jmp 0x1800175e4
test edx, edx
je 0x1800173c9
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9], al
inc r9
add edx, 0xffffffff
jne 0x1800173b0
mov qword [0x1800f8ac0], r9
lea rcx, [rbx + 2]
jmp 0x1800175e4
cmp r10b, 0x40
jb 0x180017452
movzx edx, byte [rbx + 2]
mov rax, r10
shl rax, 8
inc edx
mov rcx, r9
mov r8d, edx
sub rcx, rax
add r8, r9
movzx eax, byte [rbx + 1]
sub rcx, rax
add rcx, 0x3fff
cmp r8, rdi
jbe 0x180017417
mov r9, r8
mov qword [0x1800f8ac0], r8
lea rcx, [rbx + 3]
jmp 0x1800175e4
cmp rcx, rsi
jae 0x180017430
lea r9, [rdi + 1]
mov qword [0x1800f8ac0], r9
lea rcx, [rbx + 3]
jmp 0x1800175e4
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9], al
inc r9
add edx, 0xffffffff
jne 0x180017430
mov qword [0x1800f8ac0], r9
lea rcx, [rbx + 3]
jmp 0x1800175e4
lea edx, [r10 - 0x1f]
lea rcx, [rbx + 1]
call fcn.18001b9b0
movzx ecx, byte [rbx]
add rcx, 0xffffffffffffffe2
add rcx, rbx
jmp 0x1800175dd
cmp r10b, 0x18
jb 0x1800174ac
movzx r8d, byte [rbx + 1]
mov rax, r10
movzx edx, byte [rbx + 3]
shl rax, 8
inc edx
add r8, rax
movzx eax, byte [rbx + 2]
shl r8, 8
sub r9, r8
sub r9, rax
lea rcx, [r9 + 0x17ffff]
call fcn.18001ba10
lea rcx, [rbx + 4]
jmp 0x1800175dd
cmp r10b, 0x10
jb 0x1800174f2
movzx ecx, byte [rbx + 3]
mov rax, r10
movzx edx, byte [rbx + 4]
shl ecx, 8
inc ecx
shl rax, 8
add edx, ecx
movzx ecx, byte [rbx + 1]
add rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
sub r9, rcx
sub r9, rax
lea rcx, [r9 + 0xfffff]
call fcn.18001ba10
lea rcx, [rbx + 5]
jmp 0x1800175dd
cmp r10b, 8
jb 0x180017530
movzx edx, byte [rbx + 1]
mov ecx, r10d
shl ecx, 8
add ecx, 0xfffff801
add edx, ecx
lea rcx, [rbx + 2]
call fcn.18001b9b0
movzx eax, byte [rbx]
movzx ecx, byte [rbx + 1]
shl rax, 8
add rcx, 0xfffffffffffff803
add rax, rbx
add rcx, rax
jmp 0x1800175dd
cmp r10b, 7
jne 0x180017566
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx + 2]
shl ecx, 8
inc ecx
add edx, ecx
lea rcx, [rbx + 3]
call fcn.18001b9b0
movzx eax, byte [rbx + 1]
movzx ecx, byte [rbx + 2]
shl rax, 8
add rcx, 4
add rax, rbx
add rcx, rax
jmp 0x1800175dd
cmp r10b, 6
jne 0x18001759e
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx + 4]
shl rcx, 8
inc edx
add rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
sub r9, rcx
sub r9, rax
lea rcx, [r9 - 1]
call fcn.18001ba10
lea rcx, [rbx + 5]
jmp 0x1800175dd
cmp r10b, 4
jne 0x1800175e4
movzx ecx, byte [rbx + 4]
movzx eax, byte [rbx + 2]
movzx edx, byte [rbx + 5]
shl ecx, 8
inc ecx
add edx, ecx
movzx ecx, byte [rbx + 1]
shl rcx, 8
add rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
sub r9, rcx
sub r9, rax
lea rcx, [r9 - 1]
call fcn.18001ba10
lea rcx, [rbx + 6]
mov r9, qword [0x1800f8ac0]
mov rbx, rcx
cmp rcx, r14
je 0x1800175f5
cmp r9, rdi
jbe 0x180017340
movsd xmm1, qword [rbp]
lea rax, [0x1800be478]
movaps xmmword [rbp + 0x20], xmm6
lea rdx, [rbp + 0x20]
mov byte [rbp + 0x2c], r13b
mov rcx, r15
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm8
movaps xmmword [rbp + 0x50], xmm13
mov qword [rbp + 0x20], rsi
mov dword [rbp + 0x28], 0x2d70c
movaps xmmword [rbp + 0x40], xmm9
movaps xmmword [rbp + 0x60], xmm10
movaps xmmword [rbp + 0x70], xmm11
movaps xmmword [rbp + 0x80], xmm13
movaps xmmword [rbp + 0x90], xmm13
movsd qword [rbp + 0xa0], xmm1
mov dword [rbp + 0x34], 0x41600000
mov qword [rbp + 0x58], rax
call fcn.1800049e0
movaps xmm13, xmmword [rsp + 0x210]
xor bl, bl
movaps xmm11, xmmword [rsp + 0x230]
xor r14d, r14d
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm9, xmmword [rsp + 0x250]
movaps xmm8, xmmword [rsp + 0x260]
mov r15, qword [rsp + 0x280]
nop
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x180017702
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, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1800176c0
test bl, bl
jne 0x18001795d
call fcn.180023670
call fcn.1800409a0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, qword [0x1800f89a0]
cmp rax, rsi
jne 0x18001775b
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1800f89a8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rsi, qword [0x1800f89a0]
movaps xmm0, xmmword [rsp + 0x70]
mov rdi, qword [0x1800f89a8]
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rdi
jne 0x1800177aa
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], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
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 [0x1800f8998], eax
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
mov dword [0x1800f899c], eax
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [rsp + 0x64]
bt eax, 0x17
mov eax, dword [0x1800f899c]
jae 0x18001780a
add ecx, 0x20
sub eax, 0x27
mov dword [rsp + 0x64], ecx
mov dword [0x1800f899c], eax
movd xmm1, dword [0x1800f8998]
cvtdq2ps xmm1, xmm1
mov dword [rsp + 0x28], r13d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm12
addss xmm0, xmm12
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, xmm12
subss xmm1, xmm12
cvttss2si r8d, xmm0
cvttss2si edx, xmm1
call qword [sym.imp.USER32.dll_MoveWindow]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r13b, al
je 0x1800178b3
cmp byte [0x1800f78e0], r14b
mov edx, 0xffffffec
mov rcx, rdi
sete al
mov byte [0x1800f78e0], al
test al, al
je 0x1800178a7
mov r8d, 0xa0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1800178b3
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1800f89a8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1800f89a8]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1800139f0
mov eax, dword [0x1800f899c]
mov dword [0x1800f89b4], eax
mov eax, dword [0x1800f8998]
mov dword [0x1800f89b0], eax
call fcn.180037340
mov rcx, qword [0x1800f8b58]
lea r8, [0x1800f8b68]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x100], xmm0
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1800f8b58]
lea r8, [rbp + 0x100]
mov rdx, qword [0x1800f8b68]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.18002e4e0
mov rcx, rax
call fcn.1800236b0
mov rcx, qword [0x1800f8b60]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x1800176a0
call fcn.1800242d0
call fcn.180040c90
xor ecx, ecx
call fcn.18002c420
call fcn.180007c40
mov rcx, qword [0x1800f89a8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
movaps xmm12, xmmword [rsp + 0x220]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x270]
add rsp, 0x288
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret