Function at 0x14002e6e4
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x958
mov rax, qword [0x140049a88]
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 [0x14004a8c8], eax
jle 0x14002e756
lea rcx, [0x14004a8c8]
call fcn.140039560
cmp dword [0x14004a8c8], 0xffffffff
jne 0x14002e756
call fcn.140008bd4
mov rax, qword [rax + 8]
mov qword [0x14004a8c0], rax
lea rcx, [0x14004a8c8]
call fcn.140039500
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 [0x14004a8d8], eax
jle 0x14002e7cc
lea rcx, [0x14004a8d8]
call fcn.140039560
cmp dword [0x14004a8d8], 0xffffffff
jne 0x14002e7cc
movss xmm0, dword [0x14004a8c4]
divss xmm0, dword [0x14003cbb8]
movss xmm1, dword [0x14004a8c0]
divss xmm1, dword [0x14003cbb8]
movaps xmm2, xmm0
lea rcx, [0x14004a8d0]
call fcn.14002b934
nop
lea rcx, [0x14004a8d8]
call fcn.140039500
movzx eax, byte [0x14004a2b7]
test eax, eax
je 0x14002e8b5
call fcn.140008f28
mov qword [rsp + 0x248], rax
mov eax, dword [0x14004a338]
cvtsi2ss xmm0, rax
addss xmm0, dword [0x140048280]
mov eax, dword [0x14004a324]
cvtsi2ss xmm1, rax
addss xmm1, dword [0x140048280]
movaps xmm2, xmm0
lea rcx, [rsp + 0x570]
call fcn.14002b934
mov qword [rsp + 0x238], rax
mov eax, dword [0x14004a338]
cvtsi2ss xmm0, rax
subss xmm0, dword [0x140048280]
mov eax, dword [0x14004a324]
cvtsi2ss xmm1, rax
subss xmm1, dword [0x140048280]
movaps xmm2, xmm0
lea rcx, [rsp + 0x528]
call fcn.14002b934
mov qword [rsp + 0x240], rax
movss xmm0, dword [0x14003cbb0]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0xf
movss xmm0, dword [0x140040d4c]
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.140013554
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 0
movzx eax, byte [0x14004a2a9]
test eax, eax
je 0x14002e990
call fcn.140008f28
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.14002b82c
mov rcx, rax
call fcn.14002c554
mov dword [rsp + 0x134], eax
movss xmm0, dword [0x140048280]
movss dword [rsp + 0x138], xmm0
mov eax, dword [0x14004a338]
cvtsi2ss xmm0, rax
mov eax, dword [0x14004a324]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x530]
call fcn.14002b934
mov qword [rsp + 0x250], rax
movss xmm0, dword [0x140040d4c]
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.140011584
mov byte [rsp + 0x6a], 0
mov byte [rsp + 0x6b], 0
mov byte [rsp + 0x6c], 0
movzx eax, byte [0x14004a2c9]
test eax, eax
je 0x14002ead3
call fcn.140008f28
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.14002b82c
mov rcx, rax
call fcn.14002c554
mov dword [rsp + 0x13c], eax
movss xmm0, dword [0x140048280]
movss dword [rsp + 0x140], xmm0
mov eax, dword [0x14004a338]
cvtsi2ss xmm0, rax
mov eax, dword [0x14004a324]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x538]
call fcn.14002b934
mov qword [rsp + 0x260], rax
movss xmm0, dword [0x140040d4c]
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.140011584
call fcn.140008f28
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.14002b82c
mov rcx, rax
call fcn.14002c554
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, [0x14004a8d0]
mov rcx, qword [rsp + 0x270]
call fcn.14001162c
cmp dword [0x14004a884], 0
jne 0x14002eae8
mov dword [0x14004a880], 0x44
jmp 0x14002eb25
cmp dword [0x14004a884], 1
jne 0x14002eafd
mov dword [0x14004a880], 0x43
jmp 0x14002eb25
cmp dword [0x14004a884], 2
jne 0x14002eb12
mov dword [0x14004a880], 0x24
jmp 0x14002eb25
cmp dword [0x14004a884], 3
jne 0x14002eb25
mov dword [0x14004a880], 2
cmp dword [0x140048284], 0
jne 0x14002eb3d
mov dword [0x14004a87c], 1
jmp 0x14002ed05
cmp dword [0x140048284], 1
jne 0x14002eb55
mov dword [0x14004a87c], 2
jmp 0x14002ed05
cmp dword [0x140048284], 2
jne 0x14002eb6d
mov dword [0x14004a87c], 4
jmp 0x14002ed05
cmp dword [0x140048284], 3
jne 0x14002eb85
mov dword [0x14004a87c], 5
jmp 0x14002ed05
cmp dword [0x140048284], 4
jne 0x14002eb9d
mov dword [0x14004a87c], 6
jmp 0x14002ed05
cmp dword [0x140048284], 5
jne 0x14002ebb5
mov dword [0x14004a87c], 3
jmp 0x14002ed05
cmp dword [0x140048284], 6
jne 0x14002ebcd
mov dword [0x14004a87c], 8
jmp 0x14002ed05
cmp dword [0x140048284], 7
jne 0x14002ebe5
mov dword [0x14004a87c], 9
jmp 0x14002ed05
cmp dword [0x140048284], 8
jne 0x14002ebfd
mov dword [0x14004a87c], 0xc
jmp 0x14002ed05
cmp dword [0x140048284], 9
jne 0x14002ec0b
jmp 0x14002ed05
cmp dword [0x140048284], 0xa
jne 0x14002ec23
mov dword [0x14004a87c], 0x10
jmp 0x14002ed05
cmp dword [0x140048284], 0xb
jne 0x14002ec3b
mov dword [0x14004a87c], 0x11
jmp 0x14002ed05
cmp dword [0x140048284], 0xc
jne 0x14002ec49
jmp 0x14002ed05
cmp dword [0x140048284], 0xd
jne 0x14002ec57
jmp 0x14002ed05
cmp dword [0x140048284], 0xe
jne 0x14002ec65
jmp 0x14002ed05
cmp dword [0x140048284], 0xf
jne 0x14002ec73
jmp 0x14002ed05
cmp dword [0x140048284], 0x10
jne 0x14002ec81
jmp 0x14002ed05
cmp dword [0x140048284], 0x11
jne 0x14002ec8c
jmp 0x14002ed05
cmp dword [0x140048284], 0x12
jne 0x14002ec97
jmp 0x14002ed05
cmp dword [0x140048284], 0x13
jne 0x14002eca2
jmp 0x14002ed05
cmp dword [0x140048284], 0x14
jne 0x14002ecad
jmp 0x14002ed05
cmp dword [0x140048284], 0x15
jne 0x14002ecb8
jmp 0x14002ed05
cmp dword [0x140048284], 0x16
jne 0x14002ecc3
jmp 0x14002ed05
cmp dword [0x140048284], 0x17
jne 0x14002ecce
jmp 0x14002ed05
cmp dword [0x140048284], 0x18
jne 0x14002ecd9
jmp 0x14002ed05
cmp dword [0x140048284], 0x19
jne 0x14002ece4
jmp 0x14002ed05
cmp dword [0x140048284], 0x1a
jne 0x14002ecef
jmp 0x14002ed05
cmp dword [0x140048284], 0x1b
jne 0x14002ecfa
jmp 0x14002ed05
cmp dword [0x140048284], 0x1c
jne 0x14002ed05
jmp 0x14002ed05
lea rdx, [0x14004a7a8]
lea rcx, [rsp + 0x880]
call fcn.14002b6b8
nop
movss xmm0, dword [0x14003cbfc]
movss dword [rsp + 0x8c], xmm0
mov qword [rsp + 0x158], 0
mov rax, qword [0x14004a3a8]
add rax, 0xee2f8e8
mov rcx, rax
call fcn.140028d50
mov qword [0x14004a2d8], rax
mov rax, qword [0x140048180]
mov rcx, qword [0x14004a2d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
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.140028d50
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0x280]
call fcn.140028d50
mov qword [0x14004a2f0], rax
mov rax, qword [0x140048190]
mov rcx, qword [0x14004a2f0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [0x14004a300], rax
mov rax, qword [0x140048198]
mov rcx, qword [0x14004a300]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [0x14004a2e0], rax
mov rax, qword [0x14004a300]
add rax, 0x330
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x480], rax
mov rax, qword [0x1400481a0]
mov rcx, qword [0x14004a2e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [0x14004a2e8], rax
mov rax, qword [0x1400481c8]
mov rcx, qword [0x14004a300]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [0x14004a2e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1e8], rax
mov rax, qword [0x1400481a8]
mov rcx, qword [0x14004a2e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [0x14004a2f8], rax
mov rax, qword [0x1400481b8]
mov rcx, qword [0x14004a2d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [0x14004a308], rax
mov rax, qword [0x14004a2e0]
add rax, 0x868
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x488], rax
mov rax, qword [0x1400481c0]
mov rcx, qword [0x14004a308]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028be8
mov dword [rsp + 0x420], eax
mov rax, qword [0x1400481d0]
mov rcx, qword [0x14004a308]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x490], rax
mov rax, qword [0x1400481b0]
mov rcx, qword [0x14004a2d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
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.140028d50
mov qword [rsp + 0x288], rax
mov rax, qword [0x14004a2e0]
add rax, 0x2348
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x498], rax
mov byte [rsp + 0x44], 0
cmp qword [0x14004a2e0], 0
je 0x14002efa3
mov byte [rsp + 0x44], 1
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [0x140048238]
lea rax, [rax + rcx + 8]
mov rcx, rax
call fcn.140028be8
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x58], 0
jmp 0x14002efda
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0x58], eax
jae 0x14003096f
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.140028d50
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.140028d50
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14002f058
jmp 0x14002efd0
cmp qword [0x14004a2e0], 0
jne 0x14002f06c
mov dword [0x140048288], 0x960
mov rax, qword [0x1400481e0]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x50], rax
mov rax, qword [0x1400481f0]
mov rcx, qword [0x14004a2e8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028be8
mov dword [rsp + 0x424], eax
mov rax, qword [rsp + 0x80]
add rax, 0x290
mov rcx, rax
call fcn.140028d50
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.140028be8
mov dword [rsp + 0x428], eax
mov rax, qword [rsp + 0x80]
add rax, 0x7c2
mov rcx, rax
call fcn.140028bb8
movsx eax, al
sar eax, 4
and eax, 1
mov dword [rsp + 0x42c], eax
lea rdx, [0x14004a7a8]
lea rcx, [rsp + 0x438]
call fcn.14002b6b8
nop
movzx eax, byte [0x14004a2b6]
test eax, eax
je 0x14002f14d
lea rcx, [rsp + 0x438]
call fcn.14002c09c
jmp 0x14002efd0
mov rax, qword [0x14004a2e0]
cmp qword [rsp + 0x80], rax
jne 0x14002f170
lea rcx, [rsp + 0x438]
call fcn.14002c09c
jmp 0x14002efd0
mov rax, qword [0x14004a2e0]
cmp qword [rsp + 0x80], rax
jne 0x14002f193
lea rcx, [rsp + 0x438]
call fcn.14002c09c
jmp 0x14002efd0
mov r8d, 0x43
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x178]
call fcn.140032d4c
nop
mov r8d, 0x44
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x868]
call fcn.140032d4c
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x450]
call fcn.140032d4c
nop
mov rax, qword [0x140048240]
mov rcx, qword [0x14004a2f8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x618]
call fcn.140028cf8
mov qword [rsp + 0x2a0], rax
lea rax, [0x14004a428]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x618]
call fcn.140029548
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.140034290
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, [0x14004a428]
call fcn.14002caa4
divss xmm0, dword [0x140048278]
movss dword [rsp + 0x70], xmm0
mov r8d, 0x32
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x558]
call fcn.140032d4c
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.140034290
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x540]
call fcn.140032d4c
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.140034290
nop
movsd xmm0, qword [rsp + 0x188]
addsd xmm0, qword [0x140042330]
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.14002b9c8
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.140034290
nop
lea rcx, [rsp + 0x6d0]
call fcn.140029548
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.14002b9c8
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.140034290
nop
lea rcx, [rsp + 0x710]
call fcn.140029548
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.14002b9c8
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.140034290
nop
lea rcx, [rsp + 0x5c0]
call fcn.140029548
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.140034290
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 [0x14003cb8c]
movss dword [rsp + 0xb8], xmm0
cvtsd2ss xmm0, qword [rsp + 0x1f8]
movss xmm1, dword [rsp + 0xb8]
divss xmm1, dword [0x14003cbb0]
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.140035da8
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 [0x14004a2ae]
test eax, eax
je 0x14002fade
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.140029f8c
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x60], xmm0
mov eax, dword [0x14004a8dc]
inc eax
mov dword [0x14004a8dc], eax
mov eax, dword [0x14004a8dc]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 4
jge 0x14002fade
lea rcx, [rsp + 0x190]
call fcn.14002b670
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.140032d14
call fcn.140037e14
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.1400371e0
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.140032d14
call fcn.140036288
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.1400371e0
cvtsi2ss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0xcc], xmm0
movss xmm0, dword [rsp + 0x60]
call fcn.140036288
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.14002ca18
movss xmm1, dword [rsp + 0xd0]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.140032d14
call fcn.140037e14
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.1400371e0
cvtsi2ss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0xdc], xmm0
movss xmm0, dword [rsp + 0x60]
call fcn.140036288
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.14002ca18
movss xmm1, dword [rsp + 0xe0]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.140032d14
call fcn.140036288
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.1400371e0
call fcn.140009088
cvtsd2ss xmm0, xmm0
movss xmm1, dword [0x14003cbb0]
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 [0x14003cb80]
movss xmm1, dword [rsp + 0xec]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x14003cbb0]
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x14003cbb0]
movss xmm2, dword [0x14003cbb0]
movaps xmm1, xmm0
lea rcx, [rsp + 0x898]
call fcn.14003315c
mov rcx, rax
call fcn.14002c554
mov dword [rsp + 0x88], eax
cvtsi2ss xmm0, dword [rsp + 0x7c]
cvtsi2ss xmm1, dword [rsp + 0x78]
movaps xmm2, xmm0
lea rcx, [rsp + 0x2d8]
call fcn.14002b934
mov edx, 1
lea rcx, [rsp + 0x190]
call fcn.14002c48c
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.14002c48c
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.14002b934
mov edx, 3
lea rcx, [rsp + 0x190]
call fcn.14002c48c
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.14002c48c
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.14002b934
call fcn.140008f28
mov qword [rsp + 0x2e0], rax
movss xmm0, dword [0x14003cbb0]
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.14001284c
call fcn.140008f28
mov qword [rsp + 0x2f0], rax
movss xmm0, dword [0x14003cbb0]
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.14001284c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x190]
call fcn.14002c084
jmp 0x14002f6b5
movzx eax, byte [0x14004a2bf]
test eax, eax
je 0x14002fc8d
mov rax, qword [0x1400481e0]
mov rcx, qword [0x14004a2e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
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 [0x14004a8f8], eax
jle 0x14002fb81
lea rcx, [0x14004a8f8]
call fcn.140039560
cmp dword [0x14004a8f8], 0xffffffff
jne 0x14002fb81
mov rax, qword [rsp + 0x148]
add rax, 0x140
mov rdx, rax
lea rcx, [0x14004a8e0]
call fcn.140028cf8
lea rcx, [0x14003b3b0]
call fcn.1400393c0
nop
lea rcx, [0x14004a8f8]
call fcn.140039500
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14002fc3e
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 [0x14003cbb0]
movaps xmm2, xmm0
movss xmm1, dword [0x14003cbb0]
lea rcx, [rsp + 0x728]
call fcn.14002b9c8
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.140028f7c
lea rcx, [rsp + 0x600]
call fcn.140029548
nop
lea rcx, [rsp + 0x728]
call fcn.140029548
jmp 0x14002fc8d
lea rax, [rsp + 0x740]
lea rcx, [0x14004a8e0]
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.140028f7c
lea rcx, [rsp + 0x760]
call fcn.140029548
movzx eax, byte [0x14004a2c3]
test eax, eax
je 0x14002fe5d
mov rax, qword [0x14004a308]
add rax, 0x298
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1c8], rax
mov rax, qword [0x14004a2e0]
add rax, 0x8d8
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
add rax, 0xc41
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
add rax, 0x1678
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
add rax, 0x6233
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
add rax, 0xc87
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
add rax, 0xb39
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
add rax, 0x267
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
add rax, 0x5cc
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
add rax, 0xca2
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
add rax, 0x9c8
xor edx, edx
mov rcx, rax
call fcn.140028edc
mov rax, qword [rsp + 0x1c0]
add rax, 0x928
movss xmm1, dword [0x140040d38]
mov rcx, rax
call fcn.140028f44
mov rax, qword [rsp + 0x1b8]
add rax, 0x329
mov rcx, rax
call fcn.140028bb8
mov byte [rsp + 0x45], al
movzx eax, byte [rsp + 0x45]
test eax, eax
je 0x14002fe3f
mov rax, qword [rsp + 0x1c8]
add rax, 0x3c0
movss xmm1, dword [0x140040d74]
mov rcx, rax
call fcn.140028f44
jmp 0x14002fe5d
mov rax, qword [rsp + 0x1c8]
add rax, 0x3c0
movss xmm1, dword [0x14003cbb0]
mov rcx, rax
call fcn.140028f44
movzx eax, byte [0x14004a2be]
test eax, eax
je 0x14002ff35
mov rax, qword [0x14004a3a8]
add rax, 0x2883a10
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
add rax, 0xda
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
add rax, 0x3a
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
add rax, 0x67
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
add rax, 0x26
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
add rax, 0x7ea
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x368]
add rax, 0x26
movss xmm1, dword [0x140042308]
mov rcx, rax
call fcn.140028f44
movzx eax, byte [0x14004a2c0]
test eax, eax
je 0x14002ff80
mov rax, qword [0x14004a2e8]
add rax, 0x8d8
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x1d0], 0
je 0x14002ff80
mov rax, qword [rsp + 0x1d0]
add rax, 0x2628
mov dl, 1
mov rcx, rax
call fcn.140028edc
movzx eax, byte [0x14004a2c1]
test eax, eax
je 0x14002ffd1
cmp qword [0x14004a2e0], 0
je 0x14002ffd1
mov rax, qword [0x1400481e0]
mov rcx, qword [0x14004a2e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
add rax, 0xa3a
mov dl, 1
mov rcx, rax
call fcn.140028edc
movzx eax, byte [0x14004a2c2]
test eax, eax
je 0x14003015d
mov rax, qword [0x14004a2e0]
add rax, 0x14d4
mov rcx, rax
call fcn.140028c18
movss dword [rsp + 0x100], xmm0
mov rax, qword [0x14004a2e0]
add rax, 0x14d8
mov rcx, rax
call fcn.140028c18
movss dword [rsp + 0x104], xmm0
mov rax, qword [0x14004a2e0]
add rax, 0x14cc
mov rcx, rax
call fcn.140028c18
movss dword [rsp + 0x108], xmm0
mov rax, qword [0x14004a2e0]
add rax, 0x14c0
mov rcx, rax
call fcn.140028c18
movss dword [rsp + 0x10c], xmm0
mov rax, qword [0x14004a2e0]
add rax, 0x8d8
mov rcx, rax
call fcn.140028c18
xor eax, eax
comiss xmm0, dword [0x140040d88]
jb 0x140030096
subss xmm0, dword [0x140040d88]
comiss xmm0, dword [0x140040d88]
jae 0x140030096
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 [0x14003cb58]
jp 0x1400300f9
jne 0x1400300f9
movss xmm0, dword [rsp + 0x104]
ucomiss xmm0, dword [0x14003cb58]
jp 0x1400300f9
jne 0x1400300f9
movss xmm0, dword [rsp + 0x108]
ucomiss xmm0, dword [0x14003cb58]
jp 0x1400300f9
jne 0x1400300f9
movss xmm0, dword [rsp + 0x10c]
ucomiss xmm0, dword [0x14003cb58]
jp 0x1400300f9
je 0x14003015d
mov rax, qword [rsp + 0x98]
add rax, 0x14d4
xorps xmm1, xmm1
mov rcx, rax
call fcn.140028f44
mov rax, qword [rsp + 0x98]
add rax, 0x14d8
xorps xmm1, xmm1
mov rcx, rax
call fcn.140028f44
mov rax, qword [rsp + 0x98]
add rax, 0x14cc
xorps xmm1, xmm1
mov rcx, rax
call fcn.140028f44
mov rax, qword [rsp + 0x98]
add rax, 0x14c0
xorps xmm1, xmm1
mov rcx, rax
call fcn.140028f44
movzx eax, byte [0x14004a2c7]
test eax, eax
je 0x140030368
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140030248
cmp qword [0x14004a2e0], 0
je 0x140030243
mov rax, qword [0x14004a2e0]
add rax, 0x310
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x388], rax
movss xmm3, dword [0x140042378]
movss xmm2, dword [0x140042380]
movss xmm1, dword [0x140042378]
lea rcx, [rsp + 0x7b8]
call fcn.14002b9c8
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.140028f7c
lea rcx, [rsp + 0x7a0]
call fcn.140029548
nop
lea rcx, [rsp + 0x7b8]
call fcn.140029548
jmp 0x1400302f3
mov rax, qword [0x14004a2e0]
add rax, 0x310
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x3a0], rax
movss xmm3, dword [0x14004237c]
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x808]
call fcn.14002b9c8
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.140028f7c
lea rcx, [rsp + 0x7f0]
call fcn.140029548
nop
lea rcx, [rsp + 0x808]
call fcn.140029548
movzx eax, byte [0x14004a2cc]
test eax, eax
je 0x140030368
mov rax, qword [0x14004a2e0]
add rax, 0x23d8
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
je 0x140030350
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140030350
mov rax, qword [rsp + 0x150]
add rax, 0x6aa
xor edx, edx
mov rcx, rax
call fcn.140028edc
jmp 0x140030368
mov rax, qword [rsp + 0x150]
add rax, 0x6aa
mov dl, 1
mov rcx, rax
call fcn.140028edc
movzx eax, byte [0x14004a2ad]
test eax, eax
je 0x1400303d4
mov dword [rsp + 0x234], 0x1f4
mov rax, qword [0x14004a300]
add rax, 0x340
mov rcx, rax
call fcn.140028d50
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
add rax, 0x2a0
movss xmm1, dword [0x140042370]
mov rcx, rax
call fcn.140028f44
mov rax, qword [rsp + 0x1d8]
add rax, 0x348
mov edx, 0x1f4
mov rcx, rax
call fcn.140028f10
cvtsi2ss xmm0, dword [0x140048288]
comiss xmm0, dword [rsp + 0x70]
jbe 0x1400307de
movzx eax, byte [0x14004a2ab]
test eax, eax
je 0x1400307de
movzx eax, byte [0x14004a2ac]
test eax, eax
je 0x140030469
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 [0x14003cbb8]
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.14002cbf8
movzx eax, byte [0x14004a2b5]
test eax, eax
je 0x14003048d
cvtsi2ss xmm0, dword [0x140048288]
comiss xmm0, dword [rsp + 0x70]
jbe 0x14003048d
mov rcx, qword [rsp + 0x50]
call fcn.140031c24
movzx eax, byte [0x14004a2b4]
test eax, eax
je 0x1400304a2
mov rcx, qword [rsp + 0x50]
call fcn.140031c24
movzx eax, byte [0x14004a2ca]
test eax, eax
je 0x140030514
cvttsd2si eax, qword [rsp + 0x168]
mov dword [rsp + 0x114], eax
cvttsd2si ecx, qword [rsp + 0x160]
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x118], eax
mov eax, dword [0x14004a3bc]
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.140030f08
movzx eax, byte [0x14004a2cb]
test eax, eax
je 0x1400305bf
mov rcx, qword [rsp + 0x50]
call fcn.1400368d0
movzx eax, al
test eax, eax
je 0x140030571
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 [0x14004a3c0]
mov ecx, dword [0x14004a3bc]
call fcn.140030f08
mov rcx, qword [rsp + 0x50]
call fcn.1400368d0
movzx eax, al
test eax, eax
jne 0x1400305bf
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 [0x14004a3c0]
mov ecx, dword [0x14004a3bc]
call fcn.140030f08
movzx eax, byte [0x14004a2c8]
test eax, eax
je 0x140030686
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 [0x14003cbb8]
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.14002d8ec
cvttss2si eax, dword [rsp + 0x64]
cvttss2si ecx, dword [rsp + 0x4c]
cvttsd2si edx, qword [rsp + 0x168]
movss xmm0, dword [rsp + 0x4c]
divss xmm0, dword [0x14003cbb8]
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.140030e60
movzx eax, byte [0x14004a2bb]
test eax, eax
je 0x140030781
lea rdx, str.__.fm__n
lea rcx, [rsp + 0x8d8]
call fcn.14002afcc
cvtss2sd xmm0, dword [rsp + 0x70]
movsd qword [rsp + 0x3a8], xmm0
lea rcx, [rsp + 0x8d8]
call fcn.140036574
movsd xmm0, qword [rsp + 0x3a8]
movaps xmm2, xmm0
movq r8, xmm2
mov rdx, rax
lea rcx, [rsp + 0x900]
call fcn.14002a39c
movsd xmm0, qword [rsp + 0x200]
subsd xmm0, qword [0x140042338]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x1f8]
movaps xmm2, xmm0
lea rcx, [rsp + 0x4a0]
call fcn.14002b934
mov qword [rsp + 0x3b0], rax
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x8e0]
call fcn.14002b3c0
nop
mov rax, qword [0x14004a2d0]
mov qword [rsp + 0x3b8], rax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xffa37a38
movss xmm3, dword [0x14003cbd8]
mov r8, qword [rsp + 0x3b0]
lea rdx, [rsp + 0x8e0]
mov rcx, qword [rsp + 0x3b8]
call fcn.14003103c
nop
lea rcx, [rsp + 0x8e0]
call fcn.14002bf38
movzx eax, byte [0x14004a2b1]
test eax, eax
je 0x1400307de
cvttsd2si eax, qword [rsp + 0x218]
mov dword [rsp + 0x120], eax
cvttsd2si ecx, qword [rsp + 0x210]
mov eax, dword [0x14004a3bc]
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 [0x14004a3c0]
mov ecx, eax
call fcn.140030f08
mov eax, dword [0x14004a3bc]
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 [0x14004a3c0]
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.1400368d0
movzx eax, al
test eax, eax
je 0x1400308b5
movss xmm0, dword [0x140048280]
comiss xmm0, dword [rsp + 0x74]
jbe 0x1400308b5
movss xmm0, dword [rsp + 0x8c]
comiss xmm0, dword [rsp + 0x74]
jbe 0x1400308b5
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.140029548
nop
lea rcx, [rsp + 0x820]
call fcn.140029548
nop
lea rcx, [rsp + 0x160]
call fcn.140029548
nop
lea rcx, [rsp + 0x1f8]
call fcn.140029548
nop
lea rcx, [rsp + 0x210]
call fcn.140029548
nop
lea rcx, [rsp + 0x540]
call fcn.140029548
nop
lea rcx, [rsp + 0x838]
call fcn.140029548
nop
lea rcx, [rsp + 0x558]
call fcn.140029548
nop
lea rcx, [rsp + 0x850]
call fcn.140029548
nop
lea rcx, [rsp + 0x450]
call fcn.140029548
nop
lea rcx, [rsp + 0x868]
call fcn.140029548
nop
lea rcx, [rsp + 0x178]
call fcn.140029548
nop
lea rcx, [rsp + 0x438]
call fcn.14002c09c
jmp 0x14002efd0
movzx eax, byte [0x14004a2b2]
test eax, eax
je 0x1400309ae
movzx eax, byte [0x14004a2b2]
test eax, eax
je 0x1400309ae
cmp qword [rsp + 0x158], 0
je 0x1400309ae
mov ecx, dword [0x14004a390]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400309ae
mov rcx, qword [rsp + 0x158]
call fcn.14002c92c
movzx eax, byte [0x14004a2b3]
test eax, eax
je 0x140030e36
call fcn.140008f28
mov qword [rsp + 0x3d0], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8a0]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8a0]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8a0]
movss xmm0, dword [0x14003cbb8]
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.14002b96c
lea rcx, [rsp + 0x4e8]
call fcn.1400088e0
mov dword [rsp + 0x124], eax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4a8]
call fcn.14002b934
mov qword [rsp + 0x3c0], rax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4b0]
call fcn.14002b934
mov qword [rsp + 0x3c8], rax
movss xmm0, dword [0x14003cbb0]
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.14001284c
call fcn.140008f28
mov qword [rsp + 0x3e8], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8a0]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8a0]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8a0]
movss xmm0, dword [0x14003cbb8]
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.14002b96c
lea rcx, [rsp + 0x4f8]
call fcn.1400088e0
mov dword [rsp + 0x128], eax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4b8]
call fcn.14002b934
mov qword [rsp + 0x3d8], rax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4c0]
call fcn.14002b934
mov qword [rsp + 0x3e0], rax
movss xmm0, dword [0x14003cbb0]
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.14001284c
call fcn.140008f28
mov qword [rsp + 0x400], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8a0]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8a0]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8a0]
movss xmm0, dword [0x14003cbb8]
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.14002b96c
lea rcx, [rsp + 0x508]
call fcn.1400088e0
mov dword [rsp + 0x12c], eax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4c8]
call fcn.14002b934
mov qword [rsp + 0x3f0], rax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4d0]
call fcn.14002b934
mov qword [rsp + 0x3f8], rax
movss xmm0, dword [0x14003cbb0]
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.14001284c
call fcn.140008f28
mov qword [rsp + 0x418], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14004a8a0]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x14004a8a0]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x14004a8a0]
movss xmm0, dword [0x14003cbb8]
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.14002b96c
lea rcx, [rsp + 0x518]
call fcn.1400088e0
mov dword [rsp + 0x130], eax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4d8]
call fcn.14002b934
mov qword [rsp + 0x408], rax
mov eax, dword [0x14004a3c0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004a3bc]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x4e0]
call fcn.14002b934
mov qword [rsp + 0x410], rax
movss xmm0, dword [0x14003cbb0]
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.14001284c
nop
lea rcx, [rsp + 0x880]
call fcn.14002c09c
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.140039700
add rsp, 0x958
pop rdi
pop rsi
ret