Function at 0x140039ca4
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0xd88
mov rax, qword [0x140056aa8]
xor rax, rsp
mov qword [rsp + 0xd70], rax
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140057f90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140057ed8], eax
jle 0x140039d16
lea rcx, [0x140057ed8]
call fcn.140045bb0
cmp dword [0x140057ed8], 0xffffffff
jne 0x140039d16
call fcn.140009b08
mov rax, qword [rax + 8]
mov qword [0x140057ed0], rax
lea rcx, [0x140057ed8]
call fcn.140045b50
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140057f90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140057ee8], eax
jle 0x140039d8c
lea rcx, [0x140057ee8]
call fcn.140045bb0
cmp dword [0x140057ee8], 0xffffffff
jne 0x140039d8c
movss xmm0, dword [0x140057ed4]
divss xmm0, dword [0x140048cdc]
movss xmm1, dword [0x140057ed0]
divss xmm1, dword [0x140048cdc]
movaps xmm2, xmm0
lea rcx, [0x140057ee0]
call fcn.1400379f0
nop
lea rcx, [0x140057ee8]
call fcn.140045b50
movzx eax, byte [0x140057316]
test eax, eax
je 0x140039e75
call fcn.140009ea4
mov qword [rsp + 0x1a8], rax
mov eax, dword [0x1400573e0]
cvtsi2ss xmm0, rax
addss xmm0, dword [0x14005517c]
mov eax, dword [0x140057398]
cvtsi2ss xmm1, rax
addss xmm1, dword [0x14005517c]
movaps xmm2, xmm0
lea rcx, [rsp + 0x5e0]
call fcn.1400379f0
mov qword [rsp + 0x198], rax
mov eax, dword [0x1400573e0]
cvtsi2ss xmm0, rax
subss xmm0, dword [0x14005517c]
mov eax, dword [0x140057398]
cvtsi2ss xmm1, rax
subss xmm1, dword [0x14005517c]
movaps xmm2, xmm0
lea rcx, [rsp + 0x5e8]
call fcn.1400379f0
mov qword [rsp + 0x1a0], rax
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0xf
movss xmm0, dword [0x14004d1f0]
movss dword [rsp + 0x20], xmm0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x198]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400152d8
mov byte [rsp + 0x5c], 0
mov byte [rsp + 0x5d], 0
movzx eax, byte [0x140057306]
test eax, eax
je 0x140039f50
call fcn.140009ea4
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0xc30]
call fcn.1400378e8
mov rcx, rax
call fcn.140038678
mov dword [rsp + 0xe0], eax
movss xmm0, dword [0x14005517c]
movss dword [rsp + 0x108], xmm0
mov eax, dword [0x1400573e0]
cvtsi2ss xmm0, rax
mov eax, dword [0x140057398]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x5f0]
call fcn.1400379f0
mov qword [rsp + 0x1b0], rax
movss xmm0, dword [0x14004d1f0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0xe0]
movss xmm2, dword [rsp + 0x108]
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b8]
call fcn.140013310
mov byte [rsp + 0x5e], 0
mov byte [rsp + 0x5f], 0
mov byte [rsp + 0x60], 0
movzx eax, byte [0x140057325]
test eax, eax
je 0x14003a093
call fcn.140009ea4
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0xc40]
call fcn.1400378e8
mov rcx, rax
call fcn.140038678
mov dword [rsp + 0x10c], eax
movss xmm0, dword [0x14005517c]
movss dword [rsp + 0x90], xmm0
mov eax, dword [0x1400573e0]
cvtsi2ss xmm0, rax
mov eax, dword [0x140057398]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x5f8]
call fcn.1400379f0
mov qword [rsp + 0x1c0], rax
movss xmm0, dword [0x14004d1f0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x10c]
movss xmm2, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1c8]
call fcn.140013310
call fcn.140009ea4
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x20], 0x6e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xc50]
call fcn.1400378e8
mov rcx, rax
call fcn.140038678
mov dword [rsp + 0x94], eax
movss xmm0, dword [0x14005517c]
movss dword [rsp + 0x98], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x94]
movss xmm2, dword [rsp + 0x98]
lea rdx, [0x140057ee0]
mov rcx, qword [rsp + 0x1d0]
call fcn.1400133b8
cmp dword [0x140057d88], 0
jne 0x14003a0a8
mov dword [0x140057d84], 0x44
jmp 0x14003a0e5
cmp dword [0x140057d88], 1
jne 0x14003a0bd
mov dword [0x140057d84], 0x43
jmp 0x14003a0e5
cmp dword [0x140057d88], 2
jne 0x14003a0d2
mov dword [0x140057d84], 0x24
jmp 0x14003a0e5
cmp dword [0x140057d88], 3
jne 0x14003a0e5
mov dword [0x140057d84], 2
cmp dword [0x140056a90], 0
jne 0x14003a0fd
mov dword [0x140057d80], 1
jmp 0x14003a2c5
cmp dword [0x140056a90], 1
jne 0x14003a115
mov dword [0x140057d80], 2
jmp 0x14003a2c5
cmp dword [0x140056a90], 2
jne 0x14003a12d
mov dword [0x140057d80], 4
jmp 0x14003a2c5
cmp dword [0x140056a90], 3
jne 0x14003a145
mov dword [0x140057d80], 5
jmp 0x14003a2c5
cmp dword [0x140056a90], 4
jne 0x14003a15d
mov dword [0x140057d80], 6
jmp 0x14003a2c5
cmp dword [0x140056a90], 5
jne 0x14003a175
mov dword [0x140057d80], 3
jmp 0x14003a2c5
cmp dword [0x140056a90], 6
jne 0x14003a18d
mov dword [0x140057d80], 8
jmp 0x14003a2c5
cmp dword [0x140056a90], 7
jne 0x14003a1a5
mov dword [0x140057d80], 9
jmp 0x14003a2c5
cmp dword [0x140056a90], 8
jne 0x14003a1bd
mov dword [0x140057d80], 0xc
jmp 0x14003a2c5
cmp dword [0x140056a90], 9
jne 0x14003a1cb
jmp 0x14003a2c5
cmp dword [0x140056a90], 0xa
jne 0x14003a1e3
mov dword [0x140057d80], 0x10
jmp 0x14003a2c5
cmp dword [0x140056a90], 0xb
jne 0x14003a1fb
mov dword [0x140057d80], 0x11
jmp 0x14003a2c5
cmp dword [0x140056a90], 0xc
jne 0x14003a209
jmp 0x14003a2c5
cmp dword [0x140056a90], 0xd
jne 0x14003a217
jmp 0x14003a2c5
cmp dword [0x140056a90], 0xe
jne 0x14003a225
jmp 0x14003a2c5
cmp dword [0x140056a90], 0xf
jne 0x14003a233
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x10
jne 0x14003a241
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x11
jne 0x14003a24c
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x12
jne 0x14003a257
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x13
jne 0x14003a262
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x14
jne 0x14003a26d
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x15
jne 0x14003a278
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x16
jne 0x14003a283
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x17
jne 0x14003a28e
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x18
jne 0x14003a299
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x19
jne 0x14003a2a4
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x1a
jne 0x14003a2af
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x1b
jne 0x14003a2ba
jmp 0x14003a2c5
cmp dword [0x140056a90], 0x1c
jne 0x14003a2c5
jmp 0x14003a2c5
lea rdx, [0x1400579f8]
lea rcx, [rsp + 0x6d0]
call fcn.14003772c
nop
movss xmm0, dword [0x140048d24]
movss dword [rsp + 0x70], xmm0
mov qword [rsp + 0xe8], 0
mov rax, qword [0x140055188]
mov rcx, qword [0x1400573f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [0x140057340], rax
mov rax, qword [0x140055198]
mov rcx, qword [0x140057340]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x1d8], rax
mov rax, qword [0x1400551a0]
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140034e0c
mov qword [0x140057358], rax
mov rax, qword [0x1400551a8]
mov rcx, qword [0x140057358]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [0x140057368], rax
mov rax, qword [0x1400551b0]
mov rcx, qword [0x140057368]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [0x140057348], rax
mov rax, qword [0x140057368]
add rax, 0x330
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x600], rax
mov rax, qword [0x1400551b8]
mov rcx, qword [0x140057348]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [0x140057350], rax
mov rax, qword [0x1400551f0]
mov rcx, qword [0x140057368]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [0x140057348]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x130], rax
mov rax, qword [0x1400551c0]
mov rcx, qword [0x140057348]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [0x140057360], rax
mov rax, qword [0x1400551d0]
mov rcx, qword [0x140057340]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [0x140057370], rax
mov rax, qword [0x140057348]
add rax, 0x868
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x608], rax
mov rax, qword [0x1400551e8]
mov rcx, qword [0x140057370]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034ccc
mov dword [rsp + 0x3b8], eax
mov rax, qword [0x1400551f8]
mov rcx, qword [0x140057370]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x610], rax
mov rax, qword [0x1400551c8]
mov rcx, qword [0x140057340]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x138], rax
mov rax, qword [0x140055260]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x1e8], rax
mov rax, qword [0x140057348]
add rax, 0x2348
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x618], rax
mov byte [rsp + 0x4c], 0
cmp qword [0x140057348], 0
je 0x14003a567
mov byte [rsp + 0x4c], 1
mov rax, qword [rsp + 0x138]
mov rcx, qword [0x140055260]
lea rax, [rax + rcx + 8]
mov rcx, rax
call fcn.140034ccc
mov dword [rsp + 0x9c], eax
lea rcx, [rsp + 0xc60]
call fcn.140037820
nop
mov dword [rsp + 0x54], 0
jmp 0x14003a5ac
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0x54], eax
jae 0x14003c01d
mov eax, dword [rsp + 0x54]
imul rax, qword [0x140055200]
mov rcx, qword [rsp + 0x1e8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x1f0], rax
mov rax, qword [0x140055258]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14003a613
jmp 0x14003a5a2
cmp qword [0x140057348], 0
jne 0x14003a627
mov dword [0x140056a94], 0x960
mov rax, qword [0x140055208]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x40], rax
mov rax, qword [0x140055218]
mov rcx, qword [0x140057350]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034ccc
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x68]
add rax, 0x290
mov rcx, rax
call fcn.140034e0c
mov qword [rsp + 0x1f8], rax
mov rax, qword [0x140055218]
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034ccc
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x68]
add rax, 0x7c2
mov rcx, rax
call fcn.140034c9c
movsx eax, al
sar eax, 4
and eax, 1
mov dword [rsp + 0x3bc], eax
lea rdx, [0x1400579f8]
lea rcx, [rsp + 0x488]
call fcn.14003772c
nop
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0xa4], eax
jne 0x14003a702
lea rcx, [rsp + 0x488]
call fcn.140038124
jmp 0x14003a5a2
movzx eax, byte [0x140057315]
test eax, eax
je 0x14003a721
lea rcx, [rsp + 0x488]
call fcn.140038124
jmp 0x14003a5a2
mov rax, qword [0x140057348]
cmp qword [rsp + 0x68], rax
jne 0x14003a741
lea rcx, [rsp + 0x488]
call fcn.140038124
jmp 0x14003a5a2
mov rax, qword [0x140057348]
cmp qword [rsp + 0x68], rax
jne 0x14003a761
lea rcx, [rsp + 0x488]
call fcn.140038124
jmp 0x14003a5a2
mov r8d, 0x6d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.14003e1a4
nop
mov r8d, 0x44
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x6b8]
call fcn.14003e1a4
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x4a0]
call fcn.14003e1a4
nop
mov rax, qword [0x140055230]
mov rcx, qword [0x140057360]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x6e8]
call fcn.140034db4
mov qword [rsp + 0x200], rax
lea rax, [0x140057458]
mov rdi, rax
mov rsi, qword [rsp + 0x200]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x6e8]
call fcn.140033abc
lea rax, [rsp + 0x700]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x700]
lea rcx, [rsp + 0x6a0]
call fcn.14003f5b4
nop
lea rax, [rsp + 0x720]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x720]
lea rcx, [0x140057458]
call fcn.140038d58
divss xmm0, dword [0x140055174]
movss dword [rsp + 0x58], xmm0
mov r8d, 0x32
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x658]
call fcn.14003e1a4
nop
lea rax, [rsp + 0x740]
lea rcx, [rsp + 0x658]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x740]
lea rcx, [rsp + 0x688]
call fcn.14003f5b4
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x5c0]
call fcn.14003e1a4
nop
lea rax, [rsp + 0x760]
lea rcx, [rsp + 0x5c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x760]
lea rcx, [rsp + 0x178]
call fcn.14003f5b4
nop
movsd xmm0, qword [rsp + 0x120]
addsd xmm0, qword [0x14004ebf8]
movaps xmm3, xmm0
movsd xmm2, qword [rsp + 0x118]
movsd xmm1, qword [rsp + 0x110]
lea rcx, [rsp + 0x7a0]
call fcn.140037a84
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x780]
mov rdi, rax
mov rsi, qword [rsp + 0x210]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x780]
lea rcx, [rsp + 0x78]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x7a0]
call fcn.140033abc
movsd xmm3, qword [rsp + 0x120]
movsd xmm2, qword [rsp + 0x118]
movsd xmm1, qword [rsp + 0x110]
lea rcx, [rsp + 0x7e0]
call fcn.140037a84
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
lea rax, [rsp + 0x7c0]
mov rdi, rax
mov rsi, qword [rsp + 0x220]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x7c0]
lea rcx, [rsp + 0xf0]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x7e0]
call fcn.140033abc
movsd xmm3, qword [rsp + 0x4b0]
movsd xmm2, qword [rsp + 0x4a8]
movsd xmm1, qword [rsp + 0x4a0]
lea rcx, [rsp + 0x820]
call fcn.140037a84
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x800]
mov rdi, rax
mov rsi, qword [rsp + 0x230]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x670]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x820]
call fcn.140033abc
lea rax, [rsp + 0x840]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x500]
call fcn.14003f5b4
nop
movsd xmm0, qword [rsp + 0x80]
subsd xmm0, qword [rsp + 0x180]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0xa8]
mulss xmm0, dword [0x140048cb0]
movss dword [rsp + 0xac], xmm0
cvtsd2ss xmm0, qword [rsp + 0x78]
movss xmm1, dword [rsp + 0xac]
divss xmm1, dword [0x140048cd4]
subss xmm0, xmm1
movss dword [rsp + 0x3c0], xmm0
cvtsd2ss xmm0, qword [rsp + 0x180]
movss dword [rsp + 0x3c4], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x190], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x194], eax
movsd xmm0, qword [rsp + 0x80]
subsd xmm0, qword [rsp + 0x180]
call fcn.140040e78
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
mulss xmm0, dword [0x14005516c]
movss dword [rsp + 0x48], xmm0
cvtsi2ss xmm0, dword [0x140056a94]
comiss xmm0, dword [rsp + 0x58]
jbe 0x14003be7b
movzx eax, byte [0x140057308]
test eax, eax
je 0x14003ad85
movzx eax, byte [0x14005730a]
test eax, eax
je 0x14003ad85
movzx eax, byte [0x14005730a]
test eax, eax
je 0x14003ad85
mov rcx, qword [rsp + 0x40]
call fcn.14003e98c
movzx eax, al
test eax, eax
je 0x14003ad85
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140057e28]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057e28]
mov esi, 4
imul rsi, rsi, 0
lea r8, [0x140057e28]
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rcx + rax]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [r8 + rsi]
lea rcx, [rsp + 0x540]
call fcn.14003797c
lea rcx, [rsp + 0x540]
call fcn.140038678
mov dword [rsp + 0xb0], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x48]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x48]
divss xmm0, dword [0x140048cdc]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xb0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c6f8
mov rcx, qword [rsp + 0x40]
call fcn.14003e98c
movzx eax, al
test eax, eax
jne 0x14003ad85
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140057e48]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057e48]
mov esi, 4
imul rsi, rsi, 0
lea r8, [0x140057e48]
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rcx + rax]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [r8 + rsi]
lea rcx, [rsp + 0x550]
call fcn.14003797c
lea rcx, [rsp + 0x550]
call fcn.140038678
mov dword [rsp + 0xb4], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x48]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x48]
divss xmm0, dword [0x140048cdc]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xb4]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c6f8
movzx eax, byte [0x14005730b]
test eax, eax
je 0x14003be7b
mov rcx, qword [rsp + 0x40]
call fcn.14003e98c
movzx eax, al
test eax, eax
je 0x14003ae72
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140057e28]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057e28]
mov esi, 4
imul rsi, rsi, 0
lea r8, [0x140057e28]
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rcx + rax]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [r8 + rsi]
lea rcx, [rsp + 0x560]
call fcn.14003797c
lea rcx, [rsp + 0x560]
call fcn.140038678
mov dword [rsp + 0xb8], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x48]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x48]
divss xmm0, dword [0x140048cdc]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xb8]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140038eac
mov rcx, qword [rsp + 0x40]
call fcn.14003e98c
movzx eax, al
test eax, eax
jne 0x14003af50
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140057e48]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057e48]
mov esi, 4
imul rsi, rsi, 0
lea r8, [0x140057e48]
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rcx + rax]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [r8 + rsi]
lea rcx, [rsp + 0x570]
call fcn.14003797c
lea rcx, [rsp + 0x570]
call fcn.140038678
mov dword [rsp + 0xbc], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x48]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x48]
divss xmm0, dword [0x140048cdc]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xbc]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140038eac
movzx eax, byte [0x140057314]
test eax, eax
je 0x14003ba28
cvtsi2ss xmm0, dword [0x140056a94]
comiss xmm0, dword [rsp + 0x58]
jbe 0x14003ba28
mov r8d, 0x44
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x880]
call fcn.14003e1a4
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x860]
mov rdi, rax
mov rsi, qword [rsp + 0x240]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0xc18]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x880]
call fcn.140033abc
mov r8d, 7
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x8c0]
call fcn.14003e1a4
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x8a0]
mov rdi, rax
mov rsi, qword [rsp + 0x250]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x8a0]
lea rcx, [rsp + 0x160]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x8c0]
call fcn.140033abc
mov r8d, 0x43
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x900]
call fcn.14003e1a4
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x8e0]
mov rdi, rax
mov rsi, qword [rsp + 0x260]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x8e0]
lea rcx, [rsp + 0x148]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x900]
call fcn.140033abc
mov r8d, 9
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x940]
call fcn.14003e1a4
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x920]
mov rdi, rax
mov rsi, qword [rsp + 0x270]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x920]
lea rcx, [rsp + 0x470]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x940]
call fcn.140033abc
mov r8d, 0x26
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x980]
call fcn.14003e1a4
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x960]
mov rdi, rax
mov rsi, qword [rsp + 0x280]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x960]
lea rcx, [rsp + 0x458]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x980]
call fcn.140033abc
mov r8d, 0x1e
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x9c0]
call fcn.14003e1a4
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x9a0]
mov rdi, rax
mov rsi, qword [rsp + 0x290]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x9a0]
lea rcx, [rsp + 0x440]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0x9c0]
call fcn.140033abc
mov r8d, 0x3a
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa00]
call fcn.14003e1a4
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x9e0]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x9e0]
lea rcx, [rsp + 0x428]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xa00]
call fcn.140033abc
mov r8d, 0xb
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa40]
call fcn.14003e1a4
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
lea rax, [rsp + 0xa20]
mov rdi, rax
mov rsi, qword [rsp + 0x2b0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa20]
lea rcx, [rsp + 0x4e8]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xa40]
call fcn.140033abc
mov r8d, 0x28
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa80]
call fcn.14003e1a4
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x2c0], rax
lea rax, [rsp + 0xa60]
mov rdi, rax
mov rsi, qword [rsp + 0x2c0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa60]
lea rcx, [rsp + 0x4d0]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xa80]
call fcn.140033abc
mov r8d, 0x4a
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xac0]
call fcn.14003e1a4
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x2d0], rax
lea rax, [rsp + 0xaa0]
mov rdi, rax
mov rsi, qword [rsp + 0x2d0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xaa0]
lea rcx, [rsp + 0x410]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xac0]
call fcn.140033abc
mov r8d, 0x47
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb00]
call fcn.14003e1a4
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
lea rax, [rsp + 0xae0]
mov rdi, rax
mov rsi, qword [rsp + 0x2e0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xae0]
lea rcx, [rsp + 0x3f8]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xb00]
call fcn.140033abc
mov r8d, 0x4f
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb40]
call fcn.14003e1a4
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f0], rax
lea rax, [rsp + 0xb20]
mov rdi, rax
mov rsi, qword [rsp + 0x2f0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb20]
lea rcx, [rsp + 0x3e0]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xb40]
call fcn.140033abc
mov r8d, 0x48
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb80]
call fcn.14003e1a4
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
lea rax, [rsp + 0xb60]
mov rdi, rax
mov rsi, qword [rsp + 0x300]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb60]
lea rcx, [rsp + 0x3c8]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xb80]
call fcn.140033abc
mov r8d, 0x4a
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xbc0]
call fcn.14003e1a4
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x310], rax
lea rax, [rsp + 0xba0]
mov rdi, rax
mov rsi, qword [rsp + 0x310]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xba0]
lea rcx, [rsp + 0x4b8]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xbc0]
call fcn.140033abc
mov r8d, 0x51
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xc00]
call fcn.14003e1a4
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
lea rax, [rsp + 0xbe0]
mov rdi, rax
mov rsi, qword [rsp + 0x320]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xbe0]
lea rcx, [rsp + 0x518]
call fcn.14003f5b4
nop
lea rcx, [rsp + 0xc00]
call fcn.140033abc
cvttsd2si eax, qword [rsp + 0x150]
cvttsd2si ecx, qword [rsp + 0x148]
cvttsd2si edx, qword [rsp + 0x168]
cvttsd2si edi, qword [rsp + 0x160]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x150]
cvttsd2si ecx, qword [rsp + 0x148]
cvttsd2si edx, qword [rsp + 0x478]
cvttsd2si edi, qword [rsp + 0x470]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x150]
cvttsd2si ecx, qword [rsp + 0x148]
cvttsd2si edx, qword [rsp + 0x460]
cvttsd2si edi, qword [rsp + 0x458]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x478]
cvttsd2si ecx, qword [rsp + 0x470]
cvttsd2si edx, qword [rsp + 0x448]
cvttsd2si edi, qword [rsp + 0x440]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x460]
cvttsd2si ecx, qword [rsp + 0x458]
cvttsd2si edx, qword [rsp + 0x430]
cvttsd2si edi, qword [rsp + 0x428]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x4f0]
cvttsd2si ecx, qword [rsp + 0x4e8]
cvttsd2si edx, qword [rsp + 0x448]
cvttsd2si edi, qword [rsp + 0x440]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x4d8]
cvttsd2si ecx, qword [rsp + 0x4d0]
cvttsd2si edx, qword [rsp + 0x430]
cvttsd2si edi, qword [rsp + 0x428]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x168]
cvttsd2si ecx, qword [rsp + 0x160]
cvttsd2si edx, qword [rsp + 0x400]
cvttsd2si edi, qword [rsp + 0x3f8]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x168]
cvttsd2si ecx, qword [rsp + 0x160]
cvttsd2si edx, qword [rsp + 0x418]
cvttsd2si edi, qword [rsp + 0x410]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x400]
cvttsd2si ecx, qword [rsp + 0x3f8]
cvttsd2si edx, qword [rsp + 0x3d0]
cvttsd2si edi, qword [rsp + 0x3c8]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x418]
cvttsd2si ecx, qword [rsp + 0x410]
cvttsd2si edx, qword [rsp + 0x3e8]
cvttsd2si edi, qword [rsp + 0x3e0]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x3d0]
cvttsd2si ecx, qword [rsp + 0x3c8]
cvttsd2si edx, qword [rsp + 0x4c0]
cvttsd2si edi, qword [rsp + 0x4b8]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
cvttsd2si eax, qword [rsp + 0x3e8]
cvttsd2si ecx, qword [rsp + 0x3e0]
cvttsd2si edx, qword [rsp + 0x520]
cvttsd2si edi, qword [rsp + 0x518]
mov dword [rsp + 0x28], 2
lea rsi, [0x1400552b0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14003c5c4
nop
lea rcx, [rsp + 0x518]
call fcn.140033abc
nop
lea rcx, [rsp + 0x4b8]
call fcn.140033abc
nop
lea rcx, [rsp + 0x3c8]
call fcn.140033abc
nop
lea rcx, [rsp + 0x3e0]
call fcn.140033abc
nop
lea rcx, [rsp + 0x3f8]
call fcn.140033abc
nop
lea rcx, [rsp + 0x410]
call fcn.140033abc
nop
lea rcx, [rsp + 0x4d0]
call fcn.140033abc
nop
lea rcx, [rsp + 0x4e8]
call fcn.140033abc
nop
lea rcx, [rsp + 0x428]
call fcn.140033abc
nop
lea rcx, [rsp + 0x440]
call fcn.140033abc
nop
lea rcx, [rsp + 0x458]
call fcn.140033abc
nop
lea rcx, [rsp + 0x470]
call fcn.140033abc
nop
lea rcx, [rsp + 0x148]
call fcn.140033abc
nop
lea rcx, [rsp + 0x160]
call fcn.140033abc
nop
lea rcx, [rsp + 0xc18]
call fcn.140033abc
movzx eax, byte [0x140057313]
movzx eax, byte [0x140057326]
test eax, eax
je 0x14003baa1
cvttsd2si eax, qword [rsp + 0xf8]
mov dword [rsp + 0xc0], eax
cvttsd2si ecx, qword [rsp + 0xf0]
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xc4], eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 2
lea rdx, [0x1400553a0]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0xc0]
mov r9d, edx
mov r8d, ecx
mov ecx, dword [rsp + 0xc4]
mov edx, ecx
mov ecx, eax
call fcn.14003c5c4
movzx eax, byte [0x140057327]
test eax, eax
je 0x14003bb4c
mov rcx, qword [rsp + 0x40]
call fcn.140041f78
movzx eax, al
test eax, eax
je 0x14003bafe
cvttsd2si eax, qword [rsp + 0xf8]
cvttsd2si ecx, qword [rsp + 0xf0]
mov dword [rsp + 0x28], 2
lea rdx, [0x140055300]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8d, ecx
mov edx, dword [0x14005740c]
mov ecx, dword [0x140057408]
call fcn.14003c5c4
mov rcx, qword [rsp + 0x40]
call fcn.140041f78
movzx eax, al
test eax, eax
jne 0x14003bb4c
cvttsd2si eax, qword [rsp + 0xf8]
cvttsd2si ecx, qword [rsp + 0xf0]
mov dword [rsp + 0x28], 2
lea rdx, [0x1400552b0]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8d, ecx
mov edx, dword [0x14005740c]
mov ecx, dword [0x140057408]
call fcn.14003c5c4
movzx eax, byte [0x140057324]
test eax, eax
je 0x14003bc13
mov dword [rsp + 0xc8], 0xfffc1803
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x48]
cvttsd2si edx, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0x48]
divss xmm0, dword [0x140048cdc]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0xf0]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xc8]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140038eac
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x48]
cvttsd2si edx, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0x48]
divss xmm0, dword [0x140048cdc]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0xf0]
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.14003c51c
movzx eax, byte [0x14005731a]
test eax, eax
je 0x14003be1e
mov rcx, qword [rsp + 0x40]
call fcn.140041f78
movzx eax, al
test eax, eax
je 0x14003bd20
lea rdx, [0x14004d914]
lea rcx, [rsp + 0xca0]
call fcn.140037190
cvtss2sd xmm0, dword [rsp + 0x58]
movsd qword [rsp + 0x328], xmm0
lea rcx, [rsp + 0xca0]
call fcn.140041850
movsd xmm0, qword [rsp + 0x328]
movaps xmm2, xmm0
movq r8, xmm2
mov rdx, rax
lea rcx, [rsp + 0xcf0]
call fcn.140034ee0
movsd xmm0, qword [rsp + 0x80]
subsd xmm0, qword [0x14004ec00]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x78]
movaps xmm2, xmm0
lea rcx, [rsp + 0x620]
call fcn.1400379f0
mov qword [rsp + 0x330], rax
lea rdx, [rsp + 0xcf0]
lea rcx, [rsp + 0xca8]
call fcn.140037490
nop
mov rax, qword [0x140057338]
mov qword [rsp + 0x338], rax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xff00ff00
movss xmm3, dword [0x14004d220]
mov r8, qword [rsp + 0x330]
lea rdx, [rsp + 0xca8]
mov rcx, qword [rsp + 0x338]
call fcn.14003d3ec
nop
lea rcx, [rsp + 0xca8]
call fcn.140037ff4
mov rcx, qword [rsp + 0x40]
call fcn.140041f78
movzx eax, al
test eax, eax
jne 0x14003be1e
lea rdx, str._.fm_n
lea rcx, [rsp + 0xc98]
call fcn.140037190
cvtss2sd xmm0, dword [rsp + 0x58]
movsd qword [rsp + 0x340], xmm0
lea rcx, [rsp + 0xc98]
call fcn.140041850
movsd xmm0, qword [rsp + 0x340]
movaps xmm2, xmm0
movq r8, xmm2
mov rdx, rax
lea rcx, [rsp + 0xd30]
call fcn.140034ee0
movsd xmm0, qword [rsp + 0x80]
subsd xmm0, qword [0x14004ec00]
cvtsd2ss xmm0, xmm0
cvtsd2ss xmm1, qword [rsp + 0x78]
movaps xmm2, xmm0
lea rcx, [rsp + 0x628]
call fcn.1400379f0
mov qword [rsp + 0x348], rax
lea rdx, [rsp + 0xd30]
lea rcx, [rsp + 0xcc8]
call fcn.140037490
nop
mov rax, qword [0x140057338]
mov qword [rsp + 0x350], rax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xff0000ff
movss xmm3, dword [0x14004d220]
mov r8, qword [rsp + 0x348]
lea rdx, [rsp + 0xcc8]
mov rcx, qword [rsp + 0x350]
call fcn.14003d3ec
nop
lea rcx, [rsp + 0xcc8]
call fcn.140037ff4
movzx eax, byte [0x140057310]
test eax, eax
je 0x14003be7b
cvttsd2si eax, qword [rsp + 0x180]
mov dword [rsp + 0xcc], eax
cvttsd2si ecx, qword [rsp + 0x178]
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 2
lea rdx, [0x140055490]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0xcc]
mov r9d, edx
mov r8d, ecx
mov edx, dword [0x14005740c]
mov ecx, eax
call fcn.14003c5c4
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x500]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x140], xmm0
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x508]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x128], xmm0
movsd xmm0, qword [rsp + 0x140]
mulsd xmm0, qword [rsp + 0x140]
movsd xmm1, qword [rsp + 0x128]
mulsd xmm1, qword [rsp + 0x128]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss dword [rsp + 0x64], xmm0
movzx eax, byte [0x140057303]
test eax, eax
je 0x14003bf20
mov edx, 0x11
mov rcx, qword [0x140057d90]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rcx, qword [rsp + 0x40]
call fcn.140041f78
movzx eax, al
test eax, eax
je 0x14003bf66
movss xmm0, dword [0x14005517c]
comiss xmm0, dword [rsp + 0x64]
jbe 0x14003bf66
movss xmm0, dword [rsp + 0x70]
comiss xmm0, dword [rsp + 0x64]
jbe 0x14003bf66
movss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x500]
call fcn.140033abc
nop
lea rcx, [rsp + 0x670]
call fcn.140033abc
nop
lea rcx, [rsp + 0xf0]
call fcn.140033abc
nop
lea rcx, [rsp + 0x78]
call fcn.140033abc
nop
lea rcx, [rsp + 0x178]
call fcn.140033abc
nop
lea rcx, [rsp + 0x5c0]
call fcn.140033abc
nop
lea rcx, [rsp + 0x688]
call fcn.140033abc
nop
lea rcx, [rsp + 0x658]
call fcn.140033abc
nop
lea rcx, [rsp + 0x6a0]
call fcn.140033abc
nop
lea rcx, [rsp + 0x4a0]
call fcn.140033abc
nop
lea rcx, [rsp + 0x6b8]
call fcn.140033abc
nop
lea rcx, [rsp + 0x110]
call fcn.140033abc
nop
lea rcx, [rsp + 0x488]
call fcn.140038124
jmp 0x14003a5a2
movzx eax, byte [0x140057311]
test eax, eax
je 0x14003c05c
movzx eax, byte [0x140057311]
test eax, eax
je 0x14003c05c
cmp qword [rsp + 0xe8], 0
je 0x14003c05c
mov ecx, dword [0x140057414]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14003c05c
mov rcx, qword [rsp + 0xe8]
call fcn.140038c00
movzx eax, byte [0x140057312]
test eax, eax
je 0x14003c4e4
call fcn.140009ea4
mov qword [rsp + 0x368], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x140057dc8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057dc8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x140057dc8]
movss xmm0, dword [0x140048cdc]
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.140037a28
lea rcx, [rsp + 0x580]
call fcn.1400096f0
mov dword [rsp + 0xd0], eax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x630]
call fcn.1400379f0
mov qword [rsp + 0x358], rax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x638]
call fcn.1400379f0
mov qword [rsp + 0x360], rax
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x358]
mov rdx, qword [rsp + 0x360]
mov rcx, qword [rsp + 0x368]
call fcn.1400145d0
call fcn.140009ea4
mov qword [rsp + 0x380], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x140057dc8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057dc8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x140057dc8]
movss xmm0, dword [0x140048cdc]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x590]
call fcn.140037a28
lea rcx, [rsp + 0x590]
call fcn.1400096f0
mov dword [rsp + 0xd4], eax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x640]
call fcn.1400379f0
mov qword [rsp + 0x370], rax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x5d8]
call fcn.1400379f0
mov qword [rsp + 0x378], rax
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xd4]
mov r8, qword [rsp + 0x370]
mov rdx, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x380]
call fcn.1400145d0
call fcn.140009ea4
mov qword [rsp + 0x398], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x140057dc8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057dc8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x140057dc8]
movss xmm0, dword [0x140048cdc]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x5a0]
call fcn.140037a28
lea rcx, [rsp + 0x5a0]
call fcn.1400096f0
mov dword [rsp + 0xd8], eax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x648]
call fcn.1400379f0
mov qword [rsp + 0x388], rax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x650]
call fcn.1400379f0
mov qword [rsp + 0x390], rax
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xd8]
mov r8, qword [rsp + 0x388]
mov rdx, qword [rsp + 0x390]
mov rcx, qword [rsp + 0x398]
call fcn.1400145d0
call fcn.140009ea4
mov qword [rsp + 0x3b0], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x140057dc8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x140057dc8]
mov esi, 4
imul rsi, rsi, 2
lea r8, [0x140057dc8]
movss xmm0, dword [0x140048cdc]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [r8 + rsi]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [rcx + rax]
lea rcx, [rsp + 0x5b0]
call fcn.140037a28
lea rcx, [rsp + 0x5b0]
call fcn.1400096f0
mov dword [rsp + 0xdc], eax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x530]
call fcn.1400379f0
mov qword [rsp + 0x3a0], rax
mov eax, dword [0x14005740c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x140057408]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x538]
call fcn.1400379f0
mov qword [rsp + 0x3a8], rax
movss xmm0, dword [0x140048cd4]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xdc]
mov r8, qword [rsp + 0x3a0]
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x3b0]
call fcn.1400145d0
nop
lea rcx, [rsp + 0xc60]
call fcn.14003816c
nop
lea rcx, [rsp + 0x6d0]
call fcn.140038124
mov rcx, qword [rsp + 0xd70]
xor rcx, rsp
call fcn.140045d50
add rsp, 0xd88
pop rdi
pop rsi
ret