Function at 0x18016c520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x248
mov rax, qword [0x1802ae740]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword [0x1802e4d90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x260]
mov byte [rax + 0x6b], 0
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x21], 0
lea r9, [fcn.18017bcf0]
mov r8d, 3
mov edx, recv
lea rcx, [rsp + 0x1f8]
call fcn.18009a490
mov dword [rsp + 0x48], 0
jmp 0x18016c598
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x260]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jge 0x18016c7bf
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x130], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.1801219c0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x260]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 8], ecx
jl 0x18016c5f4
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x24]
test eax, eax
je 0x18016c662
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
cmp dword [rax + 0x20], ecx
jne 0x18016c617
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
cmp dword [rax + 0x18], ecx
jne 0x18016c63a
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
cmp dword [rax + 0x1c], ecx
jne 0x18016c65d
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x1c], 0
jmp 0x18016c58e
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x28], eax
je 0x18016c6d8
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x138], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x138]
call fcn.1801219c0
lea rcx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x140], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x140]
call fcn.1801219c0
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x148], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x148]
call fcn.1801219c0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x22], cx
mov rcx, qword [rsp + 0x68]
call fcn.18016e290
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x28], 0
jle 0x18016c78e
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x150], rax
mov eax, dword [rsp + 0x28]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x150]
call fcn.1801219c0
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.18016e290
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x64], 0
jne 0x18016c778
cmp dword [rsp + 0x90], 0
je 0x18016c778
mov byte [rsp + 0x21], 1
cmp dword [rsp + 0x90], 2
jne 0x18016c78e
cmp dword [rsp + 0x64], 2
je 0x18016c78e
mov byte [rsp + 0x21], 1
movsxd rax, dword [rsp + 0x64]
imul rax, rax, 0xc
mov eax, dword [rsp + rax + 0x1f8]
inc eax
movsxd rcx, dword [rsp + 0x64]
imul rcx, rcx, 0xc
mov dword [rsp + rcx + 0x1f8], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x18016c58e
mov rax, qword [rsp + 0x260]
mov ecx, dword [rsp + 0x28]
cmp dword [rax], ecx
je 0x18016c7f0
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x160], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x160]
call fcn.180146910
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18016c825
mov rax, qword [rsp + 0x260]
movsxd rax, dword [rax]
lea r9, [0x18016e2f0]
mov r8d, 0x28
mov rdx, rax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 8]
call fcn.1801aa6b0
mov eax, recv
imul rax, rax, 0
cmp dword [rsp + rax + 0x1f8], 0
jle 0x18016c874
mov eax, recv
imul rax, rax, 1
mov ecx, recv
imul rcx, rcx, 2
mov eax, dword [rsp + rax + 0x1f8]
add eax, dword [rsp + rcx + 0x1f8]
test eax, eax
jle 0x18016c874
mov rax, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 0x15c4]
vmovss dword [rsp + 0x94], xmm0
jmp 0x18016c881
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x94], xmm0
mov eax, recv
imul rax, rax, 0
vmovss xmm0, dword [rsp + 0x94]
vmovss dword [rsp + rax + 0x200], xmm0
mov eax, recv
imul rax, rax, 1
cmp dword [rsp + rax + 0x1f8], 0
jle 0x18016c8da
mov eax, recv
imul rax, rax, 2
cmp dword [rsp + rax + 0x1f8], 0
jle 0x18016c8da
mov rax, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 0x15c4]
vmovss dword [rsp + 0x98], xmm0
jmp 0x18016c8e7
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x98], xmm0
mov eax, recv
imul rax, rax, 1
vmovss xmm0, dword [rsp + 0x98]
vmovss dword [rsp + rax + 0x200], xmm0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x1c], 0
je 0x18016c94c
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
mov ecx, dword [rcx + 0x1c]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x1c], 0
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x64], 0
je 0x18016c9a4
mov rcx, qword [rsp + 0x260]
call fcn.180158bb0
movzx eax, al
test eax, eax
je 0x18016c995
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
mov ecx, dword [rcx + 0x18]
cmp dword [rax + 0x64], ecx
jne 0x18016c995
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x64]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x10]
and eax, 4
test eax, eax
je 0x18016c9bd
mov byte [rsp + 0x22], 1
jmp 0x18016c9c2
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x18016ca18
mov rcx, qword [rsp + 0x260]
call fcn.18016e010
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x18016ca18
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x118]
mov ecx, dword [rcx]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x220], 0
mov eax, recv
imul rax, rax, 0
mov ecx, recv
imul rcx, rcx, 2
mov eax, dword [rsp + rax + 0x1f8]
add eax, dword [rsp + rcx + 0x1f8]
mov dword [rsp + 0x224], eax
mov eax, recv
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x1f8]
mov dword [rsp + 0x228], eax
mov rax, qword [rsp + 0x30]
add rax, 0x2110
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x260]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x168]
call fcn.180125060
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xa0], 0xffffffff
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x50], 0
jmp 0x18016cabb
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x260]
mov eax, dword [rax]
cmp dword [rsp + 0x50], eax
jge 0x18016cd39
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x170], rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x170]
call fcn.1801219c0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0xc8], 0
je 0x18016cb15
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
cmp dword [rax + 0xc], ecx
jge 0x18016cb33
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0x200000
test eax, eax
jne 0x18016cb33
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x260]
mov ecx, dword [rcx + 0x18]
cmp dword [rax], ecx
jne 0x18016cb4c
mov byte [rsp + 0x24], 1
cmp dword [rsp + 0x2c], 0
jne 0x18016cb72
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx]
cmp dword [rax + 0x1e3c], ecx
jne 0x18016cb72
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x260]
call fcn.180122ac0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0x100000
test eax, eax
je 0x18016cba4
mov byte [rsp + 0x23], 0
jmp 0x18016cba9
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x39], al
movzx r8d, byte [rsp + 0x39]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x1c0]
call fcn.180159ae0
mov rcx, qword [rsp + 0x40]
vmovss xmm0, dword [rax]
vmovss dword [rcx + 0x18], xmm0
mov rcx, qword [rsp + 0x40]
call fcn.18016e290
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x4c]
imul rax, rax, 0xc
lea rax, [rsp + rax + 0x1f8]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x4c], eax
jne 0x18016cc27
mov rax, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 0x15c4]
vmovss dword [rsp + 0x9c], xmm0
jmp 0x18016cc34
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x9c], xmm0
mov rax, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 0x18]
vaddss xmm0, xmm0, dword [rsp + 0x9c]
mov rax, qword [rsp + 0x120]
vmovss xmm1, dword [rax + 4]
vaddss xmm0, xmm1, xmm0
mov rax, qword [rsp + 0x120]
vmovss dword [rax + 4], xmm0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0xa0], eax
movsxd rax, dword [rsp + 0x4c]
mov eax, dword [rsp + rax*4 + 0x220]
mov dword [rsp + 0xf8], eax
movsxd rax, dword [rsp + 0x4c]
mov eax, dword [rsp + rax*4 + 0x220]
inc eax
movsxd rcx, dword [rsp + 0x4c]
mov dword [rsp + rcx*4 + 0x220], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x30]
add rax, 0x2110
mov qword [rsp + 0x180], rax
mov edx, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x180]
call fcn.180121880
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 0x18]
vmovss dword [rsp + 0xf4], xmm0
mov rax, qword [rsp + 0x30]
add rax, 0x2110
mov qword [rsp + 0x188], rax
mov edx, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x188]
call fcn.180121880
vmovss xmm0, dword [rsp + 0xf4]
vmovss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
vmovss xmm0, dword [rcx + 0x18]
vmovss dword [rax + 0x14], xmm0
jmp 0x18016cab1
mov rax, qword [rsp + 0x260]
vxorps xmm0, xmm0, xmm0
vmovss dword [rax + 0x48], xmm0
mov dword [rsp + 0x54], 0
jmp 0x18016cd5e
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 3
jge 0x18016cda9
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0xc
movsxd rcx, dword [rsp + 0x54]
imul rcx, rcx, 0xc
vmovss xmm0, dword [rsp + rax + 0x1fc]
vaddss xmm0, xmm0, dword [rsp + rcx + 0x200]
mov rax, qword [rsp + 0x260]
vmovss xmm1, dword [rax + 0x48]
vaddss xmm0, xmm1, xmm0
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x48], xmm0
jmp 0x18016cd54
mov rax, qword [rsp + 0x260]
add rax, 0x2c
mov rcx, rax
call fcn.180122b00
mov rax, qword [rsp + 0x260]
vcomiss xmm0, dword [rax + 0x48]
jae 0x18016ce54
mov rax, qword [rsp + 0x260]
cmp dword [rax], 1
jle 0x18016ce54
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x10]
and eax, 0x10
test eax, eax
jne 0x18016ce54
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x10]
and eax, 0x80
test eax, eax
je 0x18016ce54
mov rcx, qword [rsp + 0x260]
call fcn.18016dbf0
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x18016ce54
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 4]
and eax, 0x200000
test eax, eax
jne 0x18016ce54
mov rax, qword [rsp + 0x260]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x18], ecx
mov eax, recv
imul rax, rax, 0
mov ecx, recv
imul rcx, rcx, 0
vmovss xmm0, dword [rsp + rax + 0x1fc]
vaddss xmm0, xmm0, dword [rsp + rcx + 0x200]
vmovss dword [rsp + 0x70], xmm0
mov eax, recv
imul rax, rax, 1
mov ecx, recv
imul rcx, rcx, 1
vmovss xmm0, dword [rsp + rax + 0x1fc]
vaddss xmm0, xmm0, dword [rsp + rcx + 0x200]
vmovss dword [rsp + 0xf0], xmm0
mov eax, recv
imul rax, rax, 2
mov ecx, recv
imul rcx, rcx, 2
vmovss xmm0, dword [rsp + rax + 0x1fc]
vaddss xmm0, xmm0, dword [rsp + rcx + 0x200]
vmovss dword [rsp + 0x74], xmm0
vmovss xmm0, dword [rsp + 0x70]
vaddss xmm0, xmm0, dword [rsp + 0x74]
vmovss dword [rsp + 0xec], xmm0
mov rax, qword [rsp + 0x260]
add rax, 0x2c
mov rcx, rax
call fcn.180122b00
vmovss xmm1, dword [rsp + 0xec]
vcomiss xmm1, xmm0
jae 0x18016cf1a
mov dword [rsp + 0xc0], 1
jmp 0x18016cf25
mov dword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18016cf78
mov rax, qword [rsp + 0x260]
add rax, 0x2c
mov rcx, rax
call fcn.180122b00
vsubss xmm0, xmm0, dword [rsp + 0x70]
vsubss xmm0, xmm0, dword [rsp + 0x74]
vmovss xmm1, dword [rsp + 0xf0]
vsubss xmm0, xmm1, xmm0
vxorps xmm1, xmm1, xmm1
call fcn.180155dc0
vmovss dword [rsp + 0x78], xmm0
jmp 0x18016cfb4
vmovss xmm0, dword [rsp + 0x70]
vaddss xmm0, xmm0, dword [rsp + 0x74]
vmovss dword [rsp + 0xfc], xmm0
mov rax, qword [rsp + 0x260]
add rax, 0x2c
mov rcx, rax
call fcn.180122b00
vmovss xmm1, dword [rsp + 0xfc]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x78], xmm0
vmovss xmm0, dword [rsp + 0x78]
vcomiss xmm0, dword [0x1801e03b4]
jbe 0x18016d1e9
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x10]
and eax, 0x40
test eax, eax
jne 0x18016cfe7
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18016d1e9
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18016d009
mov eax, recv
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x1f8]
mov dword [rsp + 0xa8], eax
jmp 0x18016d030
mov eax, recv
imul rax, rax, 0
mov ecx, recv
imul rcx, rcx, 2
mov eax, dword [rsp + rax + 0x1f8]
add eax, dword [rsp + rcx + 0x1f8]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xb0], eax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18016d070
mov eax, recv
imul rax, rax, 0
mov ecx, recv
imul rcx, rcx, 2
mov eax, dword [rsp + rax + 0x1f8]
add eax, dword [rsp + rcx + 0x1f8]
mov dword [rsp + 0xac], eax
jmp 0x18016d07b
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x7c], eax
movsxd rax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x2118]
lea rax, [rcx + rax*8]
vmovss xmm2, dword [rsp + 0x78]
mov edx, dword [rsp + 0xb0]
mov rcx, rax
call fcn.180156220
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x58], eax
jmp 0x18016d0c4
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x58], eax
jge 0x18016d1e9
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x30]
add rax, 0x2110
mov qword [rsp + 0x190], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x190]
call fcn.180121880
mov edx, dword [rax]
mov rcx, qword [rsp + 0x198]
call fcn.1801219c0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x30]
add rax, 0x2110
mov qword [rsp + 0x1a0], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1a0]
call fcn.180121880
vcvttss2si eax, dword [rax + 4]
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [rsp + 0x80], xmm0
vmovss xmm0, dword [rsp + 0x80]
vcomiss xmm0, dword [0x1801e03b4]
jae 0x18016d176
jmp 0x18016d0ba
mov rcx, qword [rsp + 0x108]
call fcn.18016e290
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x108]
vmovss xmm0, dword [rax + 0x14]
vsubss xmm0, xmm0, dword [rsp + 0x80]
movsxd rax, dword [rsp + 0xb4]
imul rax, rax, 0xc
vmovss xmm1, dword [rsp + rax + 0x1fc]
vsubss xmm0, xmm1, xmm0
movsxd rax, dword [rsp + 0xb4]
imul rax, rax, 0xc
vmovss dword [rsp + rax + 0x1fc], xmm0
mov rax, qword [rsp + 0x108]
vmovss xmm0, dword [rsp + 0x80]
vmovss dword [rax + 0x14], xmm0
jmp 0x18016d0ba
mov dword [rsp + 0x84], 0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x260]
vxorps xmm0, xmm0, xmm0
vmovss dword [rax + 0x44], xmm0
mov dword [rsp + 0x5c], 0
jmp 0x18016d223
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 3
jge 0x18016d3fb
movsxd rax, dword [rsp + 0x5c]
imul rax, rax, 0xc
lea rax, [rsp + rax + 0x1f8]
mov qword [rsp + 0x88], rax
cmp dword [rsp + 0x5c], 2
jne 0x18016d28d
mov rax, qword [rsp + 0x260]
add rax, 0x2c
mov rcx, rax
call fcn.180122b00
mov rax, qword [rsp + 0x88]
vsubss xmm0, xmm0, dword [rax + 4]
vmovups xmm1, xmm0
vxorps xmm0, xmm0, xmm0
call fcn.180155dc0
vmovss xmm1, dword [rsp + 0x3c]
call fcn.180155d70
vmovss dword [rsp + 0x3c], xmm0
mov dword [rsp + 0x60], 0
jmp 0x18016d2a1
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
cmp dword [rsp + 0x60], eax
jge 0x18016d360
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x1a8]
call fcn.1801219c0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
vmovss xmm0, dword [rsp + 0x3c]
vmovss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
dec eax
cmp dword [rsp + 0x60], eax
jge 0x18016d328
mov rax, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 0x15c4]
vmovss dword [rsp + 0xb8], xmm0
jmp 0x18016d335
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0xb8], xmm0
mov rax, qword [rsp + 0x128]
vmovss xmm0, dword [rax + 0x14]
vaddss xmm0, xmm0, dword [rsp + 0xb8]
vmovss xmm1, dword [rsp + 0x3c]
vaddss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x3c], xmm0
jmp 0x18016d297
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rcx + 8]
vxorps xmm1, xmm1, xmm1
call fcn.180155dc0
vmovss dword [rsp + 0xd4], xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x44]
vmovss dword [rsp + 0xd0], xmm0
vmovss xmm0, dword [rsp + 0xd0]
vaddss xmm0, xmm0, dword [rsp + 0xd4]
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x44], xmm0
mov rax, qword [rsp + 0x88]
vmovss xmm0, dword [rsp + 0x3c]
vaddss xmm0, xmm0, dword [rax + 8]
vmovss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
jmp 0x18016d219
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x18016d413
mov rax, qword [rsp + 0x260]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x18], 0
jne 0x18016d45e
mov rax, qword [rsp + 0x260]
cmp dword [rax + 0x1c], 0
jne 0x18016d45e
cmp qword [rsp + 0xc8], 0
je 0x18016d45e
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x260]
mov byte [rax + 0x6c], 0
cmp dword [rsp + 0x2c], 0
je 0x18016d4a0
lea r8, [rsp + 0x1f8]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x260]
call fcn.18016d970
mov rax, qword [rsp + 0x260]
vmovss xmm1, dword [rax + 0x4c]
mov rcx, qword [rsp + 0x260]
call fcn.18016d910
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x4c], xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm1, dword [rax + 0x50]
mov rcx, qword [rsp + 0x260]
call fcn.18016d910
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x50], xmm0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x50]
vucomiss xmm0, dword [rcx + 0x4c]
je 0x18016d67f
mov rax, qword [rsp + 0x30]
vmovss xmm0, dword [0x1801e7608]
vmulss xmm0, xmm0, dword [rax + 0x1990]
vmovups xmm1, xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x58]
call fcn.180155dc0
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x58], xmm0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x50]
vsubss xmm0, xmm0, dword [rcx + 0x4c]
call fcn.18002ab80
vdivss xmm0, xmm0, dword [0x180278c74]
vmovss dword [rsp + 0xd8], xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x58]
vmovss dword [rsp + 0xdc], xmm0
vmovss xmm1, dword [rsp + 0xd8]
vmovss xmm0, dword [rsp + 0xdc]
call fcn.180155dc0
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x58], xmm0
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0x1ba0]
jl 0x18016d5f5
mov rax, qword [rsp + 0x30]
vmovss xmm0, dword [0x180278df8]
vmulss xmm0, xmm0, dword [rax + 0x1990]
mov rax, qword [rsp + 0x260]
vcomiss xmm0, dword [rax + 0x54]
jb 0x18016d5f5
mov byte [rsp + 0x25], 0
jmp 0x18016d5fa
mov byte [rsp + 0x25], 1
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x3a], al
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x18016d624
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x50]
vmovss dword [rsp + 0xbc], xmm0
jmp 0x18016d667
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x18]
vmulss xmm0, xmm0, dword [rcx + 0x58]
vmovups xmm2, xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm1, dword [rax + 0x50]
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x4c]
call fcn.180155cf0
vmovss dword [rsp + 0xbc], xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rsp + 0xbc]
vmovss dword [rax + 0x4c], xmm0
jmp 0x18016d690
mov rax, qword [rsp + 0x260]
vxorps xmm0, xmm0, xmm0
vmovss dword [rax + 0x58], xmm0
mov eax, recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x260]
vmovss xmm0, dword [rcx + 0x2c]
vaddss xmm0, xmm0, dword [rsp + rax + 0x1fc]
mov eax, recv
imul rax, rax, 0
vaddss xmm0, xmm0, dword [rsp + rax + 0x200]
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x5c], xmm0
mov eax, recv
imul rax, rax, 2
mov rcx, qword [rsp + 0x260]
vmovss xmm0, dword [rcx + 0x34]
vsubss xmm0, xmm0, dword [rsp + rax + 0x1fc]
mov eax, recv
imul rax, rax, 1
vsubss xmm0, xmm0, dword [rsp + rax + 0x200]
mov rax, qword [rsp + 0x260]
vmovss dword [rax + 0x60], xmm0
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x10]
and eax, 0x100000
test eax, eax
jne 0x18016d745
mov rax, qword [rsp + 0x260]
add rax, 0x88
mov qword [rsp + 0x1b0], rax
xor edx, edx
mov rcx, qword [rsp + 0x1b0]
call fcn.180124f70
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1c20]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x2c]
mov rcx, qword [rsp + 0x110]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x7c]
vmovss dword [rsp + 0xe8], xmm0
mov rax, qword [rsp + 0x260]
add rax, 0x2c
mov rcx, rax
call fcn.1801229c0
vmovss dword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x44]
vmovss dword [rsp + 0xe4], xmm0
vmovss xmm2, dword [rsp + 0xe0]
vmovss xmm1, dword [rsp + 0xe4]
lea rcx, [rsp + 0x1c8]
call fcn.1800867a0
mov qword [rsp + 0x1b8], rax
vmovss xmm1, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x1b8]
call fcn.1801096c0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
vmovss xmm0, dword [rax + 0x2c]
vaddss xmm0, xmm0, dword [rcx + 0x48]
vmovups xmm1, xmm0
mov rax, qword [rsp + 0x110]
vmovss xmm0, dword [rax + 0xf8]
call fcn.180155dc0
mov rax, qword [rsp + 0x110]
vmovss dword [rax + 0xf8], xmm0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1801942d0
add rsp, 0x248
pop rdi
pop rsi
ret