Function at 0x140003a00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x3e8]
sub rsp, 0x4e8
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov eax, dword [0x140036150]
lea r8, [rbp - 0x38]
mov rcx, qword [0x1400360c0]
xor r14d, r14d
mov dword [rbp - 0x38], eax
mov edx, 0x22159c
mov rax, qword [0x140036128]
add rax, 0x9645cc0
mov qword [rsp + 0x38], r14
mov qword [rbp - 0x30], rax
lea r9d, [r14 + 0x28]
lea rax, [rsp + 0x58]
mov qword [rbp - 0x20], 8
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x58]
lea r9d, [r14 + 0x28]
mov eax, dword [0x140036150]
lea r8, [rbp - 0x68]
mov dword [rbp - 0x68], eax
mov edx, 0x22159c
mov qword [rsp + 0x38], r14
lea rax, [rcx + 0x180]
mov qword [0x140036158], rcx
mov rcx, qword [0x1400360c0]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400050c4
mov eax, dword [0x140036150]
lea r9d, [r14 + 0x28]
mov dword [rbp - 0x38], eax
lea r8, [rbp - 0x38]
lea rax, [rcx + 0x38]
mov qword [rsp + 0x38], r14
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400050c4
mov eax, dword [0x140036150]
lea r9d, [r14 + 0x28]
mov dword [rbp - 0x68], eax
lea r8, [rbp - 0x68]
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov edx, 0x22159c
lea rax, [rsp + 0x50]
mov qword [rbp - 0x60], rcx
mov rcx, qword [0x1400360c0]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x68]
mov qword [0x140036138], rcx
test rcx, rcx
je 0x1400050c4
mov eax, dword [0x140036150]
lea r9d, [r14 + 0x28]
mov dword [rbp - 0x38], eax
lea r8, [rbp - 0x38]
lea rax, [rcx + 0x30]
mov qword [rsp + 0x38], r14
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x58]
mov qword [0x140036050], rcx
test rcx, rcx
je 0x1400050c4
mov eax, dword [0x140036150]
lea r9d, [r14 + 0x28]
mov dword [rbp - 0x68], eax
lea r8, [rbp - 0x68]
lea rax, [rcx + 0x2a0]
mov qword [rsp + 0x38], r14
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x68]
mov qword [0x1400360c8], rcx
test rcx, rcx
je 0x1400050c4
mov eax, dword [0x140036150]
lea r9d, [r14 + 0x28]
mov dword [rbp - 0x38], eax
lea r8, [rbp - 0x38]
lea rax, [rcx + 0x130]
mov qword [rsp + 0x38], r14
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x58]
mov qword [0x140036148], rax
test rax, rax
je 0x1400050c4
mov rcx, qword [0x1400360c8]
test rcx, rcx
je 0x140003da7
mov eax, dword [0x140036150]
lea r9d, [r14 + 0x28]
mov dword [rbp - 0x68], eax
lea r8, [rbp - 0x68]
lea rax, [rcx + 0x18]
mov qword [rsp + 0x38], r14
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x60]
mov dword [0x140036154], eax
mov eax, dword [0x140036150]
lea r8, [rsp + 0x70]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov dword [rsp + 0x70], eax
mov edx, 0x22159c
mov rax, qword [0x140036158]
add rax, 0x30
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x78], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x68]
mov qword [0x140036130], rax
test rax, rax
je 0x1400050c4
mov eax, dword [0x140036150]
lea r8, [rbp - 0x68]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov dword [rbp - 0x68], eax
mov edx, 0x22159c
mov rax, qword [0x1400360c8]
add rax, 0x240
mov qword [rsp + 0x38], r14
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x508], rsi
mov qword [rbp - 0x50], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rsi, qword [rsp + 0x58]
mov qword [rbp - 0x10], rsi
test rsi, rsi
je 0x1400050bc
mov eax, dword [0x140036150]
lea r8, [rsp + 0x70]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov dword [rsp + 0x70], eax
mov edx, 0x22159c
mov rax, qword [0x140036130]
add rax, 0xa0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x500], rbx
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x4e0], r12
mov qword [rbp - 0x78], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x140036150]
lea r8, [rbp - 0x68]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov ebx, dword [rsp + 0x60]
mov edx, 0x22159c
mov dword [rbp - 0x68], eax
mov rax, qword [0x140036130]
add rax, 0x98
mov qword [rsp + 0x38], r14
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x1f8]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r12, qword [rbp + 0x1f8]
test r12, r12
je 0x1400050ac
test ebx, ebx
je 0x1400050ac
mov qword [rsp + 0x4d8], r13
mov r13d, ebx
mov qword [rsp + 0x4d0], r15
movaps xmmword [rsp + 0x490], xmm9
movss xmm9, dword [0x1400305f8]
movaps xmmword [rsp + 0x430], xmm15
movss xmm15, dword [0x1400305b4]
mov qword [rsp + 0x510], rdi
movaps xmmword [rsp + 0x4c0], xmm6
movaps xmmword [rsp + 0x4b0], xmm7
movaps xmmword [rsp + 0x4a0], xmm8
movaps xmmword [rsp + 0x480], xmm10
movaps xmmword [rsp + 0x470], xmm11
movaps xmmword [rsp + 0x460], xmm12
movaps xmmword [rsp + 0x450], xmm13
movaps xmmword [rsp + 0x440], xmm14
nop dword [rax]
mov eax, dword [0x140036150]
lea r8, [rsp + 0x70]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov dword [rsp + 0x70], eax
mov edx, 0x22159c
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x1f0]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x1d4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x140036150]
lea r8, [rbp - 0x38]
mov rbx, qword [rbp + 0x1f0]
xor r15d, r15d
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov dword [rbp - 0x38], eax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x38], r15
lea r14, [rbx + 0x18]
mov qword [rsp + 0x30], rax
lea r9d, [r15 + 0x28]
lea rax, [rbp - 0x38]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x60]
cmp eax, dword [0x140036154]
je 0x14000412d
cmp eax, 0x109435c
je 0x14000412d
cmp eax, 0x96aec9
je 0x14000412d
cmp eax, 0x96a6ee
je 0x14000412d
cmp eax, 0x96b540
je 0x14000412d
cmp eax, 0x96ac07
jne 0x14000502b
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000502b
mov eax, dword [0x140036150]
lea r8, [rbp + 0x200]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov dword [rbp + 0x200], eax
mov edx, 0x22159c
mov qword [rsp + 0x38], r15
lea rax, [rbx + 0x130]
mov qword [rbp + 0x208], rax
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x210], rax
lea rax, [rbp + 0x104]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x200]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x218], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x1e8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000502b
mov eax, dword [0x140036150]
lea rdi, [rbx + 0x280]
mov rcx, qword [0x1400360c0]
lea r8, [rbp + 0x228]
mov dword [rbp + 0x228], eax
mov r9d, 0x28
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x110]
mov qword [rbp + 0x238], rax
mov edx, 0x22159c
lea rax, [rbp + 0x1dc]
mov qword [rbp + 0x230], rdi
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x228]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x240], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r15, qword [rbp + 0x110]
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000502b
mov eax, dword [0x140036150]
lea r8, [rsp + 0x70]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov dword [rsp + 0x70], eax
mov edx, 0x22159c
mov qword [rsp + 0x38], 0
lea rax, [rsi + 0xed0]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x18]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x78], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x140036150]
lea r8, [rbp + 0x250]
mov rcx, qword [0x1400360c0]
mov r9d, 0x28
mov esi, dword [rbp + 0x18]
mov edx, 0x22159c
mov dword [rbp + 0x250], eax
lea rax, [rbx + 0x240]
mov qword [rbp + 0x258], rax
lea rax, [rbp + 0x108]
mov qword [rbp + 0x260], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x250]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x268], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rbp + 0x108]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140005027
mov eax, dword [0x140036150]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], eax
mov r9d, 0x28
lea rax, [rcx + 0xed0]
mov qword [rsp + 0x38], 0
mov rcx, qword [0x1400360c0]
mov edx, 0x22159c
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0xf4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x78], 4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r8d, 0x42
lea rcx, [rbp + 0x20]
mov rdx, r15
call fcn.140001740
mov eax, dword [0x140036150]
lea r8, [rbp + 0x278]
movss xmm0, dword [0x140036190]
mov r9d, 0x28
movss xmm1, dword [0x140036194]
mov edx, 0x22159c
mov rcx, qword [0x1400360c0]
mov dword [rbp + 0x278], eax
mov rax, qword [0x140036148]
add rax, 0x11c
mov qword [rsp + 0x38], 0
mov qword [rbp + 0x280], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x288], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x278]
movss dword [0x1400361b8], xmm0
movss xmm0, dword [0x140036198]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
movss dword [0x1400361bc], xmm1
movss dword [0x1400361c0], xmm0
mov qword [rbp + 8], 0
mov dword [rbp + 0x10], 0
mov qword [rbp + 0x290], 0xc
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm1, dword [rbp + 0xc]
movss xmm10, dword [rbp + 0x24]
movss xmm6, dword [rbp + 8]
movaps xmm0, xmm10
movss xmm7, dword [rbp + 0x10]
subss xmm0, xmm1
movss dword [0x1400361ac], xmm1
movaps xmm1, xmm9
movss dword [0x1400361a8], xmm6
movss dword [0x1400361b0], xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movss xmm11, dword [rbp + 0x20]
movaps xmm8, xmm0
movaps xmm0, xmm11
movaps xmm1, xmm9
subss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movss xmm6, dword [rbp + 0x28]
addss xmm8, xmm0
movaps xmm0, xmm6
movaps xmm1, xmm9
subss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x140004514
xorps xmm9, xmm9
sqrtss xmm9, xmm8
jmp 0x140004521
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm9, xmm0
divss xmm9, dword [0x140030674]
comiss xmm15, xmm9
ja 0x14000501e
mov r8d, 2
lea rcx, [rbp + 0x2b0]
mov rdx, r15
call fcn.140001740
xor r8d, r8d
lea rcx, [rbp + 0x118]
mov rdx, r15
call fcn.140001740
movsd xmm0, qword [rbp + 0x118]
lea rdx, [rbp + 0x130]
mov eax, dword [rbp + 0x120]
lea rcx, [rbp + 0x170]
movsd qword [rbp + 0x130], xmm0
mov dword [rbp + 0x138], eax
call fcn.140001870
movaps xmm0, xmm11
movss dword [rbp + 0x148], xmm6
unpcklps xmm0, xmm10
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x1c0]
movsd qword [rbp + 0x20], xmm0
movsd qword [rbp + 0x140], xmm0
call fcn.140001870
xor r8d, r8d
lea rcx, [rbp + 0x150]
mov rdx, r15
call fcn.140001740
mov r8d, 0x42
lea rcx, [rbp + 0x2d0]
mov rdx, r15
call fcn.140001740
movsd xmm0, qword [rbp + 0x150]
lea rdx, [rbp + 0x160]
mov eax, dword [rbp + 0x158]
lea rcx, [rbp - 8]
movsd qword [rbp + 0x160], xmm0
mov dword [rbp + 0x168], eax
call fcn.140001870
addss xmm6, dword [0x140030658]
lea rdx, [rbp + 0x90]
movss dword [rbp + 0x90], xmm11
lea rcx, [rbp + 0x2c0]
movss dword [rbp + 0x94], xmm10
movss dword [rbp + 0x98], xmm6
call fcn.140001870
lea rdx, [rbp + 0x80]
movss dword [rbp + 0x80], xmm11
lea rcx, [rbp + 0x1b0]
movss dword [rbp + 0x84], xmm10
movss dword [rbp + 0x88], xmm6
call fcn.140001870
mov eax, dword [0x140036150]
lea r8, [rsp + 0x70]
movss xmm12, dword [rbp + 0x1b4]
mov edx, 0x22159c
mov rcx, qword [0x1400360c0]
movaps xmm13, xmm12
subss xmm13, dword [rbp - 4]
mov dword [rsp + 0x70], eax
lea rax, [rbp + 0xfc]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x78], r14
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
movaps xmm0, xmm13
andps xmm0, xmmword [0x140030780]
lea rax, [rsp + 0x70]
movss dword [rsp + 0x54], xmm0
lea r9d, [r14 + 0x28]
cvtps2pd xmm0, xmm13
mov dword [rsp + 0x28], 0x28
mov qword [rbp - 0x78], 4
mov qword [rsp + 0x20], rax
mulsd xmm0, qword [0x1400305e8]
cvtpd2ps xmm14, xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm8, dword [rbp + 0x174]
movss xmm7, dword [rbp + 0x1c4]
movaps xmm0, xmm8
mov rcx, qword [0x140036170]
subss xmm0, xmm7
movss xmm10, dword [rbp + 0x170]
mov rcx, qword [rcx + 0xa0]
divss xmm0, dword [0x14003060c]
movss dword [rsp + 0x50], xmm0
mulss xmm0, xmm15
subss xmm10, xmm0
call fcn.140023aa0
cmp byte [0x1400360de], r14b
je 0x1400048a9
cmp esi, dword [rbp - 0x40]
je 0x140004879
mov r8, rdi
call fcn.140006730
lea r8d, [r14 + 0x42]
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140001740
movsd xmm0, qword [rbp + 0x180]
lea rdx, [rbp + 0x190]
mov eax, dword [rbp + 0x188]
lea rcx, [rbp + 0x1a0]
movsd qword [rbp + 0x190], xmm0
mov dword [rbp + 0x198], eax
call fcn.140001870
movss xmm11, dword [0x140036120]
lea ecx, [r14 + 2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400047d9
cmp byte [0x14003605c], r14b
jne 0x140004879
mov eax, dword [0x140036124]
movss xmm1, dword [rbp + 0x1a4]
cdq
cvtps2pd xmm1, xmm1
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x140030600]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
mov eax, dword [0x140036140]
movaps xmm6, xmm0
movss xmm1, dword [rbp + 0x1a0]
cdq
cvtps2pd xmm1, xmm1
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x140030600]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x140004850
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x140004858
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x140030674]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x140004879
movss dword [0x140036120], xmm11
mov qword [0x1400360d0], rbx
cmp byte [0x1400360de], r14b
je 0x1400048a9
cmp qword [0x1400360d0], r14
je 0x1400048a9
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400048a2
call fcn.140002c70
jmp 0x1400048a9
mov byte [0x14003605c], r14b
cmp byte [0x1400360d9], r14b
movss xmm11, dword [rbp + 0x1b0]
mov r8, qword [0x140036170]
je 0x1400049c2
movss xmm0, dword [0x1400361c8]
lea rcx, [rbp + 0xa0]
movss xmm1, dword [0x1400361cc]
movss xmm2, dword [0x1400361d0]
movss dword [rbp + 0xa0], xmm0
movss xmm0, dword [r8 + 0x1550]
movss dword [rbp + 0xac], xmm0
movss dword [rbp + 0xa4], xmm1
movss dword [rbp + 0xa8], xmm2
call fcn.140008740
movss dword [rbp + 0x40], xmm11
mov esi, eax
movss dword [rbp + 0x44], xmm12
lea rdi, [r8 + 0x1cc8]
test eax, 0xff000000
je 0x1400049c2
movss xmm0, dword [0x140030638]
lea rdx, [rbp + 0x40]
movaps xmm2, xmm13
mov dword [rsp + 0x28], 0x32
subss xmm2, xmm15
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
mov rcx, rdi
call fcn.140022b00
movss xmm0, dword [0x1400305e4]
mov r9d, esi
mov r8d, dword [rdi + 0x80]
mov rcx, rdi
mov rdx, qword [rdi + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.140021300
mov ecx, dword [rdi + 0x84]
test ecx, ecx
jns 0x1400049b4
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140017840
mov r8, qword [0x140036170]
mov dword [rdi + 0x80], r14d
cmp byte [0x140035056], r14b
je 0x140004b13
addss xmm7, dword [0x14003062c]
movss xmm6, dword [rbp + 0x1c0]
lea rcx, [r8 + 0x1cc8]
addss xmm6, dword [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0xf
mov r9d, 0x46000000
movss dword [rbp + 0x50], xmm10
lea r8, [rbp + 0x48]
movss dword [rbp + 0x4c], xmm7
lea rdx, [rbp + 0x50]
movss dword [rbp + 0x54], xmm8
movss dword [rbp + 0x48], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.1400232f0
mov rbx, qword [0x140036170]
addss xmm10, xmm15
add rbx, 0x1cc8
mov dword [rsp + 0x20], 0xf
addss xmm8, xmm15
xorps xmm3, xmm3
mov rcx, rbx
test byte [rbx + 0x30], 1
je 0x140004a7c
subss xmm6, xmm15
movss dword [rbp + 0x60], xmm10
subss xmm7, xmm15
movss dword [rbp + 0x64], xmm8
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x60]
movss dword [rbp + 0x58], xmm6
movss dword [rbp + 0x5c], xmm7
jmp 0x140004aaa
subss xmm6, dword [0x1400305b0]
subss xmm7, dword [0x1400305b0]
movss dword [rbp + 0x70], xmm10
lea r8, [rbp + 0x68]
movss dword [rbp + 0x74], xmm8
lea rdx, [rbp + 0x70]
movss dword [rbp + 0x68], xmm6
movss dword [rbp + 0x6c], xmm7
call fcn.140022cc0
movss xmm0, dword [0x1400305d8]
mov r9d, 0xffff0080
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.140021300
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140004b05
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140017840
mov r8, qword [0x140036170]
mov dword [rbx + 0x80], r14d
cmp byte [0x140035054], r14b
je 0x140004b2b
mov rcx, r15
call fcn.140003050
mov r8, qword [0x140036170]
cmp byte [0x14003605e], r14b
je 0x140004bc2
movss xmm0, dword [0x1400361e0]
lea rcx, [rbp + 0xb0]
movss xmm1, dword [0x1400361e4]
movss xmm2, dword [0x1400361e8]
movss dword [rbp + 0xb0], xmm0
movss xmm0, dword [r8 + 0x1550]
movss dword [rbp + 0xbc], xmm0
movss dword [rbp + 0xb4], xmm1
movss dword [rbp + 0xb8], xmm2
call fcn.140008740
cvttss2si r9d, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
cvttss2si r8d, xmm14
mulss xmm14, xmm15
movaps xmm0, xmm11
cvttss2si edx, xmm12
subss xmm0, xmm14
cvttss2si ecx, xmm0
call fcn.140003550
mov r8, qword [0x140036170]
cmp byte [0x14003605f], r14b
movss xmm6, dword [rbp - 8]
je 0x140004d1e
xorps xmm2, xmm2
lea rdx, str._.fM
cvtss2sd xmm2, xmm9
lea rcx, [rbp + 0x2e0]
movq r8, xmm2
call fcn.140006890
movss xmm1, dword [0x140035484]
lea rcx, [rbp + 0xc0]
movss xmm0, dword [0x140035480]
mov r8, qword [0x140036170]
movss dword [rbp + 0xc4], xmm1
movss dword [rbp + 0xc0], xmm0
movss xmm0, dword [0x140035488]
movss xmm1, dword [r8 + 0x1550]
mulss xmm1, dword [0x140030628]
movss dword [rbp + 0xc8], xmm0
movss dword [rbp + 0xcc], xmm1
call fcn.140008740
movaps xmm1, xmm6
mov r11d, eax
subss xmm1, dword [0x140030660]
test eax, 0xff000000
je 0x140004d1e
lea rax, [rbp + 0x2e0]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x140004c77
movss xmm7, dword [rbp - 4]
lea r9, [rbp + 0x2e0]
add r9, rcx
lea rax, [rbp + 0x2e0]
cmp rax, r9
je 0x140004d23
mov rcx, qword [r8 + 0x1d30]
xorps xmm8, xmm8
mov rax, qword [r8 + 0x1d00]
movsxd rdx, dword [r8 + 0x1d28]
mov byte [rsp + 0x48], r14b
add rdx, rdx
movss dword [rsp + 0x40], xmm8
movss xmm2, dword [rax + 0x10]
mov qword [rsp + 0x38], r9
movups xmm0, xmmword [rcx + rdx*8 - 0x10]
lea rcx, [rbp + 0x2e0]
mov qword [rsp + 0x30], rcx
lea rdx, [r8 + 0x1cc8]
movups xmmword [rbp + 0x2a0], xmm0
lea rcx, [rbp + 0x2a0]
mov qword [rsp + 0x28], rcx
movaps xmm0, xmm1
mov rcx, qword [rax + 8]
unpcklps xmm0, xmm7
movq r9, xmm0
mov dword [rsp + 0x20], r11d
call fcn.140026150
mov r8, qword [0x140036170]
jmp 0x140004d23
movss xmm7, dword [rbp - 4]
cmp byte [0x1400360db], r14b
je 0x140004e20
movss xmm0, dword [0x140036200]
lea rcx, [rbp + 0xd0]
movss xmm1, dword [0x140036204]
movss xmm2, dword [0x140036208]
movss dword [rbp + 0xd0], xmm0
movss xmm0, dword [r8 + 0x1550]
mulss xmm0, dword [0x1400305a4]
movss dword [rbp + 0xd4], xmm1
movss dword [rbp + 0xd8], xmm2
movss dword [rbp + 0xdc], xmm0
call fcn.140008740
movss dword [rbp + 0x30], xmm11
mov esi, eax
movss dword [rbp + 0x34], xmm12
lea rdi, [r8 + 0x1cc8]
test eax, 0xff000000
je 0x140004e20
movss xmm0, dword [0x140030640]
lea rdx, [rbp + 0x30]
movaps xmm2, xmm13
mov dword [rsp + 0x28], 0x64
divss xmm2, dword [0x140030668]
mov rcx, rdi
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
call fcn.140022b00
mov r8d, dword [rdi + 0x80]
mov r9d, esi
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
call fcn.1400222d0
mov ecx, dword [rdi + 0x84]
test ecx, ecx
jns 0x140004e12
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140017840
mov r8, qword [0x140036170]
mov dword [rdi + 0x80], r14d
cmp byte [0x14003605d], r14b
je 0x140004ff8
movss xmm0, dword [0x1400361f0]
lea rcx, [rbp + 0xe0]
movss xmm1, dword [0x1400361f4]
movss xmm2, dword [0x1400361f8]
subss xmm12, dword [0x140030668]
movss dword [rbp + 0xe0], xmm0
movss xmm0, dword [r8 + 0x1550]
movss dword [rbp + 0x38], xmm11
movss dword [rbp + 0xe4], xmm1
movss dword [rbp + 0x3c], xmm12
movss dword [rbp + 0xe8], xmm2
movss dword [rbp + 0xec], xmm0
call fcn.140008740
mulss xmm13, xmm15
movaps xmm0, xmm6
mov esi, eax
lea rdi, [r8 + 0x1cc8]
movss dword [rsp + 0x5c], xmm7
movss dword [rsp + 0x6c], xmm7
addss xmm0, xmm13
subss xmm6, xmm13
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x68], xmm6
test eax, 0xff000000
je 0x140004ff8
lea rbx, [rdi + 0x80]
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x140004f08
inc r8d
test ecx, ecx
je 0x140004ef1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140004ef6
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140017840
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov rax, qword [rbp + 0x38]
mov qword [rcx + rdx*8], rax
mov r8d, dword [rbx]
inc r8d
mov dword [rbx], r8d
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x140004f51
inc r8d
test ecx, ecx
je 0x140004f3a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140004f3f
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140017840
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov rax, qword [rsp + 0x68]
mov qword [rcx + rdx*8], rax
mov r8d, dword [rbx]
inc r8d
mov dword [rbx], r8d
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x140004f9b
inc r8d
test ecx, ecx
je 0x140004f84
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140004f89
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140017840
movsxd r8, dword [rbx]
mov r9d, esi
mov rdx, qword [rbx + 8]
mov rcx, rdi
mov rax, qword [rsp + 0x58]
movss xmm0, dword [0x1400305e4]
movss dword [rsp + 0x28], xmm0
mov qword [rdx + r8*8], rax
inc dword [rbx]
mov r8d, dword [rbx]
mov rdx, qword [rdi + 0x88]
mov byte [rsp + 0x20], 1
call fcn.140021300
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140004ff5
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140017840
mov dword [rbx], r14d
cmp byte [0x1400360dc], r14b
movss xmm9, dword [0x1400305f8]
mov rsi, qword [rbp - 0x10]
je 0x14000502e
cmp byte [0x1400360de], r14b
sete byte [0x1400360de]
jmp 0x14000502e
movss xmm9, dword [0x1400305f8]
mov rsi, qword [rbp - 0x10]
xor r14d, r14d
add r12, 8
sub r13, 1
jne 0x140004030
movaps xmm15, xmmword [rsp + 0x430]
movaps xmm14, xmmword [rsp + 0x440]
movaps xmm13, xmmword [rsp + 0x450]
movaps xmm12, xmmword [rsp + 0x460]
movaps xmm11, xmmword [rsp + 0x470]
movaps xmm10, xmmword [rsp + 0x480]
movaps xmm9, xmmword [rsp + 0x490]
movaps xmm8, xmmword [rsp + 0x4a0]
movaps xmm7, xmmword [rsp + 0x4b0]
movaps xmm6, xmmword [rsp + 0x4c0]
mov r15, qword [rsp + 0x4d0]
mov r13, qword [rsp + 0x4d8]
mov rdi, qword [rsp + 0x510]
mov rbx, qword [rsp + 0x500]
mov r12, qword [rsp + 0x4e0]
mov rsi, qword [rsp + 0x508]
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14002a850
add rsp, 0x4e8
pop r14
pop rbp
ret