Function at 0x140036fe8
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x9e8
mov rax, qword [0x140054a00]
xor rax, rsp
mov qword [rsp + 0x9d0], rax
movzx eax, byte [0x140055295]
test eax, eax
je 0x1400370df
call fcn.140009434
mov qword [rsp + 0x418], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xfc
mov r8d, 0x18
mov edx, 3
lea rcx, [rsp + 0x958]
call fcn.1400347f8
mov rcx, rax
call fcn.14003552c
mov dword [rsp + 0x120], eax
cvtsi2ss xmm0, dword [0x1400531c8]
movss dword [rsp + 0x124], xmm0
mov eax, dword [0x140055254]
cvtsi2ss xmm0, rax
mov eax, dword [0x140055250]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x5a0]
call fcn.140034ab4
mov qword [rsp + 0x410], rax
movss xmm0, dword [0x140049c40]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x120]
movss xmm2, dword [rsp + 0x124]
mov rdx, qword [rsp + 0x410]
mov rcx, qword [rsp + 0x418]
call fcn.140012ce4
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x5a], 0
movss xmm0, dword [0x140045b98]
movss dword [rsp + 0x60], xmm0
mov qword [rsp + 0x118], 0
cmp dword [0x1400554d4], 0
jne 0x14003710e
mov dword [0x1400554d0], 0x6d
jmp 0x14003714b
cmp dword [0x1400554d4], 1
jne 0x140037123
mov dword [0x1400554d0], 0x44
jmp 0x14003714b
cmp dword [0x1400554d4], 2
jne 0x140037138
mov dword [0x1400554d0], 0x24
jmp 0x14003714b
cmp dword [0x1400554d4], 3
jne 0x14003714b
mov dword [0x1400554d0], 2
movss xmm0, dword [0x140045b98]
movss dword [0x1400552f4], xmm0
mov qword [0x140055308], 0
call fcn.1400090e0
mov rax, qword [rax + 8]
mov qword [rsp + 0x128], rax
movss xmm0, dword [rsp + 0x12c]
divss xmm0, dword [0x140045b4c]
movss xmm1, dword [rsp + 0x128]
divss xmm1, dword [0x140045b4c]
movaps xmm2, xmm0
lea rcx, [rsp + 0x5a8]
call fcn.140034ab4
mov dword [rsp + 0x50], 0
jmp 0x1400371bd
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [0x140055320]
cmp dword [rsp + 0x50], eax
jae 0x140038d75
mov eax, dword [rsp + 0x50]
mov rcx, qword [0x140055318]
lea rax, [rcx + rax*8]
mov rdx, rax
lea rcx, [0x140055368]
call fcn.1400333e8
mov qword [0x1400552e0], rax
mov eax, dword [rsp + 0x50]
mov rcx, qword [0x140055318]
lea rax, [rcx + rax*8]
mov rdx, rax
lea rcx, [0x140055368]
call fcn.1400333e8
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
add rax, 0x308
mov rdx, rax
lea rcx, [0x140055368]
call fcn.1400333e8
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 0
jne 0x14003724d
jmp 0x1400371b3
cmp qword [0x1400552e0], 0
jne 0x14003725c
jmp 0x1400371b3
mov rax, qword [0x1400552e0]
add rax, 0x10e0
mov rdx, rax
lea rcx, [0x140055368]
call fcn.140033210
mov dword [rsp + 0x80], eax
cmp qword [0x1400552d8], 0
je 0x1400372cf
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x5f0]
call fcn.140034b48
mov eax, dword [0x1400552f0]
cmp dword [rsp + 0x80], eax
jne 0x1400372c2
lea rcx, [rsp + 0x5f0]
call fcn.1400351d0
jmp 0x1400371b3
lea rcx, [rsp + 0x5f0]
call fcn.1400351d0
mov rax, qword [0x1400552e0]
add rax, 0x308
mov rdx, rax
lea rcx, [0x140055368]
call fcn.1400333e8
mov qword [0x140055300], rax
cmp qword [0x140055300], 0
jne 0x140037301
jmp 0x1400371b3
mov rax, qword [0x1400552d8]
cmp qword [0x140055300], rax
jne 0x140037316
jmp 0x1400371b3
mov rax, qword [0x140055300]
add rax, 0x318
mov rdx, rax
lea rcx, [0x140055368]
call fcn.1400333e8
mov qword [0x140055310], rax
cmp qword [0x140055310], 0
jne 0x140037348
jmp 0x1400371b3
mov r8d, 0x6d
mov rdx, qword [0x140055310]
lea rcx, [rsp + 0x450]
call fcn.14003d440
nop
xor r8d, r8d
mov rdx, qword [0x140055310]
lea rcx, [rsp + 0x480]
call fcn.14003d440
nop
lea rax, [rsp + 0x640]
lea rcx, [rsp + 0x480]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x640]
lea rcx, [rsp + 0x68]
call fcn.14003ff44
nop
movsd xmm0, qword [rsp + 0x460]
addsd xmm0, qword [0x14004b598]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x458]
cvtsd2ss xmm2, qword [rsp + 0x450]
movss dword [rsp + 0x84], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0x84]
movaps xmm1, xmm0
lea rcx, [rsp + 0x680]
call fcn.140034bc8
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0x430], rax
lea rax, [rsp + 0x660]
mov rdi, rax
mov rsi, qword [rsp + 0x430]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x660]
lea rcx, [rsp + 0x38]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x680]
call fcn.140031cc8
lea rax, [rsp + 0x6a0]
lea rcx, [rsp + 0x450]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x6a0]
lea rcx, [rsp + 0x468]
call fcn.14003ff44
nop
lea rax, [rsp + 0x6c0]
lea rcx, [rsp + 0x480]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x6c0]
lea rcx, [0x140055418]
call fcn.14003609c
divss xmm0, dword [0x140045b7c]
movss dword [rsp + 0x10c], xmm0
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [rsp + 0x70]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [rsp + 0x88]
mulss xmm0, dword [0x14004b560]
movss dword [rsp + 0x8c], xmm0
cvtsd2ss xmm0, qword [rsp + 0x38]
movss xmm1, dword [rsp + 0x8c]
divss xmm1, dword [0x140045b44]
subss xmm0, xmm1
movss dword [rsp + 0x408], xmm0
cvtsd2ss xmm0, qword [rsp + 0x70]
movss dword [rsp + 0x40c], xmm0
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [rsp + 0x70]
call fcn.14003c9c8
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x54], xmm0
cvtss2sd xmm0, dword [rsp + 0x54]
mulsd xmm0, qword [0x14004b588]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movzx eax, byte [0x140053190]
test eax, eax
je 0x140038c71
movzx eax, byte [0x14005318a]
test eax, eax
je 0x140038c71
mov eax, 0x13b0
mov eax, eax
mov ecx, dword [0x140056228]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140055b50], eax
jle 0x1400375cb
lea rcx, [0x140055b50]
call fcn.14004247c
cmp dword [0x140055b50], 0xffffffff
jne 0x1400375cb
lea rcx, [0x140055b40]
call fcn.1400349bc
nop
lea rcx, [0x140055b50]
call fcn.140042410
mov rcx, qword [0x140055310]
call fcn.14003d838
movzx eax, al
test eax, eax
je 0x140037694
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x6e0]
call fcn.140034b48
nop
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1400531a8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x1400531a8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x1400531a8]
movss xmm0, dword [0x140045b44]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x560]
call fcn.140034aec
lea rcx, [rsp + 0x560]
call fcn.140008cbc
mov edx, eax
lea rcx, [rsp + 0x570]
call fcn.14003488c
movups xmm0, xmmword [rsp + 0x570]
movdqu xmmword [0x140055b40], xmm0
lea rcx, [rsp + 0x6e0]
call fcn.1400351d0
jmp 0x140037741
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x6f8]
call fcn.140034b48
nop
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1400531b8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x1400531b8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x1400531b8]
movss xmm0, dword [0x140045b44]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x580]
call fcn.140034aec
lea rcx, [rsp + 0x580]
call fcn.140008cbc
mov edx, eax
lea rcx, [rsp + 0x590]
call fcn.14003488c
movups xmm0, xmmword [rsp + 0x590]
movdqu xmmword [0x140055b40], xmm0
lea rcx, [rsp + 0x6f8]
call fcn.1400351d0
movzx eax, byte [0x14005318c]
test eax, eax
je 0x1400389f2
cmp dword [0x1400552a4], 0
jne 0x140037b25
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x710]
call fcn.140034b48
nop
call fcn.140009434
mov qword [rsp + 0x448], rax
movss xmm0, dword [0x140053194]
movss dword [rsp + 0x90], xmm0
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0x94], eax
cvtsd2ss xmm0, qword [rsp + 0x40]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x68]
addsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5b0]
call fcn.140034ab4
mov qword [rsp + 0x438], rax
cvtsd2ss xmm0, qword [rsp + 0x40]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5b8]
call fcn.140034ab4
mov qword [rsp + 0x440], rax
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x94]
mov r8, qword [rsp + 0x438]
mov rdx, qword [rsp + 0x440]
mov rcx, qword [rsp + 0x448]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x218], rax
movss xmm0, dword [0x140053194]
movss dword [rsp + 0x98], xmm0
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0x9c], eax
cvtsd2ss xmm0, qword [rsp + 0x70]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5c0]
call fcn.140034ab4
mov qword [rsp + 0x208], rax
cvtsd2ss xmm0, qword [rsp + 0x40]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5c8]
call fcn.140034ab4
mov qword [rsp + 0x210], rax
movss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x9c]
mov r8, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x230], rax
movss xmm0, dword [0x140053194]
movss dword [rsp + 0xa0], xmm0
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xa4], eax
cvtsd2ss xmm0, qword [rsp + 0x70]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x68]
addsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5d0]
call fcn.140034ab4
mov qword [rsp + 0x220], rax
cvtsd2ss xmm0, qword [rsp + 0x70]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5d8]
call fcn.140034ab4
mov qword [rsp + 0x228], rax
movss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xa4]
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x230]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x248], rax
movss xmm0, dword [0x140053194]
movss dword [rsp + 0xa8], xmm0
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xac], eax
cvtsd2ss xmm0, qword [rsp + 0x70]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x68]
addsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5e0]
call fcn.140034ab4
mov qword [rsp + 0x238], rax
cvtsd2ss xmm0, qword [rsp + 0x40]
movss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x140045b4c]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [rsp + 0x68]
addsd xmm2, xmm1
movaps xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x5e8]
call fcn.140034ab4
mov qword [rsp + 0x240], rax
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xac]
mov r8, qword [rsp + 0x238]
mov rdx, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x248]
call fcn.140013fa4
nop
lea rcx, [rsp + 0x710]
call fcn.1400351d0
jmp 0x1400389f2
cmp dword [0x1400552a4], 1
jne 0x140037bd8
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x728]
call fcn.140034b48
nop
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xb0], eax
cvttss2si eax, dword [0x140053194]
mov dword [rsp + 0xb4], eax
cvttss2si eax, dword [rsp + 0x54]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140045b4c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x38]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov esi, dword [rsp + 0xb0]
mov dword [rsp + 0x28], esi
mov esi, dword [rsp + 0xb4]
mov dword [rsp + 0x20], esi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140035d68
nop
lea rcx, [rsp + 0x728]
call fcn.1400351d0
jmp 0x1400389f2
cmp dword [0x1400552a4], 2
jne 0x1400389f2
movsd xmm0, qword [rsp + 0x38]
ucomisd xmm0, qword [0x140049c08]
jp 0x140037c1f
jne 0x140037c1f
movsd xmm0, qword [rsp + 0x40]
ucomisd xmm0, qword [0x140049c08]
jp 0x140037c1f
jne 0x140037c1f
movsd xmm0, qword [rsp + 0x48]
ucomisd xmm0, qword [0x140049c08]
jp 0x140037c1f
je 0x1400389f2
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x8f8]
call fcn.140034b48
nop
cvtsd2ss xmm0, qword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x40]
subsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
addsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xb8], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xb8]
movaps xmm1, xmm0
lea rcx, [rsp + 0x760]
call fcn.140034bc8
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x740]
mov rdi, rax
mov rsi, qword [rsp + 0x258]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x740]
lea rcx, [rsp + 0x1f0]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x760]
call fcn.140031cc8
cvtsd2ss xmm0, qword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x40]
subsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xbc], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xbc]
movaps xmm1, xmm0
lea rcx, [rsp + 0x7a0]
call fcn.140034bc8
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
lea rax, [rsp + 0x780]
mov rdi, rax
mov rsi, qword [rsp + 0x268]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x780]
lea rcx, [rsp + 0x1d8]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x7a0]
call fcn.140031cc8
cvtsd2ss xmm0, qword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xc0], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xc0]
movaps xmm1, xmm0
lea rcx, [rsp + 0x608]
call fcn.140034bc8
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x278], rax
lea rax, [rsp + 0x7c0]
mov rdi, rax
mov rsi, qword [rsp + 0x278]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x7c0]
lea rcx, [rsp + 0x1c0]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x608]
call fcn.140031cc8
cvtsd2ss xmm0, qword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
addsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xc4], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xc4]
movaps xmm1, xmm0
lea rcx, [rsp + 0x7e0]
call fcn.140034bc8
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x620]
mov rdi, rax
mov rsi, qword [rsp + 0x288]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x620]
lea rcx, [rsp + 0x1a8]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x7e0]
call fcn.140031cc8
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, qword [0x14004b598]
cvtsd2ss xmm0, xmm0
movsd xmm1, qword [rsp + 0x40]
subsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
addsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xc8], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xc8]
movaps xmm1, xmm0
lea rcx, [rsp + 0x820]
call fcn.140034bc8
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x298], rax
lea rax, [rsp + 0x800]
mov rdi, rax
mov rsi, qword [rsp + 0x298]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x190]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x820]
call fcn.140031cc8
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, qword [0x14004b598]
cvtsd2ss xmm0, xmm0
movsd xmm1, qword [rsp + 0x40]
subsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xcc], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xcc]
movaps xmm1, xmm0
lea rcx, [rsp + 0x860]
call fcn.140034bc8
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
lea rax, [rsp + 0x840]
mov rdi, rax
mov rsi, qword [rsp + 0x2a8]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x178]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x860]
call fcn.140031cc8
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, qword [0x14004b598]
cvtsd2ss xmm0, xmm0
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
subsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xd0], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xd0]
movaps xmm1, xmm0
lea rcx, [rsp + 0x8a0]
call fcn.140034bc8
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
lea rax, [rsp + 0x880]
mov rdi, rax
mov rsi, qword [rsp + 0x2b8]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x880]
lea rcx, [rsp + 0x160]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x8a0]
call fcn.140031cc8
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, qword [0x14004b598]
cvtsd2ss xmm0, xmm0
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, qword [0x14004b5a8]
cvtsd2ss xmm1, xmm1
movsd xmm2, qword [rsp + 0x38]
addsd xmm2, qword [0x14004b5a8]
cvtsd2ss xmm2, xmm2
movss dword [rsp + 0xd4], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xd4]
movaps xmm1, xmm0
lea rcx, [rsp + 0x8e0]
call fcn.140034bc8
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x2c8], rax
lea rax, [rsp + 0x8c0]
mov rdi, rax
mov rsi, qword [rsp + 0x2c8]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x8c0]
lea rcx, [rsp + 0x148]
call fcn.14003ff44
nop
lea rcx, [rsp + 0x8e0]
call fcn.140031cc8
call fcn.140009434
mov qword [rsp + 0x2e0], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xd8], eax
cvtsd2ss xmm0, qword [rsp + 0x198]
cvtsd2ss xmm1, qword [rsp + 0x190]
movaps xmm2, xmm0
lea rcx, [rsp + 0x498]
call fcn.140034ab4
mov qword [rsp + 0x2d0], rax
cvtsd2ss xmm0, qword [rsp + 0x1f8]
cvtsd2ss xmm1, qword [rsp + 0x1f0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4a0]
call fcn.140034ab4
mov qword [rsp + 0x2d8], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xd8]
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2e0]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x2f8], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xdc], eax
cvtsd2ss xmm0, qword [rsp + 0x180]
cvtsd2ss xmm1, qword [rsp + 0x178]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4a8]
call fcn.140034ab4
mov qword [rsp + 0x2e8], rax
cvtsd2ss xmm0, qword [rsp + 0x1e0]
cvtsd2ss xmm1, qword [rsp + 0x1d8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4b0]
call fcn.140034ab4
mov qword [rsp + 0x2f0], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xdc]
mov r8, qword [rsp + 0x2e8]
mov rdx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2f8]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x310], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xe0], eax
cvtsd2ss xmm0, qword [rsp + 0x168]
cvtsd2ss xmm1, qword [rsp + 0x160]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4b8]
call fcn.140034ab4
mov qword [rsp + 0x300], rax
cvtsd2ss xmm0, qword [rsp + 0x1c8]
cvtsd2ss xmm1, qword [rsp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4c0]
call fcn.140034ab4
mov qword [rsp + 0x308], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xe0]
mov r8, qword [rsp + 0x300]
mov rdx, qword [rsp + 0x308]
mov rcx, qword [rsp + 0x310]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x328], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xe4], eax
cvtsd2ss xmm0, qword [rsp + 0x150]
cvtsd2ss xmm1, qword [rsp + 0x148]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4c8]
call fcn.140034ab4
mov qword [rsp + 0x318], rax
cvtsd2ss xmm0, qword [rsp + 0x1b0]
cvtsd2ss xmm1, qword [rsp + 0x1a8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4d0]
call fcn.140034ab4
mov qword [rsp + 0x320], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xe4]
mov r8, qword [rsp + 0x318]
mov rdx, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x328]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x340], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xe8], eax
cvtsd2ss xmm0, qword [rsp + 0x1e0]
cvtsd2ss xmm1, qword [rsp + 0x1d8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4d8]
call fcn.140034ab4
mov qword [rsp + 0x330], rax
cvtsd2ss xmm0, qword [rsp + 0x1f8]
cvtsd2ss xmm1, qword [rsp + 0x1f0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4e0]
call fcn.140034ab4
mov qword [rsp + 0x338], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xe8]
mov r8, qword [rsp + 0x330]
mov rdx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x340]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x358], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xec], eax
cvtsd2ss xmm0, qword [rsp + 0x1c8]
cvtsd2ss xmm1, qword [rsp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4e8]
call fcn.140034ab4
mov qword [rsp + 0x348], rax
cvtsd2ss xmm0, qword [rsp + 0x1e0]
cvtsd2ss xmm1, qword [rsp + 0x1d8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4f0]
call fcn.140034ab4
mov qword [rsp + 0x350], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xec]
mov r8, qword [rsp + 0x348]
mov rdx, qword [rsp + 0x350]
mov rcx, qword [rsp + 0x358]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x370], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xf0], eax
cvtsd2ss xmm0, qword [rsp + 0x1b0]
cvtsd2ss xmm1, qword [rsp + 0x1a8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4f8]
call fcn.140034ab4
mov qword [rsp + 0x360], rax
cvtsd2ss xmm0, qword [rsp + 0x1c8]
cvtsd2ss xmm1, qword [rsp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x500]
call fcn.140034ab4
mov qword [rsp + 0x368], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xf0]
mov r8, qword [rsp + 0x360]
mov rdx, qword [rsp + 0x368]
mov rcx, qword [rsp + 0x370]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x388], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xf4], eax
cvtsd2ss xmm0, qword [rsp + 0x1f8]
cvtsd2ss xmm1, qword [rsp + 0x1f0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x508]
call fcn.140034ab4
mov qword [rsp + 0x378], rax
cvtsd2ss xmm0, qword [rsp + 0x1b0]
cvtsd2ss xmm1, qword [rsp + 0x1a8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x510]
call fcn.140034ab4
mov qword [rsp + 0x380], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xf4]
mov r8, qword [rsp + 0x378]
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x388]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x3a0], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xf8], eax
cvtsd2ss xmm0, qword [rsp + 0x180]
cvtsd2ss xmm1, qword [rsp + 0x178]
movaps xmm2, xmm0
lea rcx, [rsp + 0x518]
call fcn.140034ab4
mov qword [rsp + 0x390], rax
cvtsd2ss xmm0, qword [rsp + 0x198]
cvtsd2ss xmm1, qword [rsp + 0x190]
movaps xmm2, xmm0
lea rcx, [rsp + 0x520]
call fcn.140034ab4
mov qword [rsp + 0x398], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xf8]
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x398]
mov rcx, qword [rsp + 0x3a0]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x3b8], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0xfc], eax
cvtsd2ss xmm0, qword [rsp + 0x168]
cvtsd2ss xmm1, qword [rsp + 0x160]
movaps xmm2, xmm0
lea rcx, [rsp + 0x528]
call fcn.140034ab4
mov qword [rsp + 0x3a8], rax
cvtsd2ss xmm0, qword [rsp + 0x180]
cvtsd2ss xmm1, qword [rsp + 0x178]
movaps xmm2, xmm0
lea rcx, [rsp + 0x530]
call fcn.140034ab4
mov qword [rsp + 0x3b0], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xfc]
mov r8, qword [rsp + 0x3a8]
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x3b8]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x3d0], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0x100], eax
cvtsd2ss xmm0, qword [rsp + 0x150]
cvtsd2ss xmm1, qword [rsp + 0x148]
movaps xmm2, xmm0
lea rcx, [rsp + 0x538]
call fcn.140034ab4
mov qword [rsp + 0x3c0], rax
cvtsd2ss xmm0, qword [rsp + 0x168]
cvtsd2ss xmm1, qword [rsp + 0x160]
movaps xmm2, xmm0
lea rcx, [rsp + 0x540]
call fcn.140034ab4
mov qword [rsp + 0x3c8], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x100]
mov r8, qword [rsp + 0x3c0]
mov rdx, qword [rsp + 0x3c8]
mov rcx, qword [rsp + 0x3d0]
call fcn.140013fa4
call fcn.140009434
mov qword [rsp + 0x3e8], rax
lea rcx, [0x140055b40]
call fcn.14003552c
mov dword [rsp + 0x104], eax
cvtsd2ss xmm0, qword [rsp + 0x198]
cvtsd2ss xmm1, qword [rsp + 0x190]
movaps xmm2, xmm0
lea rcx, [rsp + 0x548]
call fcn.140034ab4
mov qword [rsp + 0x3d8], rax
cvtsd2ss xmm0, qword [rsp + 0x150]
cvtsd2ss xmm1, qword [rsp + 0x148]
movaps xmm2, xmm0
lea rcx, [rsp + 0x550]
call fcn.140034ab4
mov qword [rsp + 0x3e0], rax
movss xmm0, dword [0x140045b4c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x104]
mov r8, qword [rsp + 0x3d8]
mov rdx, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x3e8]
call fcn.140013fa4
nop
lea rcx, [rsp + 0x148]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x160]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x178]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x190]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x1a8]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x1c0]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x1d8]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x1f0]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x8f8]
call fcn.1400351d0
movzx eax, byte [0x1400552a0]
test eax, eax
je 0x140038ad4
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x910]
call fcn.140034b48
nop
mov dword [rsp + 0x108], 0xfffc1803
cvttss2si eax, dword [rsp + 0x54]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140045b4c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x38]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0x108]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.1400361f0
cvttss2si eax, dword [rsp + 0x54]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140045b4c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x38]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x20], 0x7d000000
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140038ddc
nop
lea rcx, [rsp + 0x910]
call fcn.1400351d0
movzx eax, byte [0x140053190]
test eax, eax
je 0x140038bf3
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x928]
call fcn.140034b48
nop
lea rdx, str.__.fm__n
lea rcx, [rsp + 0x968]
call fcn.140033edc
cvtss2sd xmm0, dword [rsp + 0x10c]
movsd qword [rsp + 0x3f0], xmm0
lea rcx, [rsp + 0x968]
call fcn.14003d02c
movsd xmm0, qword [rsp + 0x3f0]
movaps xmm2, xmm0
movq r8, xmm2
mov rdx, rax
lea rcx, [rsp + 0x990]
call fcn.1400334c8
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [0x14004b5a0]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x38]
movaps xmm2, xmm0
lea rcx, [rsp + 0x558]
call fcn.140034ab4
mov qword [rsp + 0x3f8], rax
lea rdx, [rsp + 0x990]
lea rcx, [rsp + 0x970]
call fcn.1400341f8
nop
mov rax, qword [0x1400552a8]
mov qword [rsp + 0x400], rax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xffa37a38
movss xmm3, dword [0x140045b70]
mov r8, qword [rsp + 0x3f8]
lea rdx, [rsp + 0x970]
mov rcx, qword [rsp + 0x400]
call fcn.140038fb8
nop
lea rcx, [rsp + 0x970]
call fcn.140035010
nop
lea rcx, [rsp + 0x928]
call fcn.1400351d0
movzx eax, byte [0x140055297]
test eax, eax
je 0x140038c71
lea rax, [rsp + 0x9f8]
mov rdx, rax
lea rcx, [rsp + 0x940]
call fcn.140034b48
nop
cvttsd2si eax, qword [rsp + 0x70]
mov dword [rsp + 0x110], eax
cvttsd2si ecx, qword [rsp + 0x68]
mov eax, dword [0x140055284]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 1
lea rdx, [0x1400532c0]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0x110]
mov r9d, edx
mov r8d, ecx
mov edx, dword [0x140055288]
mov ecx, eax
call fcn.140038e84
nop
lea rcx, [rsp + 0x940]
call fcn.1400351d0
mov eax, dword [0x140055284]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x468]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x130], xmm0
mov eax, dword [0x140055288]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x470]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x140], xmm0
movsd xmm0, qword [rsp + 0x130]
mulsd xmm0, qword [rsp + 0x130]
movsd xmm1, qword [rsp + 0x140]
mulsd xmm1, qword [rsp + 0x140]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss dword [rsp + 0x5c], xmm0
cvtsi2ss xmm0, dword [0x1400531c8]
comiss xmm0, dword [rsp + 0x5c]
jbe 0x140038d31
movss xmm0, dword [rsp + 0x60]
comiss xmm0, dword [rsp + 0x5c]
jbe 0x140038d31
movss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x468]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x38]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x68]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x480]
call fcn.140031cc8
nop
lea rcx, [rsp + 0x450]
call fcn.140031cc8
jmp 0x1400371b3
movzx eax, byte [0x14005318e]
test eax, eax
je 0x140038db4
movzx eax, byte [0x14005318e]
test eax, eax
je 0x140038db4
cmp qword [rsp + 0x118], 0
je 0x140038db4
mov ecx, dword [0x140055258]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x140038db4
mov rcx, qword [rsp + 0x118]
call fcn.140035c28
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x9d0]
xor rcx, rsp
call fcn.140042580
add rsp, 0x9e8
pop rdi
pop rsi
ret