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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1802b5380]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor r14d, r14d
xorps xmm11, xmm11
cmp dword [rcx + 0x78], r14d
jge 0x18003250d
mov dword [rbp - 0x50], 0xffffffff
mov qword [rbp - 0x4c], r14
mov dword [rbp - 0x44], r14d
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x58], 0x80000000
lea rdx, [rbp - 0x58]
test byte [rcx + 4], 2
mov dword [rbp - 0x54], 0x1b00d9
je 0x1800324fc
mov dword [rbp - 0x54], 0x20002
add rcx, 0x58
call fcn.1800368a0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x78], eax
mov qword [rdi + 8], r14
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x40], r14
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18003252b
call fcn.1800232a0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x180032539
call fcn.1800232a0
mov qword [rdi + 0x20], r14
mov qword [rdi + 0x28], r14
mov qword [rbp + 8], r14
mov r12, r14
mov qword [rsp + 0x70], r14
mov qword [rbp + 0x10], r14
mov qword [rbp - 0x20], r14
mov rcx, r14
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x18], rcx
mov r15d, dword [rdi + 0x68]
mov dword [rsp + 0x60], r15d
mov eax, 8
test r15d, r15d
jle 0x1800325a3
mov ebx, r15d
cmp r15d, eax
cmovl ebx, eax
test ebx, ebx
jle 0x1800325a3
movsxd rax, ebx
imul rcx, rax, 0x110
call fcn.180023280
mov r12, rax
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x10], rax
mov dword [rbp + 0xc], ebx
mov eax, 8
mov dword [rbp + 8], r15d
mov r13d, dword [rdi + 0x48]
mov dword [rsp + 0x64], r13d
mov rsi, r14
test r13d, r13d
jle 0x1800325e3
mov ebx, r13d
cmp r13d, 8
cmovl ebx, eax
test ebx, ebx
jle 0x1800325e3
movsxd rcx, ebx
shl rcx, 5
call fcn.180023280
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x1c], ebx
mov rsi, rax
xor r14d, r14d
mov dword [rbp - 0x20], r13d
imul eax, r15d, 0x110
movsxd r8, eax
xor edx, edx
mov rcx, r12
call fcn.18007d1c0
mov eax, r13d
shl eax, 5
movsxd r8, eax
xor edx, edx
mov rcx, rsi
call fcn.18007d1c0
mov r12d, r14d
cmp dword [rdi + 0x68], 0
jle 0x18003273a
mov rsi, r14
mov rbx, qword [rsp + 0x70]
add rbx, 0xe4
nop word [rax + rax]
mov r14, qword [rdi + 0x70]
mov dword [rbx - 4], 0xffffffff
xor r8d, r8d
cmp dword [rdi + 0x48], r8d
jle 0x180032733
mov edx, 0xffffffff
xor r9d, r9d
mov eax, edx
cmp edx, 0xffffffff
jne 0x18003267f
mov rax, qword [rdi + 0x50]
mov rcx, qword [r9 + rax]
cmp qword [rsi + r14 + 0x80], rcx
jne 0x180032670
mov dword [rbx - 4], r8d
mov edx, r8d
inc r8d
add r9, 8
mov eax, edx
cmp r8d, dword [rdi + 0x48]
jl 0x180032650
cmp eax, 0xffffffff
je 0x180032733
mov edx, dword [rsi + r14 + 0x10]
mov rcx, qword [rsi + r14]
call fcn.18003ca70
mov r8d, eax
mov rdx, qword [rsi + r14]
lea rcx, [rbx - 0xe4]
call fcn.180037730
test eax, eax
je 0x180032733
movsxd r8, dword [rbx - 4]
shl r8, 5
mov r9, qword [rbp - 0x78]
add r8, r9
mov rax, qword [rsi + r14 + 0x38]
lea rdx, [0x18010497c]
test rax, rax
cmovne rdx, rax
mov qword [rbx - 0xc], rdx
cmp word [rdx], 0
je 0x1800326fc
nop dword [rax]
movzx eax, word [rdx + 2]
test ax, ax
je 0x1800326fc
mov ecx, eax
cmp dword [rbx], eax
cmovge ecx, dword [rbx]
mov dword [rbx], ecx
add rdx, 4
cmp word [rdx], 0
jne 0x1800326e0
inc dword [r8]
mov ecx, dword [rbx]
cmp dword [r8 + 4], ecx
cmovge ecx, dword [r8 + 4]
mov dword [r8 + 4], ecx
inc r12d
add rbx, 0x110
add rsi, 0x88
cmp r12d, dword [rdi + 0x68]
jl 0x180032630
mov r15d, dword [rsp + 0x60]
xor r14d, r14d
jmp 0x18003273e
xor bl, bl
jmp 0x1800337f7
mov r9, qword [rbp - 0x78]
mov r12d, r14d
mov dword [rsp + 0x68], r14d
test r15d, r15d
jle 0x180032a1e
mov r14, qword [rsp + 0x70]
add r14, 0xe8
mov esi, r15d
mov qword [rbp - 0x80], rsi
nop dword [rax]
nop word [rax + rax]
movsxd r15, dword [r14 - 8]
shl r15, 5
add r15, r9
mov ebx, dword [r14 - 4]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r14 + 0xc]
cmp ebx, ecx
jle 0x1800327b6
test ecx, ecx
je 0x18003279c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800327a1
mov eax, 8
lea rdi, [r14 + 8]
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.18002dbc0
jmp 0x1800327ba
lea rdi, [r14 + 8]
mov dword [rdi], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r14 + 0x10]
call fcn.18007d1c0
cmp dword [r15 + 0x10], 0
jne 0x180032821
mov ebx, dword [r15 + 4]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r15 + 0x14]
cmp ebx, ecx
jle 0x18003280b
test ecx, ecx
je 0x1800327f6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800327fb
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r15 + 0x10]
call fcn.18002dbc0
mov dword [r15 + 0x10], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r15 + 0x18]
call fcn.18007d1c0
mov r13, qword [r14 - 0x10]
cmp word [r13], 0
je 0x1800328bb
movzx eax, word [r13 + 2]
test ax, ax
je 0x1800328b7
movzx ebx, word [r13]
cmp ebx, eax
ja 0x1800328a7
nop dword [rax + rax]
mov eax, ebx
sar eax, 5
mov ecx, ebx
and ecx, 0x1f
mov esi, 1
shl esi, cl
movsxd rdi, eax
mov rax, qword [r15 + 0x18]
test dword [rax + rdi*4], esi
jne 0x180032897
lea rcx, [r14 - 0xe8]
mov edx, ebx
call fcn.18003c710
test eax, eax
je 0x180032897
inc dword [r14]
inc dword [r15 + 8]
mov rax, qword [r14 + 0x10]
or dword [rax + rdi*4], esi
mov rax, qword [r15 + 0x18]
or dword [rax + rdi*4], esi
inc r12d
inc ebx
movzx eax, word [r13 + 2]
cmp ebx, eax
jbe 0x180032850
mov dword [rsp + 0x68], r12d
add r13, 4
cmp word [r13], 0
jne 0x180032831
mov rsi, qword [rbp - 0x80]
add r14, 0x110
sub rsi, 1
mov qword [rbp - 0x80], rsi
mov r9, qword [rbp - 0x78]
jne 0x180032770
mov rbx, qword [rsp + 0x70]
add rbx, 0x100
mov r14d, dword [rsp + 0x60]
mov qword [rbp - 0x80], r14
mov r12d, 8
nop
movsxd rdi, dword [rbx - 0x18]
cmp edi, dword [rbx + 4]
jle 0x180032930
mov rcx, rdi
shl rcx, 2
call fcn.180023280
mov rsi, rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x180032929
movsxd r8, dword [rbx]
shl r8, 2
mov rcx, rax
call fcn.18007cb20
mov rcx, qword [rbx + 8]
call fcn.1800232a0
mov qword [rbx + 8], rsi
mov dword [rbx + 4], edi
mov rdx, qword [rbx - 8]
mov qword [rbp - 0x30], rdx
movsxd rax, dword [rbx - 0x10]
lea rax, [rdx + rax*4]
mov qword [rbp - 0x70], rax
mov r15, rdx
cmp rdx, rax
jae 0x1800329e0
mov r13d, dword [r15]
test r13d, r13d
je 0x1800329cf
xor esi, esi
mov edi, 1
nop
test edi, r13d
je 0x1800329c2
lea r14, [r15*8]
lea rax, [rdx*8]
sub r14d, eax
and r14d, 0xffffffe0
add r14d, esi
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800329b5
inc r8d
test ecx, ecx
je 0x18003299c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003299f
mov eax, r12d
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.18002dbc0
mov rdx, qword [rbp - 0x30]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r14d
inc dword [rbx]
inc esi
rol edi, 1
cmp esi, 0x20
jl 0x180032960
mov rax, qword [rbp - 0x70]
add r15, 4
cmp r15, rax
jb 0x180032950
mov r14, qword [rbp - 0x80]
mov rcx, qword [rbx - 8]
test rcx, rcx
je 0x1800329f8
xor edi, edi
mov qword [rbx - 0x10], rdi
call fcn.1800232a0
mov qword [rbx - 8], rdi
add rbx, 0x110
sub r14, 1
mov qword [rbp - 0x80], r14
jne 0x1800328f0
mov r12d, dword [rsp + 0x68]
mov rdi, qword [rbp - 0x60]
mov r13d, dword [rsp + 0x64]
xor r14d, r14d
test r13d, r13d
jle 0x180032a52
mov rbx, qword [rbp - 0x78]
add rbx, 0x18
mov esi, r13d
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x180032a48
mov qword [rbx - 8], 0
call fcn.1800232a0
mov qword [rbx], r14
add rbx, 0x20
sub rsi, 1
jne 0x180032a30
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x180032a76
mov qword [rbp - 0x20], 0
mov rcx, rax
call fcn.1800232a0
mov rax, r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov r15, r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 8], r14
mov qword [rbp - 0x58], 0
mov r13, r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x50], r14
mov eax, 8
test r12d, r12d
jle 0x180032ad2
mov ebx, r12d
cmp r12d, eax
cmovl ebx, eax
test ebx, ebx
jle 0x180032ad2
movsxd rcx, ebx
shl rcx, 4
call fcn.180023280
mov r15, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], ebx
mov eax, 8
mov dword [rbp - 0x10], r12d
mov rsi, r14
test r12d, r12d
jle 0x180032b09
mov ebx, r12d
cmp r12d, 8
cmovl ebx, eax
test ebx, ebx
jle 0x180032b09
movsxd rax, ebx
imul rcx, rax, 0x1c
call fcn.180023280
mov r13, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x54], ebx
mov rsi, rax
mov dword [rbp - 0x58], r12d
mov eax, r12d
shl eax, 4
movsxd r8, eax
xor edx, edx
mov rcx, r15
call fcn.18007d1c0
imul eax, r12d, 0x1c
movsxd r8, eax
xor edx, edx
mov rcx, rsi
call fcn.18007d1c0
mov eax, r14d
mov dword [rsp + 0x68], eax
mov r10d, r14d
mov dword [rbp - 0x34], r14d
mov r11d, r14d
mov dword [rsp + 0x64], r14d
mov r12d, 0x100
movss xmm9, dword [0x180100660]
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jle 0x180032f2d
mov rbx, qword [rsp + 0x70]
add rbx, 0xd0
mov r9d, ecx
mov qword [rbp - 0x30], rcx
movss xmm10, dword [0x180100670]
nop
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180032f01
movsxd rax, r10d
shl rax, 4
add rax, r15
mov qword [rbx - 8], rax
movsxd rax, r11d
imul rdx, rax, 0x1c
add rdx, r13
mov qword [rbx], rdx
add r10d, r8d
mov dword [rbp - 0x34], r10d
add r11d, r8d
mov dword [rsp + 0x64], r11d
mov r15, qword [rdi + 0x70]
mov eax, dword [r14 + r15 + 0x14]
mov dword [rbx - 0x30], eax
xor r13d, r13d
mov dword [rbx - 0x2c], r13d
mov rax, qword [rbx + 0x38]
mov qword [rbx - 0x28], rax
mov esi, dword [rbx + 0x30]
mov dword [rbx - 0x20], esi
mov qword [rbx - 0x18], rdx
movzx eax, byte [r14 + r15 + 0x18]
mov byte [rbx - 0x10], al
movzx eax, byte [r14 + r15 + 0x1c]
mov byte [rbx - 0xf], al
movss xmm8, dword [r14 + r15 + 0x14]
comiss xmm8, xmm11
jbe 0x180032c4a
movsxd r11, dword [rbx - 0xac]
mov r10, qword [rbx - 0xc8]
movzx r8d, byte [r11 + r10 + 5]
movzx edx, byte [r11 + r10 + 4]
movsx ecx, r12w
imul edx, ecx
add r8w, dx
movsx r9d, r8w
movzx r8d, byte [r11 + r10 + 7]
movzx eax, byte [r11 + r10 + 6]
movsx ecx, r12w
imul eax, ecx
add ax, r8w
cwde
sub r9d, eax
movd xmm0, r9d
mov r9, qword [rbp - 0x30]
jmp 0x180032c6f
movsxd rcx, dword [rbx - 0xb4]
mov rax, qword [rbx - 0xc8]
movzx edx, byte [rcx + rax + 0x13]
movzx eax, byte [rcx + rax + 0x12]
shl eax, 8
add edx, eax
xorps xmm8, xmm10
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm8, xmm0
movss xmm0, dword [rdi + 0x1c]
andps xmm0, xmm9
movss xmm1, dword [rdi + 0x18]
andps xmm1, xmm9
maxss xmm1, xmm0
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp - 0x68], eax
mov r12d, r13d
mov dword [rbp - 0x38], r13d
test esi, esi
jle 0x180032ef3
mov rsi, r13
mov rdi, r13
lea rcx, [rbx - 0xd0]
jmp 0x180032cc3
xor r13d, r13d
mov rdx, qword [rbx + 0x38]
mov edx, dword [rdi + rdx]
call fcn.18003c710
movd xmm6, dword [r14 + r15 + 0x1c]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
movd xmm7, dword [r14 + r15 + 0x18]
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm8
lea rcx, [rbx - 0xd0]
mov edx, eax
cmp dword [rbx - 0x84], 0
je 0x180032d5b
mov qword [rbp + 0x60], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x90], r13d
lea r8, [rbp + 0x60]
call fcn.18003aab0
mov r11d, r13d
test eax, eax
cmovne r11d, dword [rbp + 0x78]
mov r12d, r13d
cmovne r12d, dword [rbp + 0x80]
cmovne r13d, dword [rbp + 0x7c]
xor ecx, ecx
test eax, eax
cmovne ecx, dword [rbp + 0x84]
mov dword [rsp + 0x78], ecx
jmp 0x180032df0
call fcn.180037c30
test eax, eax
jns 0x180032d71
mov eax, r13d
mov r8d, r13d
xor edx, edx
jmp 0x180032e73
movsxd r10, eax
mov r9, qword [rbx - 0xc8]
movzx edx, byte [r10 + r9 + 2]
mov r13d, 0x100
movsx ecx, r13w
imul edx, ecx
movzx eax, byte [r10 + r9 + 3]
add dx, ax
movsx r11d, dx
movzx edx, byte [r10 + r9 + 4]
movsx ecx, r13w
imul edx, ecx
movzx eax, byte [r10 + r9 + 5]
add dx, ax
movsx r12d, dx
movzx r8d, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
movsx ecx, r13w
imul edx, ecx
add r8w, dx
movsx r13d, r8w
movzx r8d, byte [r10 + r9 + 9]
movzx eax, byte [r10 + r9 + 8]
mov ecx, 0x100
movsx ecx, cx
imul eax, ecx
add ax, r8w
cwde
mov dword [rsp + 0x78], eax
xorps xmm0, xmm0
cvtsi2ss xmm0, r11d
mulss xmm0, xmm7
addss xmm0, xmm11
call fcn.1800686d0
cvttss2si eax, xmm0
mov dword [rbp], eax
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [rsp + 0x78]
mulss xmm1, xmm6
movaps xmm0, xmm11
subss xmm0, xmm1
call fcn.1800686d0
cvttss2si eax, xmm0
mov dword [rsp + 0x78], eax
xorps xmm0, xmm0
cvtsi2ss xmm0, r13d
mulss xmm0, xmm7
addss xmm0, xmm11
call fcn.180068648
cvttss2si r13d, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm1, r12d
mulss xmm1, xmm6
movaps xmm0, xmm11
subss xmm0, xmm1
call fcn.180068648
cvttss2si edx, xmm0
mov eax, dword [rbp]
mov r8d, dword [rsp + 0x78]
mov r12d, dword [rbp - 0x38]
movzx ecx, word [r14 + r15 + 0x18]
sub cx, ax
mov r9d, dword [rbp - 0x68]
dec cx
add cx, r9w
add cx, r13w
mov rax, qword [rbx - 8]
mov word [rsi + rax + 4], cx
sub dx, r8w
dec dx
add dx, r9w
add dx, word [r14 + r15 + 0x1c]
mov rax, qword [rbx - 8]
mov word [rsi + rax + 6], dx
mov rax, qword [rbx - 8]
movzx ecx, word [rsi + rax + 6]
movzx eax, word [rsi + rax + 4]
imul ecx, eax
mov eax, dword [rsp + 0x68]
add eax, ecx
mov dword [rsp + 0x68], eax
inc r12d
mov dword [rbp - 0x38], r12d
add rdi, 4
add rsi, 0x10
cmp r12d, dword [rbx + 0x30]
lea rcx, [rbx - 0xd0]
jl 0x180032cc0
mov rdi, qword [rbp - 0x60]
mov r9, qword [rbp - 0x30]
jmp 0x180032ef7
mov eax, dword [rsp + 0x68]
mov r12d, 0x100
mov r15, qword [rbp - 0x70]
add rbx, 0x110
add r14, 0x88
sub r9, 1
mov qword [rbp - 0x30], r9
mov r10d, dword [rbp - 0x34]
mov r11d, dword [rsp + 0x64]
mov r13, qword [rbp - 0x80]
jne 0x180032b80
xor r14d, r14d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180032f45
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180032f4d
movaps xmm0, xmm1
call fcn.1800608e8
cvttss2si ecx, xmm0
inc ecx
mov dword [rdi + 0x34], r14d
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x180032f99
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1801049e8]
jb 0x180032f75
mov eax, 0x1000
jmp 0x180032f99
comiss xmm0, dword [0x1801049e4]
jb 0x180032f85
mov eax, 0x800
jmp 0x180032f99
mov eax, 0x200
mov ecx, 0x400
comiss xmm0, dword [0x1801049e0]
cmovae eax, ecx
mov dword [rdi + 0x30], eax
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
xor eax, eax
mov dword [rbp + 0x30], eax
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov r13d, eax
mov qword [rbp + 0x58], rax
movss xmm0, dword [rdi + 0x1c]
andps xmm0, xmm9
movss xmm1, dword [rdi + 0x18]
andps xmm1, xmm9
maxss xmm1, xmm0
movd xmm0, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si r15d, xmm0
mov r12d, dword [rdi + 0x30]
lea ecx, [rax + 0x48]
call fcn.180023280
mov rsi, rax
mov ebx, r12d
sub ebx, r15d
movsxd rcx, ebx
shl rcx, 4
call fcn.180023280
test rsi, rsi
je 0x180033059
mov rcx, rsi
test rax, rax
je 0x180033061
mov dword [rbp + 0x30], r12d
mov r14, rsi
mov qword [rbp + 0x28], rsi
mov r13, rax
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x3c], r15d
mov dword [rbp + 0x38], r12d
mov dword [rbp + 0x44], 1
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x40], 0
mov r8d, 0x8000
sub r8d, r15d
mov dword [rsp + 0x20], ebx
mov r9, rax
mov edx, ebx
call fcn.18003c280
jmp 0x180033066
test rax, rax
je 0x180033066
mov rcx, rax
call fcn.1800232a0
mov qword [rbp - 0x30], 0
xor ebx, ebx
mov qword [rbp - 0x28], rbx
mov esi, dword [rdi + 0x58]
test esi, esi
jle 0x18003309b
mov eax, esi
cmp esi, 8
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x18003309b
movsxd rcx, eax
shl rcx, 4
call fcn.180023280
mov rbx, rax
mov ecx, esi
shl ecx, 4
movsxd r8, ecx
xor edx, edx
mov rcx, rbx
call fcn.18007d1c0
xor r9d, r9d
cmp dword [rdi + 0x58], r9d
jle 0x1800330ec
xor edx, edx
lea r8, [rbx + 6]
nop dword [rax]
mov rax, qword [rdi + 0x60]
movzx ecx, word [rax + rdx + 4]
mov word [r8 - 2], cx
mov rax, qword [rdi + 0x60]
movzx ecx, word [rax + rdx + 6]
mov word [r8], cx
inc r9d
lea rdx, [rdx + 0x20]
lea r8, [r8 + 0x10]
cmp r9d, dword [rdi + 0x58]
jl 0x1800330c0
mov r8d, esi
mov rdx, rbx
mov rcx, r14
call fcn.18003c4c0
test esi, esi
jle 0x18003314a
xor r8d, r8d
lea rdx, [rbx + 0xa]
mov r9, rsi
cmp dword [rdx + 2], 0
je 0x18003313c
movzx ecx, word [rdx - 2]
mov rax, qword [rdi + 0x60]
mov word [r8 + rax + 8], cx
movzx ecx, word [rdx]
mov rax, qword [rdi + 0x60]
mov word [r8 + rax + 0xa], cx
movzx ecx, word [rdx - 4]
movzx eax, word [rdx]
add ecx, eax
cmp dword [rdi + 0x34], ecx
cmovge ecx, dword [rdi + 0x34]
mov dword [rdi + 0x34], ecx
add r8, 0x20
add rdx, 0x10
sub r9, 1
jne 0x180033108
test rbx, rbx
je 0x180033158
mov rcx, rbx
call fcn.1800232a0
nop
mov esi, dword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
test esi, esi
jle 0x1800331ce
lea rbx, [r15 + 0xe8]
nop dword [rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x1800331bd
mov rdx, qword [rbx - 0x20]
mov rcx, r14
call fcn.18003c4c0
xor r8d, r8d
cmp dword [rbx], r8d
jle 0x1800331bd
xor edx, edx
nop
mov rax, qword [rbx - 0x20]
cmp dword [rdx + rax + 0xc], 0
je 0x1800331b1
movzx ecx, word [rdx + rax + 0xa]
movzx eax, word [rdx + rax + 6]
add ecx, eax
cmp dword [rdi + 0x34], ecx
cmovge ecx, dword [rdi + 0x34]
mov dword [rdi + 0x34], ecx
inc r8d
add rdx, 0x10
cmp r8d, dword [rbx]
jl 0x180033190
add rbx, 0x110
sub rsi, 1
jne 0x180033170
mov esi, dword [rsp + 0x60]
mov eax, dword [rdi + 0x34]
test byte [rdi + 4], 1
jne 0x1800331fc
lea ecx, [rax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
lea ecx, [rax + 1]
mov dword [rdi + 0x34], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss xmm9, dword [0x18007f874]
movaps xmm2, xmm9
divss xmm2, xmm0
mov eax, dword [rdi + 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm9
divss xmm1, xmm0
movss dword [rdi + 0x38], xmm1
movss dword [rdi + 0x3c], xmm2
imul ecx, eax
movsxd rcx, ecx
call fcn.180023280
mov qword [rdi + 0x20], rax
mov ecx, dword [rdi + 0x34]
imul ecx, dword [rdi + 0x30]
movsxd r8, ecx
xor edx, edx
mov rcx, rax
call fcn.18007d1c0
mov rax, qword [rdi + 0x20]
mov qword [rbp + 0x50], rax
mov eax, dword [rdi + 0x34]
mov dword [rbp + 0x34], eax
test esi, esi
jle 0x1800333d7
xor r12d, r12d
mov r13d, esi
nop word [rax + rax]
mov rbx, qword [rdi + 0x70]
cmp dword [r15 + 0xe8], 0
je 0x1800333b3
lea r8, [r15 + 0xa0]
mov rax, qword [r15 + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.18003ce50
movss xmm1, dword [r12 + rbx + 0x50]
ucomiss xmm1, xmm9
jp 0x1800332ca
je 0x1800333a8
xor r8d, r8d
lea r9, [rbp + 0xa0]
mov edi, 0x100
nop dword [rax]
mov eax, r8d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
cvttss2si rcx, xmm0
mov edx, 0xff
movzx eax, cl
cmp ecx, edx
cmovbe edx, eax
mov byte [r9], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, edi
jb 0x1800332e0
mov rsi, qword [r15 + 0xc8]
xor r14d, r14d
cmp dword [r15 + 0xe8], r14d
mov rdi, qword [rbp - 0x60]
jle 0x1800333a8
add rsi, 6
nop
cmp dword [rsi + 6], 0
je 0x180033398
movsxd rbx, dword [rdi + 0x30]
movzx r11d, word [rsi]
movzx eax, word [rsi + 4]
imul eax, ebx
cdqe
movzx r10d, word [rsi + 2]
add rax, qword [rdi + 0x20]
add r10, rax
movzx r9d, word [rsi - 2]
test r11d, r11d
je 0x180033398
mov r8, r10
neg r8
test r9, r9
je 0x18003338a
mov rdx, r10
nop dword [rax + rax]
movzx eax, byte [rdx]
movzx ecx, byte [rbp + rax + 0xa0]
mov byte [rdx], cl
lea rdx, [rdx + 1]
lea rax, [r8 + rdx]
cmp rax, r9
jl 0x180033370
dec r11d
add r10, rbx
sub r8, rbx
test r11d, r11d
jg 0x180033363
inc r14d
add rsi, 0x10
cmp r14d, dword [r15 + 0xe8]
jl 0x180033330
mov qword [r15 + 0xc8], 0
add r12, 0x88
add r15, 0x110
sub r13, 1
jne 0x180033280
mov r13, qword [rbp + 0x58]
mov r14, qword [rbp + 0x28]
mov esi, dword [rsp + 0x60]
mov rcx, r13
call fcn.1800232a0
mov rcx, r14
call fcn.1800232a0
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x18003340a
mov qword [rbp - 0x10], 0
mov rcx, rax
call fcn.1800232a0
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 8], rax
test esi, esi
jle 0x1800337cf
xor r13d, r13d
mov rsi, qword [rsp + 0x70]
add rsi, 8
mov r12d, dword [rsp + 0x60]
mov qword [rbp - 0x60], r12
movss xmm8, dword [0x18007f870]
cmp dword [rsi + 0xe0], 0
je 0x180033775
mov rbx, qword [rdi + 0x70]
add rbx, r13
mov r14, qword [rbx + 0x80]
movsxd r10, dword [rsi + 0x1c]
mov r9, qword [rsi]
movzx r8d, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
mov r15d, 0x100
movsx ecx, r15w
imul edx, ecx
add r8w, dx
movsx r11d, r8w
movzx r8d, byte [r10 + r9 + 5]
movzx edx, byte [r10 + r9 + 4]
movsx ecx, r15w
imul edx, ecx
add r8w, dx
movsx ecx, r8w
mov eax, ecx
sub eax, r11d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm3, dword [rbx + 0x14]
divss xmm3, xmm0
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
mov eax, 0xffffffff
comiss xmm2, xmm11
mov ecx, 1
cmova eax, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movd xmm2, r11d
cvtdq2ps xmm2, xmm2
mov eax, 0xffffffff
comiss xmm2, xmm11
cmova eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cmp byte [rbx + 0x48], 0
jne 0x18003352f
mov rcx, r14
call fcn.180031a70
mov eax, dword [rbx + 0x14]
mov dword [r14 + 0x14], eax
mov qword [r14 + 0x50], rbx
mov qword [r14 + 0x48], rdi
movss dword [r14 + 0x64], xmm6
movss dword [r14 + 0x68], xmm7
inc word [r14 + 0x58]
movss xmm15, dword [rbx + 0x2c]
movss xmm0, dword [r14 + 0x64]
addss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [rbx + 0x30]
movss dword [rbp - 0x68], xmm1
mov dword [rsp + 0x64], 0
cmp dword [rsi + 0xe0], 0
jle 0x180033775
xor r15d, r15d
xor r12d, r12d
mov rax, qword [rsi + 0x100]
mov edx, dword [r12 + rax]
mov rcx, qword [rsi + 0xc8]
movss xmm0, dword [r15 + rcx + 0x10]
movss xmm14, dword [rbx + 0x40]
comiss xmm14, xmm0
ja 0x1800335a5
movss xmm14, dword [rbx + 0x44]
minss xmm14, xmm0
movaps xmm13, xmm15
ucomiss xmm0, xmm14
jp 0x1800335b1
je 0x1800335d8
movaps xmm13, xmm14
subss xmm13, xmm0
mulss xmm13, xmm8
cmp byte [rbx + 0x20], 0
je 0x1800335d3
cvttss2si eax, xmm13
movd xmm13, eax
cvtdq2ps xmm13, xmm13
addss xmm13, xmm15
movd xmm0, dword [rdi + 0x30]
cvtdq2ps xmm0, xmm0
movaps xmm7, xmm9
divss xmm7, xmm0
movd xmm1, dword [rdi + 0x34]
cvtdq2ps xmm1, xmm1
movaps xmm3, xmm9
divss xmm3, xmm1
movss xmm10, dword [rdi + 0x18]
movaps xmm12, xmm11
minss xmm12, xmm10
movss xmm5, dword [rdi + 0x1c]
minss xmm11, xmm5
xorps xmm0, xmm0
maxss xmm10, xmm0
maxss xmm5, xmm0
movss xmm1, dword [rdi + 0x3c]
movss xmm2, dword [rdi + 0x38]
movzx eax, word [r15 + rcx + 6]
movd xmm9, eax
cvtdq2ps xmm9, xmm9
mulss xmm9, xmm3
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm9, xmm0
movzx eax, word [r15 + rcx + 4]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm7
movaps xmm0, xmm2
mulss xmm0, xmm10
addss xmm8, xmm0
movzx eax, word [r15 + rcx + 2]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm3
mulss xmm1, xmm11
addss xmm6, xmm1
movzx eax, word [r15 + rcx]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm4, xmm7
mulss xmm2, xmm12
addss xmm4, xmm2
movss xmm1, dword [r15 + rcx + 0x18]
xorps xmm2, xmm2
addss xmm1, xmm2
addss xmm1, dword [rbp - 0x68]
addss xmm1, xmm5
movss xmm0, dword [r15 + rcx + 0x14]
addss xmm0, xmm2
addss xmm0, xmm13
divss xmm10, dword [0x1800ff9b0]
addss xmm0, xmm10
movss xmm3, dword [r15 + rcx + 0xc]
addss xmm3, xmm2
addss xmm3, dword [rbp - 0x68]
addss xmm3, xmm11
movss xmm2, dword [r15 + rcx + 8]
xorps xmm11, xmm11
addss xmm2, xmm11
addss xmm2, xmm13
divss xmm12, dword [0x1800ff9b0]
addss xmm2, xmm12
movss dword [rsp + 0x50], xmm14
movss dword [rsp + 0x48], xmm9
movss dword [rsp + 0x40], xmm8
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm4
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm0
mov rcx, r14
call fcn.18002f840
mov r8d, dword [rsp + 0x64]
inc r8d
mov dword [rsp + 0x64], r8d
add r12, 4
add r15, 0x1c
cmp r8d, dword [rsi + 0xe0]
movss xmm8, dword [0x18007f870]
movss xmm9, dword [0x18007f874]
jl 0x180033575
mov r12, qword [rbp - 0x60]
add rsi, 0x110
add r13, 0x88
sub r12, 1
mov qword [rbp - 0x60], r12
jne 0x180033430
mov esi, dword [rsp + 0x60]
test esi, esi
jle 0x1800337cf
mov rbx, qword [rsp + 0x70]
add rbx, 0xf8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800337b4
call fcn.1800232a0
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800337c2
call fcn.1800232a0
nop
add rbx, 0x110
sub rsi, 1
jne 0x1800337a5
mov rcx, rdi
call fcn.180031da0
mov bl, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1800337e8
call fcn.1800232a0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800337f7
call fcn.1800232a0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180033806
call fcn.1800232a0
nop
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180033819
mov rcx, rax
call fcn.1800232a0
nop
movzx eax, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1800553d0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret