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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rax - 0x20], rsi
mov ebx, r8d
mov rsi, qword [0x180089a48]
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov r14, rcx
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x68], xmm7
call fcn.180029f40
test rax, rax
mov qword [rsp + 0x68], rax
mov rdi, rax
xorps xmm7, xmm7
sete byte [rsp + 0x40]
test rax, rax
jne 0x18002c5c5
mov ecx, dword [rsi + 0x1b90]
and ecx, 2
je 0x18002c589
movsd xmm0, qword [rsi + 0x1bb0]
movsd qword [rsp + 0x50], xmm0
jmp 0x18002c594
mov qword [rbp + 0xc8], 0
test ecx, ecx
lea rdx, [rsp + 0x50]
lea rax, [rbp + 0xc8]
mov r8d, ebx
cmovne rax, rdx
mov rcx, r14
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.18002a010
mov rdi, rax
mov r15d, dword [rsi + 0x1a88]
mov ecx, ebx
mov r12d, dword [rdi + 0x278]
and ecx, 0xc0200
mov r14d, ebx
or r14d, 6
cmp ecx, 0xc0200
cmovne r14d, ebx
cmp dword [rsi + 0x1ac8], 0
jne 0x18002c602
cmp byte [rsi + 0x1a95], 0
je 0x18002c602
mov al, 1
jmp 0x18002c604
xor al, al
mov byte [rdi + 0x86], al
lea eax, [r15 - 1]
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x48], eax
setl dl
mov byte [rsp + 0x41], dl
bt r14d, 0x1a
jae 0x18002c65d
movsxd rax, dword [rsi + 0x1c50]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1c48]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x48]
or dl, cl
mov byte [rsp + 0x41], dl
test dl, dl
jne 0x18002c66d
test eax, eax
jg 0x18002c66d
mov byte [rdi + 0x84], dl
jmp 0x18002c689
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor ecx, ecx
cmp r12d, r15d
je 0x18002c6cc
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r15d
movsd xmm0, qword [rsi + 0x1a80]
mov word [rdi + 0x8c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1ae8]
inc dword [rsi + 0x1ae8]
mov word [rdi + 0x8e], ax
jmp 0x18002c6d0
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rsi + 0x1ac8]
test eax, eax
jne 0x18002c6e0
mov rax, rcx
jmp 0x18002c6f1
mov rcx, rax
mov rax, qword [rsi + 0x1ad0]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r15d
je 0x18002c706
test r14d, 0x5000000
mov r13, rcx
cmovne r13, rax
jmp 0x18002c70d
mov r13, qword [rdi + 0x360]
lea rbx, [rdi + 0xc0]
mov qword [rsp + 0x58], r13
cmp dword [rbx], 0
mov eax, 8
jne 0x18002c747
cmp dword [rbx + 4], 0
jne 0x18002c733
mov edx, eax
mov rcx, rbx
call fcn.180035bd0
mov eax, dword [rdi + 8]
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [rbx]
lea rbx, [rsi + 0x1ac8]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18002c77b
inc r8d
test ecx, ecx
je 0x18002c769
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18001f2c0
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x208]
mov rax, qword [rbx + 8]
xor r9d, r9d
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov rcx, qword [0x180089a48]
mov qword [rsi + 0x1af0], r9
movzx eax, word [rdi + 0xc0]
mov word [rdx], ax
movzx eax, word [rdi + 0x1f8]
mov word [rdx + 2], ax
movzx eax, word [rcx + 0x1c50]
mov word [rdx + 4], ax
movzx eax, word [rcx + 0x1c10]
mov word [rdx + 6], ax
movzx eax, word [rcx + 0x1c20]
mov word [rdx + 8], ax
movzx eax, word [rcx + 0x1c30]
mov word [rdx + 0xa], ax
bt r14d, 0x1a
jae 0x18002c818
lea rcx, [rsi + 0x1c50]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1c48]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180035410
mov eax, dword [rbx]
xor r9d, r9d
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x48], 0
jle 0x18002c82d
bt r14d, 0x18
jb 0x18002c82d
mov dword [rdi + 0x388], r9d
cmp r12d, r15d
je 0x18002c8ba
mov qword [rdi + 0x360], r13
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test r13, r13
je 0x18002c892
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002c874
mov rax, qword [r13 + 0x368]
mov qword [rdi + 0x368], rax
bt r14d, 0x1b
jb 0x18002c892
test r14d, 0x5000000
je 0x18002c892
mov rax, qword [r13 + 0x370]
mov qword [rdi + 0x370], rax
test dword [rdi + 0xc], 0x800000
je 0x18002c8ba
mov rcx, rdi
nop
mov rax, qword [rcx + 0x360]
mov qword [rdi + 0x378], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18002c8a0
xor r13b, r13b
mov byte [rbp + 0xc8], 0
test byte [rsi + 0x1b90], 1
mov byte [rbp + 0xc0], r13b
je 0x18002c94f
mov r8d, dword [rsi + 0x1b94]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne byte [rbp + 0xc8]
test r8d, ecx
je 0x18002c940
movss xmm0, dword [rsi + 0x1bac]
movss xmm1, dword [rsi + 0x1ba8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1800659bc]
jbe 0x18002c940
movsd xmm0, qword [rsi + 0x1ba0]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ba8]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18002c94f
lea rdx, [rsi + 0x1ba0]
mov rcx, rdi
call fcn.18002f290
test byte [rsi + 0x1b90], 2
je 0x18002c9a2
mov r8d, dword [rsi + 0x1b98]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18002c978
comiss xmm7, dword [rsi + 0x1bb0]
jae 0x18002c978
mov r13b, 1
jmp 0x18002c97c
test eax, eax
je 0x18002c98c
comiss xmm7, dword [rsi + 0x1bb4]
mov byte [rbp + 0xc0], 1
jb 0x18002c993
mov byte [rbp + 0xc0], 0
lea rdx, [rsi + 0x1bb0]
mov rcx, rdi
call fcn.18002f360
test byte [rsi + 0x1b90], 4
je 0x18002c9ba
movsd xmm0, qword [rsi + 0x1bb8]
movsd qword [rdi + 0x30], xmm0
jmp 0x18002c9c7
cmp r12d, r15d
je 0x18002c9c7
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1b90], 8
je 0x18002c9f6
mov eax, dword [rsi + 0x1b9c]
movzx ecx, byte [rsi + 0x1bc0]
test eax, eax
je 0x18002c9e9
test dword [rdi + 0xac], eax
je 0x18002c9f6
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1b90], 0x20
je 0x18002ca07
mov rcx, rdi
call fcn.18002e830
cmp byte [rdi + 0x84], 0
je 0x18002ca25
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r15d
je 0x18002e4c0
movaps xmmword [rsp + 0x150], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x130], xmm8
and eax, 0x3000000
cmp qword [rbp + 0xb8], 0
movaps xmmword [rsp + 0x120], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x100], xmm11
movaps xmmword [rsp + 0xf0], xmm12
movaps xmmword [rsp + 0xe0], xmm13
movaps xmmword [rsp + 0xd0], xmm14
mov byte [rdi + 0x7e], bl
movaps xmmword [rsp + 0xc0], xmm15
mov dword [rsp + 0x44], eax
setne al
mov byte [rdi + 0x87], al
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
cmp ecx, ebx
jge 0x18002cb01
test ecx, ecx
je 0x18002cae4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002cae9
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0xc0]
mov edx, ebx
mov r12d, ebx
cmovg edx, eax
call fcn.180035bd0
jmp 0x18002cb04
mov r12d, ebx
mov dword [rdi + 0xc0], r12d
cmp byte [rdi + 0x3c8], 0
je 0x18002cb52
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3cc]
add rcx, 0x10
mov byte [rdi + 0x3c8], 0
call fcn.180035a50
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d0]
add rcx, 0x20
call fcn.1800357a0
mov qword [rdi + 0x3cc], 0
cmp qword [rsi + 0x1d88], 0
mov rcx, qword [rsp + 0x68]
je 0x18002cc2a
test dword [rdi + 0xc], 0x80000
jne 0x18002cc2a
test rcx, rcx
je 0x18002cc2a
mov r12, qword [rbp + 0xb0]
mov r9, qword [rdi]
mov rax, r12
mov r8, r9
sub r8, r12
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18002cba3
inc rax
test ecx, ecx
jne 0x18002cb90
test edx, edx
je 0x18002cc22
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18002cbb2
inc rbx
cmp r15, rbx
jae 0x18002cc05
test r9, r9
je 0x18002cbdb
mov rax, qword [0x180089a48]
test rax, rax
je 0x18002cbdb
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180089a48]
test rax, rax
je 0x18002cbf6
inc dword [rax + 0x3bc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov r12d, 1
mov dword [rdi + 0x48], r15d
jmp 0x18002cc25
mov r12d, ebx
mov rcx, qword [rsp + 0x68]
cmp byte [rdi + 0x81], 0
je 0x18002cc6a
cmp byte [rdi + 0x94], 0
jg 0x18002cc6a
cmp byte [rdi + 0x95], 0
jg 0x18002cc6a
movss xmm0, dword [rdi + 0x2c]
movss xmm1, dword [rdi + 0x28]
unpcklps xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x50], xmm1
movss xmm2, dword [rsp + 0x50]
shufps xmm0, xmm0, 0x55
jmp 0x18002ccf4
cmp byte [rdi + 0x85], 0
je 0x18002ccaa
cmp dword [rdi + 0xa0], 0
jne 0x18002ccaa
cmp dword [rdi + 0x9c], 0
jle 0x18002ccaa
movss xmm0, dword [rdi + 0x2c]
movss xmm2, dword [rdi + 0x28]
unpcklps xmm2, xmm0
movaps xmm1, xmm2
movsd qword [rsp + 0x50], xmm2
movss xmm2, dword [rsp + 0x50]
shufps xmm1, xmm1, 0x55
movaps xmm0, xmm1
jmp 0x18002ccf4
movss xmm1, dword [rdi + 0x30]
ucomiss xmm1, xmm7
jne 0x18002ccc4
movss xmm1, dword [rdi + 0xe8]
subss xmm1, dword [rdi + 0xe0]
movss xmm0, dword [rdi + 0x34]
ucomiss xmm0, xmm7
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jne 0x18002cce9
movss xmm0, dword [rdi + 0xec]
subss xmm0, dword [rdi + 0xe4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm0
test eax, eax
jle 0x18002cd10
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x18002cd22
dec eax
mov dword [rdi + 0xa0], eax
test rcx, rcx
jne 0x18002cd3b
test r13b, r13b
je 0x18002cd34
cmp byte [rbp + 0xc0], cl
jne 0x18002cd3b
mov dword [rdi + 0xa0], r12d
movzx r15d, byte [rsp + 0x41]
xor edx, edx
test r15b, r15b
je 0x18002cd84
test r14d, 0x6000000
je 0x18002cd84
mov dword [rdi + 0xa0], r12d
test r14b, 0x40
je 0x18002cd84
test r13b, r13b
jne 0x18002cd69
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
movzx ebx, byte [rbp + 0xc0]
test bl, bl
jne 0x18002cd7a
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [rdi + 0x28], 0
jmp 0x18002cd8b
movzx ebx, byte [rbp + 0xc0]
mov rax, qword [0x180089a48]
movss xmm0, dword [rax + 0x19ac]
mov qword [rax + 0x1af0], rdi
mov rcx, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18002cdbd
mulss xmm0, dword [rcx + 0x2a8]
movss dword [rax + 0x19c0], xmm0
movss dword [rax + 0x19a8], xmm0
bt r14d, 0x18
jae 0x18002cdde
movss xmm1, dword [rsi + 0x1584]
jmp 0x18002ce00
test r14d, 0x6000000
je 0x18002cdf8
bt r14d, 0x1b
jb 0x18002cdf8
movss xmm1, dword [rsi + 0x158c]
jmp 0x18002ce00
movss xmm1, dword [rsi + 0x1568]
mov rax, rdi
movss dword [rax + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x18002ce45
ucomiss xmm1, xmm7
jne 0x18002ce45
bt r14d, 0xa
jae 0x18002ce3a
movss xmm0, dword [rsi + 0x1560]
jmp 0x18002ce3d
movaps xmm0, xmm7
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], edx
test r14b, 0x21
jne 0x18002cf9b
test byte [rdi + 0xc], 1
mov rcx, qword [0x180089a48]
je 0x18002ce61
movaps xmm0, xmm7
jmp 0x18002ce95
mov rax, qword [rdi + 0x360]
movss xmm1, dword [rcx + 0x19ac]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x18002ce85
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [rcx + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm2, dword [rdi + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x20]
addss xmm0, dword [rdi + 0x14]
cmp qword [rsi + 0x1af8], rdi
jne 0x18002cf56
cmp dword [rsi + 0x1b24], 0
jne 0x18002cf56
cmp dword [rsi + 0x1b2c], 0
jne 0x18002cf56
mov rax, qword [rcx + 0x1af0]
maxss xmm2, dword [rax + 0x258]
movss xmm4, dword [rax + 0x260]
movss xmm3, dword [rax + 0x25c]
minss xmm4, xmm1
movss xmm1, dword [rcx + 0x15b0]
movss xmm5, dword [rax + 0x264]
maxss xmm3, dword [rdi + 0x14]
subss xmm2, xmm1
minss xmm5, xmm0
movss xmm0, dword [rcx + 0x15b4]
addss xmm4, xmm1
movss xmm1, dword [rcx + 0x130]
subss xmm3, xmm0
comiss xmm1, xmm2
addss xmm5, xmm0
jb 0x18002cf56
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm3
jb 0x18002cf56
comiss xmm1, xmm4
jae 0x18002cf56
comiss xmm0, xmm5
jae 0x18002cf56
cmp byte [rsi + 0x425], 0
je 0x18002cf56
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18002cfa2
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x180089a48]
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
jne 0x18002cf91
comiss xmm7, dword [rcx + 0x2fd4]
jb 0x18002cf91
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2fd4], eax
mov rcx, rdi
call fcn.18002e830
jmp 0x18002cfa2
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18002a730
movzx r12d, byte [rsp + 0x40]
test r14b, 0x40
je 0x18002cfff
cmp byte [rdi + 0x81], 0
jne 0x18002cfff
test r13b, r13b
jne 0x18002cfe4
movss xmm0, dword [rsp + 0x50]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x40], 1
test bl, bl
jne 0x18002d0a0
movss xmm0, dword [rsp + 0x54]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18002d0a0
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18002d017
cmp byte [rdi + 0x95], 0
jle 0x18002d0a0
test r13b, r13b
jne 0x18002d046
test al, al
jle 0x18002d046
cmp byte [rdi + 0x97], r13b
je 0x18002d036
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x50]
jmp 0x18002d03c
movss xmm0, dword [rsp + 0x50]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x40], 1
test bl, bl
jne 0x18002d075
cmp byte [rdi + 0x95], bl
jle 0x18002d075
cmp byte [rdi + 0x97], bl
je 0x18002d067
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x54]
jmp 0x18002d06d
movss xmm0, dword [rsp + 0x54]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x18002d0a0
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180089a48]
jne 0x18002d0a0
comiss xmm7, dword [rcx + 0x2fd4]
jb 0x18002d0a0
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2fd4], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rbp - 0x70]
mov rdx, rdi
call fcn.18002a3f0
cmp byte [rdi + 0x81], 0
mov rbx, qword [0x180089a48]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm0
je 0x18002d13b
bt r14d, 0x18
jb 0x18002d13b
test byte [rdi + 0xc], 1
je 0x18002d0e5
movaps xmm1, xmm7
jmp 0x18002d119
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002d109
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x60], xmm2
movss dword [rsp + 0x64], xmm1
jmp 0x18002d146
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x60]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x18002d161
movaps xmm1, xmm7
jmp 0x18002d195
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002d185
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x18002d1de
mov rax, qword [rdi + 0x360]
movss xmm11, dword [rbx + 0x19ac]
mulss xmm11, dword [rdi + 0x2a8]
test rax, rax
je 0x18002d1c2
mulss xmm11, dword [rax + 0x2a8]
movss xmm0, dword [rbx + 0x1594]
addss xmm11, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm11, xmm0
jmp 0x18002d1e2
movaps xmm11, xmm7
addss xmm11, xmm1
test r15b, r15b
je 0x18002d231
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x18002d231
cmp byte [rbp + 0xc8], 0
jne 0x18002d231
movsxd rax, dword [rsi + 0x1c50]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1c58]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r13, qword [rsp + 0x58]
bt r14d, 0x18
jae 0x18002d2cc
lea r15, [r13 + 0x188]
movzx eax, word [r15]
mov word [rdi + 0x8c], ax
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x18002d28f
inc r8d
test ecx, ecx
je 0x18002d271
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002d276
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.18001f2c0
mov rbx, qword [0x180089a48]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rdi
inc dword [r15]
movzx r15d, byte [rbp + 0xc8]
mov eax, dword [rsp + 0x44]
bt r14d, 0x1a
jb 0x18002d2d8
test r15b, r15b
jne 0x18002d2d8
cmp eax, 0x3000000
je 0x18002d2d8
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x18002d2d8
movzx r15d, byte [rbp + 0xc8]
mov eax, dword [rsp + 0x44]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180065c44]
je 0x18002d340
cmp dword [rdi + 0xa0], 0
jne 0x18002d340
movss xmm0, dword [rdi + 0x20]
lea rdx, [rbp + 0xc8]
mulss xmm0, dword [rdi + 0xb8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rbp + 0xc8], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rbp + 0xcc], xmm0
call fcn.18002f290
jmp 0x18002d38d
bt r14d, 0x1c
jb 0x18002d36d
bt r14d, 0x1a
jae 0x18002d35a
test r15b, r15b
jne 0x18002d35a
cmp dword [rsp + 0x48], 0
jg 0x18002d36d
bt r14d, 0x19
jae 0x18002d38d
test r15b, r15b
jne 0x18002d38d
cmp eax, 0x3000000
je 0x18002d38d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.180030d60
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
movss xmm8, dword [rbx + 0x10]
movss xmm6, dword [rbx + 0x14]
movss dword [rbp + 0xc8], xmm8
movss dword [rbp - 0x78], xmm8
movss dword [rbp + 0xc0], xmm6
movss dword [rbp - 0x74], xmm6
movss dword [rbp - 0x80], xmm7
movss dword [rbp - 0x7c], xmm7
test r15b, r15b
jne 0x18002d4cf
bt r14d, 0x18
jb 0x18002d4cf
cmp byte [rdi + 0x94], r15b
jg 0x18002d4cf
cmp byte [rdi + 0x95], r15b
jg 0x18002d4cf
comiss xmm8, xmm7
movss xmm4, dword [rsi + 0x15ec]
movss xmm5, dword [rsi + 0x15f0]
maxss xmm4, dword [rsi + 0x15f4]
maxss xmm5, dword [rsi + 0x15f8]
jbe 0x18002d4cf
comiss xmm6, xmm7
jbe 0x18002d4cf
cmp byte [rbx + 0xcc], r15b
je 0x18002d475
test byte [rdi + 0xc], 1
jne 0x18002d475
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002d452
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
jmp 0x18002d480
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x58], xmm0
lea rax, [rsp + 0x58]
movss xmm0, dword [rax]
movss xmm2, dword [rax + 4]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x14]
maxss xmm3, xmm4
maxss xmm1, xmm5
subss xmm3, xmm0
movaps xmm0, xmm8
subss xmm0, xmm4
subss xmm1, xmm2
minss xmm3, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
movss dword [rdi + 0x10], xmm3
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
bt r14d, 0x18
jae 0x18002d502
movss xmm2, dword [rsi + 0x1580]
jmp 0x18002d523
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002d51b
movss xmm2, dword [rsi + 0x1588]
jmp 0x18002d523
movss xmm2, dword [rsi + 0x1564]
xor r15b, r15b
movss dword [rdi + 0x40], xmm2
cmp byte [rsp + 0x41], r15b
je 0x18002d559
bt r14d, 0xc
jb 0x18002d559
bt r14d, 0x1a
jae 0x18002d545
mov r15b, 1
jmp 0x18002d559
test r14d, 0x3000000
movzx r15d, r15b
mov eax, 1
cmove r15d, eax
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0xffffffff
movups xmmword [rbp - 0x50], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x19a8]
cmp byte [rsi + 0xcb], cl
movaps xmm1, xmm0
mulss xmm1, dword [0x180065a08]
setne cl
mulss xmm0, dword [0x180065a90]
inc ecx
cmp byte [rdi + 0x81], 0
addss xmm1, xmm2
mov dword [rsp + 0x58], ecx
addss xmm1, dword [0x180065a80]
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
jne 0x18002d5f0
lea rax, [rbp - 0x50]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.18002ab00
mov rbx, qword [0x180089a48]
test al, al
je 0x18002d5f0
mov r12b, 1
movzx ecx, r12b
jmp 0x18002d5f5
movzx ecx, byte [rsp + 0x40]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x48]
mov byte [rdi + 0x88], al
jne 0x18002d731
cmp qword [rsp + 0x68], 0
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm11
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18002d65c
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
jmp 0x18002d686
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x58]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18002d696
movaps xmm5, xmm2
test r12b, r12b
jne 0x18002d69e
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18002d6b4
comiss xmm1, xmm4
jbe 0x18002d6b0
test r14b, 8
je 0x18002d6b4
xor cl, cl
jmp 0x18002d6b6
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x18002d6f2
test cl, cl
je 0x18002d6ce
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18002d6d1
movaps xmm0, xmm7
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18002d6e9
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18002d6f2
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm7
jmp 0x18002d716
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x18002d70e
comiss xmm1, xmm4
jbe 0x18002d709
test r14b, 8
jne 0x18002d709
mov cl, 1
jmp 0x18002d70b
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x18002d724
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18002d727
movaps xmm0, xmm7
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r12d, dword [rsp + 0x44]
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002d755
lea rax, [r13 + 0x258]
cmp r12d, 0x3000000
jne 0x18002d759
lea rax, [rbp - 0x80]
test byte [rdi + 0xc], 1
movss xmm4, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
movaps xmm2, xmm4
addss xmm2, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm3, xmm1
movss dword [rsp + 0x44], xmm4
addss xmm3, dword [rdi + 0x1c]
je 0x18002d788
movaps xmm13, xmm7
jmp 0x18002d7bf
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002d7ac
mulss xmm0, dword [rax + 0x2a8]
movss xmm13, dword [rbx + 0x1594]
addss xmm13, xmm13
addss xmm13, xmm0
movss xmm5, dword [rdi + 0x14]
addss xmm13, xmm1
movss dword [rbp - 0x6c], xmm5
movaps xmm0, xmm4
addss xmm0, dword [rdi + 0x20]
movss dword [rbp - 0x70], xmm4
movaps xmm8, xmm6
shufps xmm8, xmm6, 0x55
movaps xmm5, xmm6
movss dword [rbp - 0x64], xmm13
movaps xmm9, xmm6
shufps xmm5, xmm6, 0xaa
mov eax, r14d
movss dword [rsp + 0x48], xmm0
and eax, 0x401
movss dword [rbp - 0x68], xmm0
movss dword [rdi + 0x218], xmm4
movss dword [rdi + 0x21c], xmm1
maxss xmm1, xmm8
movss dword [rdi + 0x220], xmm2
movss dword [rdi + 0x224], xmm3
movss xmm0, dword [rdi + 0x218]
shufps xmm9, xmm6, 0xff
maxss xmm0, xmm6
movss dword [rdi + 0x21c], xmm1
movaps xmm1, xmm5
movss dword [rdi + 0x218], xmm0
movaps xmm0, xmm9
minss xmm0, dword [rdi + 0x224]
minss xmm1, dword [rdi + 0x220]
movss dword [rdi + 0x224], xmm0
movss dword [rdi + 0x220], xmm1
movss xmm4, dword [rdi + 0x10]
movss xmm10, dword [rdi + 0x14]
movaps xmm12, xmm4
movss dword [rdi + 0x228], xmm4
movaps xmm14, xmm10
addss xmm14, xmm11
addss xmm12, dword [rdi + 0x18]
addss xmm10, dword [rdi + 0x1c]
movss dword [rdi + 0x22c], xmm14
subss xmm12, dword [rdi + 0x74]
subss xmm10, dword [rdi + 0x78]
movss dword [rdi + 0x230], xmm12
movss dword [rdi + 0x234], xmm10
cmp eax, 1
jne 0x18002d8d5
movss xmm15, dword [rdi + 0x44]
jmp 0x18002d8de
movss xmm15, dword [rsi + 0x159c]
movss xmm2, dword [0x180065a40]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm4, xmm2
mulss xmm0, xmm2
addss xmm14, xmm2
addss xmm12, xmm2
addss xmm10, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm14, xmm15
subss xmm10, dword [rdi + 0x44]
movaps xmm15, xmmword [rsp + 0xc0]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm4, xmm1
subss xmm12, xmm1
cvttss2si eax, xmm4
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
cvttss2si eax, xmm14
movss dword [rdi + 0x238], xmm4
cvtsi2ss xmm0, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x23c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rdi + 0x240], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x244], xmm0
movss xmm1, dword [rdi + 0x23c]
comiss xmm1, xmm8
jae 0x18002d992
movaps xmm0, xmm8
jmp 0x18002d99a
movaps xmm0, xmm9
minss xmm0, xmm1
comiss xmm4, xmm6
jae 0x18002d9a4
movaps xmm4, xmm6
jmp 0x18002d9a8
minss xmm4, xmm5
movss dword [rdi + 0x238], xmm4
movss dword [rdi + 0x23c], xmm0
movss xmm0, dword [rdi + 0x244]
comiss xmm0, xmm8
jb 0x18002d9cf
minss xmm9, xmm0
movaps xmm8, xmm9
movss xmm0, dword [rdi + 0x240]
comiss xmm0, xmm6
jae 0x18002d9e1
movaps xmm5, xmm6
jmp 0x18002d9e5
minss xmm5, xmm0
movss dword [rdi + 0x240], xmm5
movss dword [rdi + 0x244], xmm8
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm7
jbe 0x18002da13
test r14d, 0x2000040
jne 0x18002da13
mulss xmm0, dword [0x180065a50]
jmp 0x18002da23
movss xmm0, dword [rsi + 0x19a8]
mulss xmm0, dword [0x180065b54]
cvttss2si eax, xmm0
mov rcx, rdi
mov r8b, 1
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x280], xmm0
lea rcx, [rsp + 0x70]
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
movss xmm1, dword [rdi + 0x38]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x5c], xmm1
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
subss xmm2, xmm0
maxss xmm2, xmm7
movss dword [rdi + 0x60], xmm2
call fcn.18002fc00
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.18003c580
mov rax, qword [rsi + 0x19a0]
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18003cb80
mov rcx, qword [0x180089a48]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1af0]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1af0]
mov rcx, qword [rbx + 0x2b0]
call fcn.18003ca50
mov rax, qword [rbx + 0x2b0]
movsxd rcx, dword [rax + 0x60]
mov rax, qword [rax + 0x68]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
bt r14d, 0x1b
jae 0x18002db87
call fcn.180030210
cmp rdi, rax
jne 0x18002db87
cmp dword [rdi + 0xa0], 0
jg 0x18002db87
mov al, 1
jmp 0x18002db89
xor al, al
mov rcx, qword [rsi + 0x1d80]
test rcx, rcx
je 0x18002dba2
cmp rdi, qword [rcx + 0x368]
jne 0x18002dba2
mov bl, 1
jmp 0x18002dba4
xor bl, bl
test al, al
jne 0x18002dbb0
test bl, bl
je 0x18002dcb4
movss xmm1, dword [rsi + 0x1e20]
movzx ecx, al
add ecx, 0x37
call fcn.1800252e0
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x80]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x78]
movss dword [rsp + 0x20], xmm7
call fcn.18003eb40
test bl, bl
je 0x18002dcb4
movss xmm9, dword [rbp + 0xc8]
movss xmm8, dword [rbp + 0xc0]
cmp rdi, qword [rsi + 0x1d80]
jne 0x18002dcc6
movss xmm0, dword [rsi + 0x19a8]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm7, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x80], xmm1
movss dword [rbp - 0x78], xmm2
movss dword [rbp - 0x7c], xmm4
movss dword [rbp - 0x74], xmm3
jb 0x18002dc6b
comiss xmm7, xmm4
jb 0x18002dc6b
comiss xmm9, xmm2
ja 0x18002dc6b
comiss xmm8, xmm3
jbe 0x18002dcc6
movss xmm1, dword [rsi + 0x1d94]
mov ecx, 0x36
mulss xmm1, dword [0x180065a10]
call fcn.1800252e0
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x78]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x80]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.18003eb40
jmp 0x18002dcc6
movss xmm9, dword [rbp + 0xc8]
movss xmm8, dword [rbp + 0xc0]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002dd0f
cmp r12d, 0x3000000
je 0x18002dd0f
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x18002dd0f
mov rax, qword [r13 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x18002dd0f
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1d78]
test rax, rax
jne 0x18002dd22
mov rax, qword [rsi + 0x1c60]
test r15b, r15b
jne 0x18002dd41
test rax, rax
je 0x18002dd3c
mov rax, qword [rax + 0x370]
cmp qword [rdi + 0x370], rax
je 0x18002dd41
xor r8b, r8b
jmp 0x18002dd44
mov r8b, 1
movss xmm0, dword [rsp + 0x60]
lea rax, [rbp - 0x50]
mov r9d, dword [rsp + 0x58]
lea rdx, [rbp - 0x70]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18002b780
test bl, bl
je 0x18002dd7c
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1d80], rdi
jne 0x18002de7e
movss xmm1, dword [rsi + 0x19a8]
movss xmm3, dword [rdi + 0x10]
movss xmm2, dword [rdi + 0x14]
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x18]
movss xmm5, dword [rdi + 0x40]
subss xmm4, xmm1
movss xmm6, dword [rsi + 0x1564]
movaps xmm0, xmm2
addss xmm2, dword [rdi + 0x1c]
subss xmm0, xmm1
addss xmm3, xmm1
comiss xmm7, xmm4
movss dword [rsp + 0x70], xmm4
maxss xmm6, xmm5
addss xmm2, xmm1
movss dword [rsp + 0x78], xmm3
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x7c], xmm2
jb 0x18002de37
comiss xmm7, xmm0
jb 0x18002de37
comiss xmm9, xmm3
ja 0x18002de37
comiss xmm8, xmm2
ja 0x18002de37
xorps xmm1, xmmword [0x180065f50]
movaps xmm6, xmm5
subss xmm1, dword [0x180065a80]
subss xmm0, xmm1
subss xmm4, xmm1
movss dword [rsp + 0x74], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [rsp + 0x70], xmm4
addss xmm1, xmm2
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
movss xmm1, dword [rsi + 0x1d94]
mov ecx, 0x36
call fcn.1800252e0
movss xmm0, dword [0x180065aec]
lea r8, [rsp + 0x78]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
mov dword [rsp + 0x28], 0xffffffff
movss dword [rsp + 0x20], xmm6
call fcn.18003ea30
movss xmm6, dword [rdi + 0x30]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm7
je 0x18002de99
movaps xmm8, xmm6
jmp 0x18002ded1
movss xmm0, dword [rdi + 0x38]
mov eax, r14d
movss xmm8, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm8, xmm0
subss xmm8, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x18002dec9
movss xmm0, dword [rdi + 0x28]
jmp 0x18002decc
movaps xmm0, xmm7
maxss xmm8, xmm0
movss xmm4, dword [rdi + 0x34]
ucomiss xmm4, xmm7
je 0x18002dee0
movaps xmm5, xmm4
jmp 0x18002df0e
movss xmm0, dword [rdi + 0x3c]
movss xmm5, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm5, xmm0
subss xmm5, xmm11
subss xmm5, dword [rdi + 0x78]
test cl, cl
je 0x18002df07
movss xmm0, dword [rdi + 0x2c]
jmp 0x18002df0a
movaps xmm0, xmm7
maxss xmm5, xmm0
ucomiss xmm6, xmm7
movss xmm3, dword [rdi + 0x44]
movss xmm10, dword [rdi + 0x38]
movaps xmm1, xmm3
movss xmm12, dword [rdi + 0x54]
maxss xmm1, xmm10
movss xmm0, dword [rdi + 0x228]
movss xmm9, dword [rdi + 0x3c]
subss xmm0, xmm12
movss xmm14, dword [rdi + 0x58]
maxss xmm3, xmm9
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x22c]
subss xmm0, xmm14
cvttss2si eax, xmm1
addss xmm3, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm3
movss xmm3, dword [rdi + 0x10]
addss xmm8, xmm2
movss dword [rdi + 0x248], xmm2
movaps xmm2, xmm3
subss xmm2, xmm12
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm2, xmm10
movss dword [rdi + 0x250], xmm8
movaps xmm8, xmmword [rsp + 0x130]
addss xmm5, xmm1
movss dword [rdi + 0x24c], xmm1
movss xmm1, dword [rdi + 0x14]
subss xmm1, xmm14
movss dword [rdi + 0x268], xmm2
movss dword [rdi + 0x254], xmm5
addss xmm1, xmm9
addss xmm1, xmm11
movss dword [rdi + 0x26c], xmm1
jne 0x18002dff5
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm10
addss xmm0, xmm10
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm4, xmm7
addss xmm6, xmm2
movss dword [rdi + 0x270], xmm6
movaps xmm6, xmmword [rsp + 0x150]
jne 0x18002e02a
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm11
subss xmm4, dword [rdi + 0x78]
xor r12d, r12d
addss xmm9, xmm11
movaps xmm11, xmmword [rsp + 0x100]
subss xmm10, xmm12
movaps xmm12, xmmword [rsp + 0xf0]
addss xmm4, xmm1
subss xmm9, xmm14
movaps xmm14, xmmword [rsp + 0xd0]
movss dword [rdi + 0x108], xmm10
addss xmm10, xmm3
movss dword [rdi + 0x274], xmm4
mov qword [rdi + 0x10c], r12
addss xmm9, dword [rdi + 0x14]
movss dword [rdi + 0xe0], xmm10
movss dword [rdi + 0xe4], xmm9
movss dword [rdi + 0xd0], xmm10
movss dword [rdi + 0xd4], xmm9
movss dword [rdi + 0xd8], xmm10
movaps xmm10, xmmword [rsp + 0x110]
movss dword [rdi + 0xdc], xmm9
movsd xmm0, qword [rdi + 0xe0]
movaps xmm9, xmmword [rsp + 0x120]
movsd qword [rdi + 0xe8], xmm0
mov qword [rdi + 0xf8], r12
mov qword [rdi + 0xf0], r12
mov qword [rdi + 0x100], r12
mov dword [rdi + 0x13c], r12d
mov dword [rdi + 0x140], 1
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x144], eax
mov qword [rdi + 0x148], r12
mov byte [rdi + 0x150], r12b
comiss xmm7, dword [rdi + 0x60]
setb al
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], r12b
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1bec]
movss dword [rdi + 0x154], xmm0
mov eax, dword [rsi + 0x1bf0]
mov dword [rdi + 0x158], eax
movss xmm0, dword [rsi + 0x15a0]
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], r12
cmp byte [rsp + 0x41], r12b
je 0x18002e180
xor eax, eax
mov qword [rdi + 0x174], rax
mov dword [rdi + 0x17c], eax
movss xmm1, dword [rdi + 0x160]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x174]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x168], xmm0
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x174], r12d
comiss xmm7, dword [rdi + 0x178]
jae 0x18002e1d3
movss xmm0, dword [rdi + 0x15c]
addss xmm0, dword [rdi + 0x160]
movss dword [rdi + 0x160], xmm0
movss xmm1, dword [rdi + 0x160]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x16c], xmm0
addss xmm1, dword [rdi + 0x178]
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x178], r12d
comiss xmm7, dword [rdi + 0x17c]
jae 0x18002e216
addss xmm1, dword [rdi + 0x15c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
addss xmm1, dword [rdi + 0x17c]
movss dword [rdi + 0x160], xmm1
mov qword [rdi + 0x17c], r12
mov dword [rdi + 0x184], r12d
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x18002e26e
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x188]
test eax, eax
cmovg edx, eax
call fcn.18001f2c0
mov dword [rdi + 0x188], r12d
lea rax, [rdi + 0x288]
mov qword [rdi + 0x198], rax
mov eax, 1
mov qword [rdi + 0x1a0], r12
mov dword [rdi + 0x1a8], eax
test r13, r13
je 0x18002e2bb
mov eax, dword [r13 + 0x1a8]
mov dword [rdi + 0x1ac], eax
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov eax, dword [r13 + 0x1b8]
jmp 0x18002e2cf
mov dword [rdi + 0x1ac], eax
mov eax, r12d
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18002e312
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.180035bd0
mov dword [rdi + 0x1c8], r12d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x18002e340
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.180035bd0
mov dword [rdi + 0x1d8], r12d
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x18002e36e
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.180035bd0
lea rcx, [rdi + 0x1f8]
mov dword [rdi + 0x1e8], r12d
xor edx, edx
call fcn.180035250
bt r14d, 0x18
jae 0x18002e3b2
mov eax, dword [r13 + 0x1b8]
cmp dword [rdi + 0x1b8], eax
je 0x18002e3b2
lea rdx, [rdi + 0x1b8]
mov dword [rdi + 0x1b8], eax
lea rcx, [rdi + 0x1c8]
call fcn.180035670
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x18002e3c5
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x18002e3d8
dec al
mov byte [rdi + 0x95], al
test r15b, r15b
je 0x18002e3ef
mov rcx, rdi
call fcn.18002e830
xor edx, edx
mov rcx, rdi
call fcn.1800319b0
test r14b, 1
jne 0x18002e40f
mov r9, qword [rbp + 0xb8]
lea rdx, [rbp - 0x70]
mov r8, qword [rbp + 0xb0]
mov rcx, rdi
call fcn.18002bd50
mov eax, dword [rdi + 0x4c]
movss xmm2, dword [rsp + 0x44]
movss xmm3, dword [rsp + 0x48]
movss xmm4, dword [rbp - 0x6c]
mov dword [rdi + 0x114], eax
mov rax, qword [0x180089a48]
movss xmm1, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm2, xmm1
addss xmm3, xmm1
movss xmm1, dword [rax + 0x130]
addss xmm13, xmm0
subss xmm4, xmm0
comiss xmm1, xmm2
jb 0x18002e47f
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm4
jb 0x18002e47f
comiss xmm1, xmm3
jae 0x18002e47f
comiss xmm0, xmm13
jae 0x18002e47f
mov ebx, 1
mov eax, ebx
jmp 0x18002e487
mov eax, r12d
mov ebx, 1
movups xmm0, xmmword [rbp - 0x70]
mov dword [rdi + 0x118], eax
lea rdx, [rdi + 0x240]
lea rcx, [rdi + 0x238]
mov r8b, 1
movups xmmword [rdi + 0x11c], xmm0
call fcn.180029110
movaps xmm13, xmmword [rsp + 0xe0]
mov byte [rdi + 0x80], r12b
jmp 0x18002e521
mov rax, qword [0x180089a48]
movss xmm0, dword [rax + 0x19ac]
mov qword [rax + 0x1af0], rdi
mov rcx, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18002e4f2
mulss xmm0, dword [rcx + 0x2a8]
lea rdx, [rdi + 0x240]
movss dword [rax + 0x19c0], xmm0
lea rcx, [rdi + 0x238]
movss dword [rax + 0x19a8], xmm0
movzx r8d, bl
call fcn.180029110
mov r13, qword [rsp + 0x58]
xor r12d, r12d
inc word [rdi + 0x8a]
mov r15, qword [rsp + 0x168]
mov dword [rsi + 0x1b90], r12d
mov r12, qword [rsp + 0x180]
bt r14d, 0x18
jae 0x18002e5bf
test r14b, 0x40
jne 0x18002e586
cmp byte [rdi + 0x94], 0
jg 0x18002e586
cmp byte [rdi + 0x95], 0
jg 0x18002e586
movss xmm0, dword [rdi + 0x220]
comiss xmm0, dword [rdi + 0x218]
jbe 0x18002e580
movss xmm0, dword [rdi + 0x224]
comiss xmm0, dword [rdi + 0x21c]
ja 0x18002e586
mov dword [rdi + 0x9c], ebx
test r13, r13
je 0x18002e5bf
cmp byte [r13 + 0x81], 0
jne 0x18002e59f
cmp dword [r13 + 0x9c], 0
jle 0x18002e5a5
mov dword [rdi + 0x9c], ebx
cmp byte [r13 + 0x81], 0
jne 0x18002e5b9
cmp dword [r13 + 0xa0], 0
jle 0x18002e5bf
mov dword [rdi + 0xa0], ebx
comiss xmm7, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x188]
mov r14, qword [rsp + 0x170]
mov r13, qword [rsp + 0x178]
movaps xmm7, xmmword [rsp + 0x140]
jb 0x18002e5ee
mov dword [rdi + 0x9c], ebx
cmp dword [rdi + 0x9c], 0
jg 0x18002e604
cmp dword [rdi + 0xa0], 0
jg 0x18002e604
xor cl, cl
jmp 0x18002e606
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x18002e61f
cmp byte [rdi + 0x7e], al
je 0x18002e61f
test cl, cl
je 0x18002e63c
cmp byte [rdi + 0x94], al
jg 0x18002e63c
cmp byte [rdi + 0x95], al
jg 0x18002e63c
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x83], al
xor al, 1
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret