Function at 0x14002ecc8
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x958
mov rax, qword [0x140049a80]
xor rax, rsp
mov qword [rsp + 0x940], rax
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x14004a9a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x14004a900], eax
jle 0x14002ed3a
lea rcx, [0x14004a900]
call fcn.140039b80
cmp dword [0x14004a900], 0xffffffff
jne 0x14002ed3a
call fcn.140008bf0
mov rax, qword [rax + 8]
mov qword [0x14004a8f8], rax
lea rcx, [0x14004a900]
call fcn.140039b14
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x14004a9a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x14004a910], eax
jle 0x14002edb0
lea rcx, [0x14004a910]
call fcn.140039b80
cmp dword [0x14004a910], 0xffffffff
jne 0x14002edb0
movss xmm0, dword [0x14004a8fc]
divss xmm0, dword [0x14003cb98]
movss xmm1, dword [0x14004a8f8]
divss xmm1, dword [0x14003cb98]
movaps xmm2, xmm0
lea rcx, [0x14004a908]
call fcn.14002bec4
nop
lea rcx, [0x14004a910]
call fcn.140039b14
movzx eax, byte [0x14004a37b]
test eax, eax
je 0x14002ee99
call fcn.140008f44
mov qword [rsp + 0x248], rax
mov eax, dword [0x14004a444]
cvtsi2ss xmm0, rax
addss xmm0, dword [0x140048280]
mov eax, dword [0x14004a440]
cvtsi2ss xmm1, rax
addss xmm1, dword [0x140048280]
movaps xmm2, xmm0
lea rcx, [rsp + 0x570]
call fcn.14002bec4
mov qword [rsp + 0x238], rax
mov eax, dword [0x14004a444]
cvtsi2ss xmm0, rax
subss xmm0, dword [0x140048280]
mov eax, dword [0x14004a440]
cvtsi2ss xmm1, rax
subss xmm1, dword [0x140048280]
movaps xmm2, xmm0
lea rcx, [rsp + 0x528]
call fcn.14002bec4
mov qword [rsp + 0x240], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0xf
movss xmm0, dword [0x1400408fc]
movss dword [rsp + 0x20], xmm0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x238]
mov rdx, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x248]
call fcn.1400135c0
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 0
movzx eax, byte [0x14004a36d]
test eax, eax
je 0x14002ef74
call fcn.140008f44
mov qword [rsp + 0x258], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x8a8]
call fcn.14002bdbc
mov rcx, rax
call fcn.14002cb38
mov dword [rsp + 0x134], eax
movss xmm0, dword [0x140048280]
movss dword [rsp + 0x138], xmm0
mov eax, dword [0x14004a444]
cvtsi2ss xmm0, rax
mov eax, dword [0x14004a440]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x530]
call fcn.14002bec4
mov qword [rsp + 0x250], rax
movss xmm0, dword [0x1400408fc]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x134]
movss xmm2, dword [rsp + 0x138]
mov rdx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x258]
call fcn.14001164c
mov byte [rsp + 0x6a], 0
mov byte [rsp + 0x6b], 0
mov byte [rsp + 0x6c], 0
movzx eax, byte [0x14004a38d]
test eax, eax
je 0x14002f0b7
call fcn.140008f44
mov qword [rsp + 0x268], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x8b8]
call fcn.14002bdbc
mov rcx, rax
call fcn.14002cb38
mov dword [rsp + 0x13c], eax
movss xmm0, dword [0x140048280]
movss dword [rsp + 0x140], xmm0
mov eax, dword [0x14004a444]
cvtsi2ss xmm0, rax
mov eax, dword [0x14004a440]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x538]
call fcn.14002bec4
mov qword [rsp + 0x260], rax
movss xmm0, dword [0x1400408fc]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x13c]
movss xmm2, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x268]
call fcn.14001164c
call fcn.140008f44
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x20], 0x6e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x8c8]
call fcn.14002bdbc
mov rcx, rax
call fcn.14002cb38
mov dword [rsp + 0x144], eax
movss xmm0, dword [0x140048280]
movss dword [rsp + 0xa0], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x144]
movss xmm2, dword [rsp + 0xa0]
lea rdx, [0x14004a908]
mov rcx, qword [rsp + 0x270]
call fcn.1400116f4
cmp dword [0x14004a8b8], 0
jne 0x14002f0cc
mov dword [0x14004a8b4], 0x44
jmp 0x14002f109
cmp dword [0x14004a8b8], 1
jne 0x14002f0e1
mov dword [0x14004a8b4], 0x43
jmp 0x14002f109
cmp dword [0x14004a8b8], 2
jne 0x14002f0f6
mov dword [0x14004a8b4], 0x24
jmp 0x14002f109
cmp dword [0x14004a8b8], 3
jne 0x14002f109
mov dword [0x14004a8b4], 2
cmp dword [0x140048284], 0
jne 0x14002f121
mov dword [0x14004a8b0], 1
jmp 0x14002f2e9
cmp dword [0x140048284], 1
jne 0x14002f139
mov dword [0x14004a8b0], 2
jmp 0x14002f2e9
cmp dword [0x140048284], 2
jne 0x14002f151
mov dword [0x14004a8b0], 4
jmp 0x14002f2e9
cmp dword [0x140048284], 3
jne 0x14002f169
mov dword [0x14004a8b0], 5
jmp 0x14002f2e9
cmp dword [0x140048284], 4
jne 0x14002f181
mov dword [0x14004a8b0], 6
jmp 0x14002f2e9
cmp dword [0x140048284], 5
jne 0x14002f199
mov dword [0x14004a8b0], 3
jmp 0x14002f2e9
cmp dword [0x140048284], 6
jne 0x14002f1b1
mov dword [0x14004a8b0], 8
jmp 0x14002f2e9
cmp dword [0x140048284], 7
jne 0x14002f1c9
mov dword [0x14004a8b0], 9
jmp 0x14002f2e9
cmp dword [0x140048284], 8
jne 0x14002f1e1
mov dword [0x14004a8b0], 0xc
jmp 0x14002f2e9
cmp dword [0x140048284], 9
jne 0x14002f1ef
jmp 0x14002f2e9
cmp dword [0x140048284], 0xa
jne 0x14002f207
mov dword [0x14004a8b0], 0x10
jmp 0x14002f2e9
cmp dword [0x140048284], 0xb
jne 0x14002f21f
mov dword [0x14004a8b0], 0x11
jmp 0x14002f2e9
cmp dword [0x140048284], 0xc
jne 0x14002f22d
jmp 0x14002f2e9
cmp dword [0x140048284], 0xd
jne 0x14002f23b
jmp 0x14002f2e9
cmp dword [0x140048284], 0xe
jne 0x14002f249
jmp 0x14002f2e9
cmp dword [0x140048284], 0xf
jne 0x14002f257
jmp 0x14002f2e9
cmp dword [0x140048284], 0x10
jne 0x14002f265
jmp 0x14002f2e9
cmp dword [0x140048284], 0x11
jne 0x14002f270
jmp 0x14002f2e9
cmp dword [0x140048284], 0x12
jne 0x14002f27b
jmp 0x14002f2e9
cmp dword [0x140048284], 0x13
jne 0x14002f286
jmp 0x14002f2e9
cmp dword [0x140048284], 0x14
jne 0x14002f291
jmp 0x14002f2e9
cmp dword [0x140048284], 0x15
jne 0x14002f29c
jmp 0x14002f2e9
cmp dword [0x140048284], 0x16
jne 0x14002f2a7
jmp 0x14002f2e9
cmp dword [0x140048284], 0x17
jne 0x14002f2b2
jmp 0x14002f2e9
cmp dword [0x140048284], 0x18
jne 0x14002f2bd
jmp 0x14002f2e9
cmp dword [0x140048284], 0x19
jne 0x14002f2c8
jmp 0x14002f2e9
cmp dword [0x140048284], 0x1a
jne 0x14002f2d3
jmp 0x14002f2e9
cmp dword [0x140048284], 0x1b
jne 0x14002f2de
jmp 0x14002f2e9
cmp dword [0x140048284], 0x1c
jne 0x14002f2e9
jmp 0x14002f2e9
lea rdx, [0x14004a7d8]
lea rcx, [rsp + 0x880]
call fcn.14002bc48
nop
movss xmm0, dword [0x14003cbdc]
movss dword [rsp + 0x8c], xmm0
mov qword [rsp + 0x158], 0
mov rax, qword [0x14004a320]
add rax, 0xee2f8e8
mov rcx, rax
call fcn.14002929c
mov qword [0x14004a3a0], rax
mov rax, qword [0x140048180]
mov rcx, qword [0x14004a3a0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x278], rax
mov rax, qword [0x140048188]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0x280]
call fcn.14002929c
mov qword [0x14004a3b8], rax
mov rax, qword [0x140048190]
mov rcx, qword [0x14004a3b8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [0x14004a3c8], rax
mov rax, qword [0x140048198]
mov rcx, qword [0x14004a3c8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [0x14004a3a8], rax
mov rax, qword [0x14004a3c8]
add rax, 0x330
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x480], rax
mov rax, qword [0x1400481a0]
mov rcx, qword [0x14004a3a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [0x14004a3b0], rax
mov rax, qword [0x1400481c8]
mov rcx, qword [0x14004a3c8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [0x14004a3a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1e8], rax
mov rax, qword [0x1400481a8]
mov rcx, qword [0x14004a3a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [0x14004a3c0], rax
mov rax, qword [0x1400481b8]
mov rcx, qword [0x14004a3a0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [0x14004a3d0], rax
mov rax, qword [0x14004a3a8]
add rax, 0x868
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x488], rax
mov rax, qword [0x1400481c0]
mov rcx, qword [0x14004a3d0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029134
mov dword [rsp + 0x420], eax
mov rax, qword [0x1400481d0]
mov rcx, qword [0x14004a3d0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x490], rax
mov rax, qword [0x1400481b0]
mov rcx, qword [0x14004a3a0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1b0], rax
mov rax, qword [0x140048238]
mov rcx, qword [rsp + 0x1b0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x288], rax
mov rax, qword [0x14004a3a8]
add rax, 0x2348
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x498], rax
mov byte [rsp + 0x44], 0
cmp qword [0x14004a3a8], 0
je 0x14002f587
mov byte [rsp + 0x44], 1
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [0x140048238]
lea rax, [rax + rcx + 8]
mov rcx, rax
call fcn.140029134
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x58], 0
jmp 0x14002f5be
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0x58], eax
jae 0x140030f53
mov eax, dword [rsp + 0x58]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x290], rax
mov rax, qword [0x140048230]
mov rcx, qword [rsp + 0x290]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14002f63c
jmp 0x14002f5b4
cmp qword [0x14004a3a8], 0
jne 0x14002f650
mov dword [0x140048288], 0x960
mov rax, qword [0x1400481e0]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x50], rax
mov rax, qword [0x1400481f0]
mov rcx, qword [0x14004a3b0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029134
mov dword [rsp + 0x424], eax
mov rax, qword [rsp + 0x80]
add rax, 0x290
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x298], rax
mov rax, qword [0x1400481f0]
mov rcx, qword [rsp + 0x298]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029134
mov dword [rsp + 0x428], eax
mov rax, qword [rsp + 0x80]
add rax, 0x7c2
mov rcx, rax
call fcn.140029104
movsx eax, al
sar eax, 4
and eax, 1
mov dword [rsp + 0x42c], eax
lea rdx, [0x14004a7d8]
lea rcx, [rsp + 0x438]
call fcn.14002bc48
nop
movzx eax, byte [0x14004a37a]
test eax, eax
je 0x14002f731
lea rcx, [rsp + 0x438]
call fcn.14002c680
jmp 0x14002f5b4
mov rax, qword [0x14004a3a8]
cmp qword [rsp + 0x80], rax
jne 0x14002f754
lea rcx, [rsp + 0x438]
call fcn.14002c680
jmp 0x14002f5b4
mov rax, qword [0x14004a3a8]
cmp qword [rsp + 0x80], rax
jne 0x14002f777
lea rcx, [rsp + 0x438]
call fcn.14002c680
jmp 0x14002f5b4
mov r8d, 0x43
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x178]
call fcn.140033330
nop
mov r8d, 0x44
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x868]
call fcn.140033330
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x450]
call fcn.140033330
nop
mov rax, qword [0x140048240]
mov rcx, qword [0x14004a3c0]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x618]
call fcn.140029244
mov qword [rsp + 0x2a0], rax
lea rax, [0x14004a458]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x618]
call fcn.140029b40
lea rax, [rsp + 0x630]
lea rcx, [rsp + 0x178]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x630]
lea rcx, [rsp + 0x850]
call fcn.140034874
nop
lea rax, [rsp + 0x650]
lea rcx, [rsp + 0x178]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x650]
lea rcx, [0x14004a458]
call fcn.14002d088
divss xmm0, dword [0x140048278]
movss dword [rsp + 0x70], xmm0
mov r8d, 0x32
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x558]
call fcn.140033330
nop
lea rax, [rsp + 0x670]
lea rcx, [rsp + 0x558]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x670]
lea rcx, [rsp + 0x838]
call fcn.140034874
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x540]
call fcn.140033330
nop
lea rax, [rsp + 0x690]
lea rcx, [rsp + 0x540]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x690]
lea rcx, [rsp + 0x210]
call fcn.140034874
nop
movsd xmm0, qword [rsp + 0x188]
addsd xmm0, qword [0x1400420b0]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x180]
cvtsd2ss xmm2, qword [rsp + 0x178]
movss dword [rsp + 0xa8], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xa8]
movaps xmm1, xmm0
lea rcx, [rsp + 0x6d0]
call fcn.14002bf58
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
lea rax, [rsp + 0x6b0]
mov rdi, rax
mov rsi, qword [rsp + 0x2b0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x6b0]
lea rcx, [rsp + 0x1f8]
call fcn.140034874
nop
lea rcx, [rsp + 0x6d0]
call fcn.140029b40
cvtsd2ss xmm0, qword [rsp + 0x188]
cvtsd2ss xmm1, qword [rsp + 0x180]
cvtsd2ss xmm2, qword [rsp + 0x178]
movss dword [rsp + 0xac], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xac]
movaps xmm1, xmm0
lea rcx, [rsp + 0x710]
call fcn.14002bf58
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x2c0], rax
lea rax, [rsp + 0x6f0]
mov rdi, rax
mov rsi, qword [rsp + 0x2c0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x6f0]
lea rcx, [rsp + 0x160]
call fcn.140034874
nop
lea rcx, [rsp + 0x710]
call fcn.140029b40
cvtsd2ss xmm0, qword [rsp + 0x460]
cvtsd2ss xmm1, qword [rsp + 0x458]
cvtsd2ss xmm2, qword [rsp + 0x450]
movss dword [rsp + 0xb0], xmm2
movaps xmm3, xmm0
movaps xmm2, xmm1
movss xmm0, dword [rsp + 0xb0]
movaps xmm1, xmm0
lea rcx, [rsp + 0x5c0]
call fcn.14002bf58
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x2d0], rax
lea rax, [rsp + 0x5a0]
mov rdi, rax
mov rsi, qword [rsp + 0x2d0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x820]
call fcn.140034874
nop
lea rcx, [rsp + 0x5c0]
call fcn.140029b40
lea rax, [rsp + 0x5e0]
lea rcx, [rsp + 0x178]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x468]
call fcn.140034874
nop
movsd xmm0, qword [rsp + 0x200]
subsd xmm0, qword [rsp + 0x218]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0xb4], xmm0
movss xmm0, dword [rsp + 0xb4]
mulss xmm0, dword [0x14003cb6c]
movss dword [rsp + 0xb8], xmm0
cvtsd2ss xmm0, qword [rsp + 0x1f8]
movss xmm1, dword [rsp + 0xb8]
divss xmm1, dword [0x14003cb90]
subss xmm0, xmm1
movss dword [rsp + 0x430], xmm0
cvtsd2ss xmm0, qword [rsp + 0x218]
movss dword [rsp + 0x228], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x22c], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x230], eax
movsd xmm0, qword [rsp + 0x200]
subsd xmm0, qword [rsp + 0x218]
call fcn.1400363a0
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
mulss xmm0, dword [0x140048274]
movss dword [rsp + 0x4c], xmm0
movzx eax, byte [0x14004a372]
test eax, eax
je 0x1400300c2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x90], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x90]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x94]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x94]
cdq
sub eax, edx
sar eax, 1
cdq
mov ecx, 0x1e
idiv ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
cdq
idiv dword [rsp + 0x48]
mov ecx, eax
call fcn.14002a56c
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x60], xmm0
mov eax, dword [0x14004a914]
inc eax
mov dword [0x14004a914], eax
mov eax, dword [0x14004a914]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 4
jge 0x1400300c2
lea rcx, [rsp + 0x190]
call fcn.14002bc00
nop
cvtsi2ss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0xbc], xmm0
imul eax, dword [rsp + 0x40], 0x5a
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm0, xmm1
call fcn.1400332f8
call fcn.14003852c
movss xmm1, dword [rsp + 0xbc]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0xc0], eax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x190]
call fcn.1400377c4
cvtsi2ss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0xc4], xmm0
imul eax, dword [rsp + 0x40], 0x5a
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm0, xmm1
call fcn.1400332f8
call fcn.140036880
movss xmm1, dword [rsp + 0xc4]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0xc8], eax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x190]
call fcn.1400377c4
cvtsi2ss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0xcc], xmm0
movss xmm0, dword [rsp + 0x60]
call fcn.140036880
movss xmm1, dword [rsp + 0xcc]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xd4], xmm0
imul eax, dword [rsp + 0x40], 0x5a
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movss dword [rsp + 0xd0], xmm1
movss xmm0, dword [rsp + 0x60]
call fcn.14002cffc
movss xmm1, dword [rsp + 0xd0]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400332f8
call fcn.14003852c
movss xmm1, dword [rsp + 0xd4]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0xd8], eax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x190]
call fcn.1400377c4
cvtsi2ss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0xdc], xmm0
movss xmm0, dword [rsp + 0x60]
call fcn.140036880
movss xmm1, dword [rsp + 0xdc]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xe4], xmm0
imul eax, dword [rsp + 0x40], 0x5a
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movss dword [rsp + 0xe0], xmm1
movss xmm0, dword [rsp + 0x60]
call fcn.14002cffc
movss xmm1, dword [rsp + 0xe0]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400332f8
call fcn.140036880
movss xmm1, dword [rsp + 0xe4]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0xe8], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x190]
call fcn.1400377c4
call fcn.1400090a4
cvtsd2ss xmm0, xmm0
movss xmm1, dword [0x14003cb90]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmodf]
movss dword [rsp + 0xec], xmm0
cvtsi2ss xmm0, dword [rsp + 0x40]
mulss xmm0, dword [0x14003cb60]
movss xmm1, dword [rsp + 0xec]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x14003cb90]
movss xmm2, dword [0x14003cb90]
movaps xmm1, xmm0
lea rcx, [rsp + 0x898]
call fcn.140033740
mov rcx, rax
call fcn.14002cb38
mov dword [rsp + 0x88], eax
cvtsi2ss xmm0, dword [rsp + 0x7c]
cvtsi2ss xmm1, dword [rsp + 0x78]
movaps xmm2, xmm0
lea rcx, [rsp + 0x2d8]
call fcn.14002bec4
mov edx, 1
lea rcx, [rsp + 0x190]
call fcn.14002ca70
mov eax, dword [rax]
mov ecx, dword [rsp + 0x7c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0xf0], xmm0
xor edx, edx
lea rcx, [rsp + 0x190]
call fcn.14002ca70
mov eax, dword [rax]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0xf4], xmm0
movss xmm2, dword [rsp + 0xf0]
movss xmm1, dword [rsp + 0xf4]
lea rcx, [rsp + 0x1a8]
call fcn.14002bec4
mov edx, 3
lea rcx, [rsp + 0x190]
call fcn.14002ca70
mov eax, dword [rax]
mov ecx, dword [rsp + 0x7c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0xf8], xmm0
mov edx, 2
lea rcx, [rsp + 0x190]
call fcn.14002ca70
mov eax, dword [rax]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0xfc], xmm0
movss xmm2, dword [rsp + 0xf8]
movss xmm1, dword [rsp + 0xfc]
lea rcx, [rsp + 0x2e8]
call fcn.14002bec4
call fcn.140008f44
mov qword [rsp + 0x2e0], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x88]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2e0]
call fcn.1400128e0
call fcn.140008f44
mov qword [rsp + 0x2f0], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x88]
lea r8, [rsp + 0x2e8]
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x2f0]
call fcn.1400128e0
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x190]
call fcn.14002c668
jmp 0x14002fc99
movzx eax, byte [0x14004a383]
test eax, eax
je 0x140030271
mov rax, qword [0x1400481e0]
mov rcx, qword [0x14004a3a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x148], rax
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x14004a9a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x14004a930], eax
jle 0x140030165
lea rcx, [0x14004a930]
call fcn.140039b80
cmp dword [0x14004a930], 0xffffffff
jne 0x140030165
mov rax, qword [rsp + 0x148]
add rax, 0x140
mov rdx, rax
lea rcx, [0x14004a918]
call fcn.140029244
lea rcx, [0x14003b940]
call fcn.140039ac0
nop
lea rcx, [0x14004a930]
call fcn.140039b14
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140030222
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x169
idiv ecx
mov eax, edx
cvtsi2ss xmm0, eax
movss xmm3, dword [0x14003cb90]
movaps xmm2, xmm0
movss xmm1, dword [0x14003cb90]
lea rcx, [rsp + 0x728]
call fcn.14002bf58
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
lea rax, [rsp + 0x580]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x148]
add rax, 0x140
lea r8, [rsp + 0x580]
mov rdx, rax
lea rcx, [rsp + 0x600]
call fcn.1400294c8
lea rcx, [rsp + 0x600]
call fcn.140029b40
nop
lea rcx, [rsp + 0x728]
call fcn.140029b40
jmp 0x140030271
lea rax, [rsp + 0x740]
lea rcx, [0x14004a918]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x148]
add rax, 0x140
lea r8, [rsp + 0x740]
mov rdx, rax
lea rcx, [rsp + 0x760]
call fcn.1400294c8
lea rcx, [rsp + 0x760]
call fcn.140029b40
movzx eax, byte [0x14004a387]
test eax, eax
je 0x140030441
mov rax, qword [0x14004a3d0]
add rax, 0x298
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1c8], rax
mov rax, qword [0x14004a3a8]
add rax, 0x8d8
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
add rax, 0xc41
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
add rax, 0x1678
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
add rax, 0x6233
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
add rax, 0xc87
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
add rax, 0xb39
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
add rax, 0x267
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
add rax, 0x5cc
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
add rax, 0xca2
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
add rax, 0x9c8
xor edx, edx
mov rcx, rax
call fcn.140029428
mov rax, qword [rsp + 0x1c0]
add rax, 0x928
movss xmm1, dword [0x1400408e8]
mov rcx, rax
call fcn.140029490
mov rax, qword [rsp + 0x1b8]
add rax, 0x329
mov rcx, rax
call fcn.140029104
mov byte [rsp + 0x45], al
movzx eax, byte [rsp + 0x45]
test eax, eax
je 0x140030423
mov rax, qword [rsp + 0x1c8]
add rax, 0x3c0
movss xmm1, dword [0x140040924]
mov rcx, rax
call fcn.140029490
jmp 0x140030441
mov rax, qword [rsp + 0x1c8]
add rax, 0x3c0
movss xmm1, dword [0x14003cb90]
mov rcx, rax
call fcn.140029490
movzx eax, byte [0x14004a382]
test eax, eax
je 0x140030519
mov rax, qword [0x14004a320]
add rax, 0x2883a10
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
add rax, 0xda
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
add rax, 0x3a
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
add rax, 0x67
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
add rax, 0x26
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
add rax, 0x7ea
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x368]
add rax, 0x26
movss xmm1, dword [0x140042088]
mov rcx, rax
call fcn.140029490
movzx eax, byte [0x14004a384]
test eax, eax
je 0x140030564
mov rax, qword [0x14004a3b0]
add rax, 0x8d8
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x1d0], 0
je 0x140030564
mov rax, qword [rsp + 0x1d0]
add rax, 0x2628
mov dl, 1
mov rcx, rax
call fcn.140029428
movzx eax, byte [0x14004a385]
test eax, eax
je 0x1400305b5
cmp qword [0x14004a3a8], 0
je 0x1400305b5
mov rax, qword [0x1400481e0]
mov rcx, qword [0x14004a3a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
add rax, 0xa3a
mov dl, 1
mov rcx, rax
call fcn.140029428
movzx eax, byte [0x14004a386]
test eax, eax
je 0x140030741
mov rax, qword [0x14004a3a8]
add rax, 0x14d4
mov rcx, rax
call fcn.140029164
movss dword [rsp + 0x100], xmm0
mov rax, qword [0x14004a3a8]
add rax, 0x14d8
mov rcx, rax
call fcn.140029164
movss dword [rsp + 0x104], xmm0
mov rax, qword [0x14004a3a8]
add rax, 0x14cc
mov rcx, rax
call fcn.140029164
movss dword [rsp + 0x108], xmm0
mov rax, qword [0x14004a3a8]
add rax, 0x14c0
mov rcx, rax
call fcn.140029164
movss dword [rsp + 0x10c], xmm0
mov rax, qword [0x14004a3a8]
add rax, 0x8d8
mov rcx, rax
call fcn.140029164
xor eax, eax
comiss xmm0, dword [0x140040938]
jb 0x14003067a
subss xmm0, dword [0x140040938]
comiss xmm0, dword [0x140040938]
jae 0x14003067a
movabs rcx, 0x8000000000000000
add rax, rcx
cvttss2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
movss xmm0, dword [rsp + 0x100]
ucomiss xmm0, dword [0x14003cb38]
jp 0x1400306dd
jne 0x1400306dd
movss xmm0, dword [rsp + 0x104]
ucomiss xmm0, dword [0x14003cb38]
jp 0x1400306dd
jne 0x1400306dd
movss xmm0, dword [rsp + 0x108]
ucomiss xmm0, dword [0x14003cb38]
jp 0x1400306dd
jne 0x1400306dd
movss xmm0, dword [rsp + 0x10c]
ucomiss xmm0, dword [0x14003cb38]
jp 0x1400306dd
je 0x140030741
mov rax, qword [rsp + 0x98]
add rax, 0x14d4
xorps xmm1, xmm1
mov rcx, rax
call fcn.140029490
mov rax, qword [rsp + 0x98]
add rax, 0x14d8
xorps xmm1, xmm1
mov rcx, rax
call fcn.140029490
mov rax, qword [rsp + 0x98]
add rax, 0x14cc
xorps xmm1, xmm1
mov rcx, rax
call fcn.140029490
mov rax, qword [rsp + 0x98]
add rax, 0x14c0
xorps xmm1, xmm1
mov rcx, rax
call fcn.140029490
movzx eax, byte [0x14004a38b]
test eax, eax
je 0x14003094c
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14003082c
cmp qword [0x14004a3a8], 0
je 0x140030827
mov rax, qword [0x14004a3a8]
add rax, 0x310
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x388], rax
movss xmm3, dword [0x1400420f8]
movss xmm2, dword [0x140042100]
movss xmm1, dword [0x1400420f8]
lea rcx, [rsp + 0x7b8]
call fcn.14002bf58
mov qword [rsp + 0x378], rax
mov rax, qword [rsp + 0x378]
mov qword [rsp + 0x380], rax
lea rax, [rsp + 0x780]
mov rdi, rax
mov rsi, qword [rsp + 0x380]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x388]
add rax, 0x158
lea r8, [rsp + 0x780]
mov rdx, rax
lea rcx, [rsp + 0x7a0]
call fcn.1400294c8
lea rcx, [rsp + 0x7a0]
call fcn.140029b40
nop
lea rcx, [rsp + 0x7b8]
call fcn.140029b40
jmp 0x1400308d7
mov rax, qword [0x14004a3a8]
add rax, 0x310
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x3a0], rax
movss xmm3, dword [0x1400420fc]
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x808]
call fcn.14002bf58
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0x390]
mov qword [rsp + 0x398], rax
lea rax, [rsp + 0x7d0]
mov rdi, rax
mov rsi, qword [rsp + 0x398]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x3a0]
add rax, 0x158
lea r8, [rsp + 0x7d0]
mov rdx, rax
lea rcx, [rsp + 0x7f0]
call fcn.1400294c8
lea rcx, [rsp + 0x7f0]
call fcn.140029b40
nop
lea rcx, [rsp + 0x808]
call fcn.140029b40
movzx eax, byte [0x14004a390]
test eax, eax
je 0x14003094c
mov rax, qword [0x14004a3a8]
add rax, 0x23d8
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
je 0x140030934
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140030934
mov rax, qword [rsp + 0x150]
add rax, 0x6aa
xor edx, edx
mov rcx, rax
call fcn.140029428
jmp 0x14003094c
mov rax, qword [rsp + 0x150]
add rax, 0x6aa
mov dl, 1
mov rcx, rax
call fcn.140029428
movzx eax, byte [0x14004a371]
test eax, eax
je 0x1400309b8
mov dword [rsp + 0x234], 0x1f4
mov rax, qword [0x14004a3c8]
add rax, 0x340
mov rcx, rax
call fcn.14002929c
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
add rax, 0x2a0
movss xmm1, dword [0x1400420f0]
mov rcx, rax
call fcn.140029490
mov rax, qword [rsp + 0x1d8]
add rax, 0x348
mov edx, 0x1f4
mov rcx, rax
call fcn.14002945c
cvtsi2ss xmm0, dword [0x140048288]
comiss xmm0, dword [rsp + 0x70]
jbe 0x140030dc2
movzx eax, byte [0x14004a36f]
test eax, eax
je 0x140030dc2
movzx eax, byte [0x14004a370]
test eax, eax
je 0x140030a4d
mov dword [rsp + 0x110], 0xffffffff
cvttss2si eax, dword [rsp + 0x64]
cvttss2si ecx, dword [rsp + 0x4c]
cvttsd2si edx, qword [rsp + 0x200]
movss xmm0, dword [rsp + 0x4c]
divss xmm0, dword [0x14003cb98]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x1f8]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0x110]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002d1dc
movzx eax, byte [0x14004a379]
test eax, eax
je 0x140030a71
cvtsi2ss xmm0, dword [0x140048288]
comiss xmm0, dword [rsp + 0x70]
jbe 0x140030a71
mov rcx, qword [rsp + 0x50]
call fcn.140032208
movzx eax, byte [0x14004a378]
test eax, eax
je 0x140030a86
mov rcx, qword [rsp + 0x50]
call fcn.140032208
movzx eax, byte [0x14004a38e]
test eax, eax
je 0x140030af8
cvttsd2si eax, qword [rsp + 0x168]
mov dword [rsp + 0x114], eax
cvttsd2si ecx, qword [rsp + 0x160]
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x118], eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 1
lea rdx, [0x140048380]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0x114]
mov r9d, edx
mov r8d, ecx
mov ecx, dword [rsp + 0x118]
mov edx, ecx
mov ecx, eax
call fcn.1400314ec
movzx eax, byte [0x14004a38f]
test eax, eax
je 0x140030ba3
mov rcx, qword [rsp + 0x50]
call fcn.140036eb8
movzx eax, al
test eax, eax
je 0x140030b55
cvttsd2si eax, qword [rsp + 0x168]
cvttsd2si ecx, qword [rsp + 0x160]
mov dword [rsp + 0x28], 1
lea rdx, [0x1400482e0]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8d, ecx
mov edx, dword [0x14004a338]
mov ecx, dword [0x14004a334]
call fcn.1400314ec
mov rcx, qword [rsp + 0x50]
call fcn.140036eb8
movzx eax, al
test eax, eax
jne 0x140030ba3
cvttsd2si eax, qword [rsp + 0x168]
cvttsd2si ecx, qword [rsp + 0x160]
mov dword [rsp + 0x28], 1
lea rdx, [0x140048290]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8d, ecx
mov edx, dword [0x14004a338]
mov ecx, dword [0x14004a334]
call fcn.1400314ec
movzx eax, byte [0x14004a38c]
test eax, eax
je 0x140030c6a
mov dword [rsp + 0x11c], 0xfffc1803
cvttss2si eax, dword [rsp + 0x64]
cvttss2si ecx, dword [rsp + 0x4c]
cvttsd2si edx, qword [rsp + 0x168]
movss xmm0, dword [rsp + 0x4c]
divss xmm0, dword [0x14003cb98]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x160]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0x11c]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002ded0
cvttss2si eax, dword [rsp + 0x64]
cvttss2si ecx, dword [rsp + 0x4c]
cvttsd2si edx, qword [rsp + 0x168]
movss xmm0, dword [rsp + 0x4c]
divss xmm0, dword [0x14003cb98]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x160]
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.140031444
movzx eax, byte [0x14004a37f]
test eax, eax
je 0x140030d65
lea rdx, str.__.fm__n
lea rcx, [rsp + 0x8d8]
call fcn.14002b574
cvtss2sd xmm0, dword [rsp + 0x70]
movsd qword [rsp + 0x3a8], xmm0
lea rcx, [rsp + 0x8d8]
call fcn.140036b6c
movsd xmm0, qword [rsp + 0x3a8]
movaps xmm2, xmm0
movq r8, xmm2
mov rdx, rax
lea rcx, [rsp + 0x900]
call fcn.14002a944
movsd xmm0, qword [rsp + 0x200]
subsd xmm0, qword [0x1400420b8]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x1f8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4a0]
call fcn.14002bec4
mov qword [rsp + 0x3b0], rax
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x8e0]
call fcn.14002b968
nop
mov rax, qword [0x14004a398]
mov qword [rsp + 0x3b8], rax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xffa37a38
movss xmm3, dword [0x14003cbb8]
mov r8, qword [rsp + 0x3b0]
lea rdx, [rsp + 0x8e0]
mov rcx, qword [rsp + 0x3b8]
call fcn.140031620
nop
lea rcx, [rsp + 0x8e0]
call fcn.14002c51c
movzx eax, byte [0x14004a375]
test eax, eax
je 0x140030dc2
cvttsd2si eax, qword [rsp + 0x218]
mov dword [rsp + 0x120], eax
cvttsd2si ecx, qword [rsp + 0x210]
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 2
lea rdx, [0x140048470]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0x120]
mov r9d, edx
mov r8d, ecx
mov edx, dword [0x14004a338]
mov ecx, eax
call fcn.1400314ec
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x468]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x1e0], xmm0
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x470]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x1f0], xmm0
movsd xmm0, qword [rsp + 0x1e0]
mulsd xmm0, qword [rsp + 0x1e0]
movsd xmm1, qword [rsp + 0x1f0]
mulsd xmm1, qword [rsp + 0x1f0]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss dword [rsp + 0x74], xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140036eb8
movzx eax, al
test eax, eax
je 0x140030e99
movss xmm0, dword [0x140048280]
comiss xmm0, dword [rsp + 0x74]
jbe 0x140030e99
movss xmm0, dword [rsp + 0x8c]
comiss xmm0, dword [rsp + 0x74]
jbe 0x140030e99
movss xmm0, dword [rsp + 0x74]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x158], rax
lea rcx, [rsp + 0x468]
call fcn.140029b40
nop
lea rcx, [rsp + 0x820]
call fcn.140029b40
nop
lea rcx, [rsp + 0x160]
call fcn.140029b40
nop
lea rcx, [rsp + 0x1f8]
call fcn.140029b40
nop
lea rcx, [rsp + 0x210]
call fcn.140029b40
nop
lea rcx, [rsp + 0x540]
call fcn.140029b40
nop
lea rcx, [rsp + 0x838]
call fcn.140029b40
nop
lea rcx, [rsp + 0x558]
call fcn.140029b40
nop
lea rcx, [rsp + 0x850]
call fcn.140029b40
nop
lea rcx, [rsp + 0x450]
call fcn.140029b40
nop
lea rcx, [rsp + 0x868]
call fcn.140029b40
nop
lea rcx, [rsp + 0x178]
call fcn.140029b40
nop
lea rcx, [rsp + 0x438]
call fcn.14002c680
jmp 0x14002f5b4
movzx eax, byte [0x14004a376]
test eax, eax
je 0x140030f92
movzx eax, byte [0x14004a376]
test eax, eax
je 0x140030f92
cmp qword [rsp + 0x158], 0
je 0x140030f92
mov ecx, dword [0x14004a2d0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x140030f92
mov rcx, qword [rsp + 0x158]
call fcn.14002cf10
movzx eax, byte [0x14004a377]
test eax, eax
je 0x14003141a
call fcn.140008f44
mov qword [rsp + 0x3d0], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8d8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8d8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8d8]
movss xmm0, dword [0x14003cb98]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x4e8]
call fcn.14002befc
lea rcx, [rsp + 0x4e8]
call fcn.1400088fc
mov dword [rsp + 0x124], eax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4a8]
call fcn.14002bec4
mov qword [rsp + 0x3c0], rax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4b0]
call fcn.14002bec4
mov qword [rsp + 0x3c8], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x124]
mov r8, qword [rsp + 0x3c0]
mov rdx, qword [rsp + 0x3c8]
mov rcx, qword [rsp + 0x3d0]
call fcn.1400128e0
call fcn.140008f44
mov qword [rsp + 0x3e8], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8d8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8d8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8d8]
movss xmm0, dword [0x14003cb98]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x4f8]
call fcn.14002befc
lea rcx, [rsp + 0x4f8]
call fcn.1400088fc
mov dword [rsp + 0x128], eax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4b8]
call fcn.14002bec4
mov qword [rsp + 0x3d8], rax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4c0]
call fcn.14002bec4
mov qword [rsp + 0x3e0], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x128]
mov r8, qword [rsp + 0x3d8]
mov rdx, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x3e8]
call fcn.1400128e0
call fcn.140008f44
mov qword [rsp + 0x400], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8d8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8d8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8d8]
movss xmm0, dword [0x14003cb98]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x508]
call fcn.14002befc
lea rcx, [rsp + 0x508]
call fcn.1400088fc
mov dword [rsp + 0x12c], eax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4c8]
call fcn.14002bec4
mov qword [rsp + 0x3f0], rax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4d0]
call fcn.14002bec4
mov qword [rsp + 0x3f8], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x12c]
mov r8, qword [rsp + 0x3f0]
mov rdx, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x400]
call fcn.1400128e0
call fcn.140008f44
mov qword [rsp + 0x418], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8d8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8d8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8d8]
movss xmm0, dword [0x14003cb98]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x518]
call fcn.14002befc
lea rcx, [rsp + 0x518]
call fcn.1400088fc
mov dword [rsp + 0x130], eax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4d8]
call fcn.14002bec4
mov qword [rsp + 0x408], rax
mov eax, dword [0x14004a338]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a334]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4e0]
call fcn.14002bec4
mov qword [rsp + 0x410], rax
movss xmm0, dword [0x14003cb90]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x130]
mov r8, qword [rsp + 0x408]
mov rdx, qword [rsp + 0x410]
mov rcx, qword [rsp + 0x418]
call fcn.1400128e0
nop
lea rcx, [rsp + 0x880]
call fcn.14002c680
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.140039c90
add rsp, 0x958
pop rdi
pop rsi
ret