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

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
lea rbp, [r11 - 0xb8]
sub rsp, 0x198
mov rax, qword [0x18004e010]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov qword [r11 + 0x10], rbx
mov r14, rcx
mov qword [r11 - 0x28], rsi
mov ebx, r8d
mov rsi, qword [0x18004eae8]
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xa8], xmm12
mov qword [rbp - 0x58], rcx
call fcn.18000d240
test rax, rax
mov qword [rsp + 0x58], rax
mov rdi, rax
xorps xmm12, xmm12
sete byte [rsp + 0x31]
test rax, rax
jne 0x18000f9ef
mov ecx, dword [rsi + 0x1ab8]
and ecx, 2
je 0x18000f9b7
movsd xmm0, qword [rsi + 0x1ad8]
movsd qword [rsp + 0x50], xmm0
jmp 0x18000f9c0
mov qword [rsp + 0x40], 0
test ecx, ecx
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x40]
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.18000d310
mov rdi, rax
mov r13d, dword [rsi + 0x19b0]
mov ecx, ebx
mov r12d, dword [rdi + 0x250]
and ecx, 0xc0200
mov r15d, ebx
or r15d, 6
cmp ecx, 0xc0200
lea eax, [r13 - 1]
cmovne r15d, ebx
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
setl dl
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x32], dl
bt r15d, 0x1a
jae 0x18000fa69
movsxd rax, dword [rsi + 0x1b70]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1b68]
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 + 0x3c]
or dl, cl
mov byte [rsp + 0x32], dl
test dl, dl
jne 0x18000fa79
test eax, eax
jg 0x18000fa79
mov byte [rdi + 0x84], dl
jmp 0x18000fa95
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, r13d
je 0x18000fad8
mov dword [rdi + 0xc], r15d
mov dword [rdi + 0x250], r13d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rdi + 0x8a], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
inc dword [rsi + 0x1a10]
mov word [rdi + 0x8c], ax
jmp 0x18000fadc
mov r15d, dword [rdi + 0xc]
lea rbx, [rsi + 0x19f0]
movsxd rax, dword [rbx]
test eax, eax
jne 0x18000faef
mov rax, rcx
jmp 0x18000fb00
mov rcx, rax
mov rax, qword [rsi + 0x19f8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x18000fb17
test r15d, 0x5000000
cmovne rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x18000fb23
mov rax, qword [rdi + 0x358]
mov qword [rsp + 0x50], rax
lea r14, [rdi + 0xc0]
mov eax, 8
cmp dword [r14], 0
jne 0x18000fb5b
cmp dword [r14 + 4], 0
jne 0x18000fb46
mov edx, eax
mov rcx, r14
call fcn.180019490
mov eax, dword [rdi + 8]
movsxd rdx, dword [r14]
mov rcx, qword [r14 + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [r14]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18000fb88
inc r8d
test ecx, ecx
je 0x18000fb76
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.180018ed0
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x1d0]
mov rax, qword [rbx + 8]
xor r9d, r9d
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov rcx, qword [0x18004eae8]
mov qword [rsi + 0x1a18], r9
movzx eax, word [r14]
mov word [rdx], ax
movzx eax, word [rdi + 0x1c0]
mov word [rdx + 2], ax
movzx eax, word [rcx + 0x1b70]
mov word [rdx + 4], ax
movzx eax, word [rcx + 0x1b30]
mov word [rdx + 6], ax
movzx eax, word [rcx + 0x1b40]
mov word [rdx + 8], ax
movzx eax, word [rcx + 0x1b50]
mov word [rdx + 0xa], ax
mov eax, r15d
and eax, 0x4000000
mov dword [rsp + 0x38], eax
je 0x18000fc29
lea rcx, [rsi + 0x1b70]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1b68]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180018c70
mov eax, dword [rbx]
xor r9d, r9d
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x3c], 0
jle 0x18000fc3e
bt r15d, 0x18
jb 0x18000fc3e
mov dword [rdi + 0x380], r9d
xor dl, dl
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x34], dl
mov byte [rsp + 0x33], dl
mov byte [rsp + 0x30], dl
je 0x18000fcd0
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x34], dl
test r8d, ecx
je 0x18000fcc1
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180047294]
jbe 0x18000fcc1
movsd xmm0, qword [rsi + 0x1ac8]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ad0]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18000fcd0
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.1800123c0
test byte [rsi + 0x1ab8], 2
je 0x18000fd2d
mov r8d, dword [rsi + 0x1ac0]
lea rdx, [rsi + 0x1ad8]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18000fd03
movss xmm0, dword [rdx]
comiss xmm0, xmm12
jbe 0x18000fd03
mov byte [rsp + 0x33], 1
jmp 0x18000fd0d
xor cl, cl
mov byte [rsp + 0x33], cl
test eax, eax
je 0x18000fd20
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm12
mov byte [rsp + 0x30], 1
ja 0x18000fd25
mov byte [rsp + 0x30], 0
mov rcx, rdi
call fcn.180012490
test byte [rsi + 0x1ab8], 4
je 0x18000fd45
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x18000fd52
cmp r12d, r13d
je 0x18000fd52
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1ab8], 8
je 0x18000fd81
mov eax, dword [rsi + 0x1ac4]
movzx ecx, byte [rsi + 0x1ae8]
test eax, eax
je 0x18000fd74
test dword [rdi + 0xac], eax
je 0x18000fd81
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x18000fd92
mov rcx, rdi
call fcn.180011ce0
cmp byte [rdi + 0x84], 0
je 0x18000fdb0
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r13d
je 0x180011a1c
mov rax, qword [rsp + 0x50]
mov ecx, r15d
movaps xmmword [rsp + 0x170], xmm6
and ecx, 0x3000000
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
movaps xmmword [rsp + 0x130], xmm10
movaps xmmword [rsp + 0x120], xmm11
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xf0], xmm14
movaps xmmword [rsp + 0xe0], xmm15
mov dword [rsp + 0x60], ecx
mov qword [rdi + 0x358], rax
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
test rax, rax
je 0x18000fe79
cmp ecx, 0x1000000
jne 0x18000fe5b
mov rax, qword [rax + 0x360]
mov qword [rdi + 0x360], rax
mov rax, qword [rsp + 0x50]
bt r15d, 0x1b
jb 0x18000fe79
test r15d, 0x5000000
je 0x18000fe79
mov rax, qword [rax + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x18000feaa
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18000fe90
mov byte [rdi + 0x7e], bl
mov byte [rdi + 0x86], 0
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [r14 + 4]
cmp ecx, ebx
jge 0x18000ff07
test ecx, ecx
je 0x18000fef3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000fef8
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, r14
cmovg edx, eax
call fcn.180019490
mov dword [r14], ebx
cmp byte [rdi + 0x3a8], 0
je 0x18000ff52
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.180019360
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.180019120
xor r13d, r13d
mov qword [rdi + 0x3ac], r13
jmp 0x18000ff55
xor r13d, r13d
cmp qword [rsi + 0x1bd8], 0
mov r8, qword [rsp + 0x58]
je 0x18001001f
test dword [rdi + 0xc], 0x80000
jne 0x18001001f
test r8, r8
je 0x18001001f
mov r12, qword [rbp - 0x58]
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 0x18000ffa3
inc rax
test ecx, ecx
jne 0x18000ff90
test edx, edx
je 0x18001001a
movsxd r14, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18000ffb2
inc rbx
cmp r14, rbx
jae 0x180010005
test r9, r9
je 0x18000ffdb
mov rax, qword [0x18004eae8]
test rax, rax
je 0x18000ffdb
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18004eae8]
test rax, rax
je 0x18000fff6
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 r14, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x48], r14d
mov r8, qword [rsp + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18000d9f0
lea r10, [rdi + 0x28]
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [r10], xmm3
movss dword [r10 + 4], xmm4
test eax, eax
jle 0x180010056
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x180010068
dec eax
mov dword [rdi + 0xa0], eax
movzx ebx, byte [rsp + 0x33]
test r8, r8
jne 0x18001008a
test bl, bl
je 0x18001007d
cmp byte [rsp + 0x30], r8b
jne 0x18001008a
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x18001008f
mov eax, 1
cmp byte [rsp + 0x32], 0
je 0x1800100d3
test r15d, 0x6000000
je 0x1800100d3
mov dword [rdi + 0xa0], eax
test r15b, 0x40
je 0x1800100d3
test bl, bl
jne 0x1800100b7
mov dword [rdi + 0x20], r13d
mov dword [rdi + 0x18], r13d
movzx r14d, byte [rsp + 0x30]
test r14b, r14b
jne 0x1800100ca
mov dword [rdi + 0x24], r13d
mov dword [rdi + 0x1c], r13d
mov qword [r10], 0
jmp 0x1800100d9
movzx r14d, byte [rsp + 0x30]
mov rcx, qword [0x18004eae8]
mov qword [rcx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdi + 0x2a0]
mulss xmm0, dword [rcx + 0x1914]
test rax, rax
je 0x18001010b
mulss xmm0, dword [rax + 0x2a0]
mov r13d, r15d
movss dword [rcx + 0x1928], xmm0
and r13d, 0x1000000
movss dword [rcx + 0x1910], xmm0
mov dword [rsp + 0x64], r13d
je 0x180010136
movss xmm1, dword [rsi + 0x1584]
jmp 0x180010158
test r15d, 0x6000000
je 0x180010150
bt r15d, 0x1b
jb 0x180010150
movss xmm1, dword [rsi + 0x158c]
jmp 0x180010158
movss xmm1, dword [rsi + 0x1568]
movss dword [rdi + 0x44], xmm1
mov eax, r15d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x1800101a2
ucomiss xmm1, xmm12
jp 0x1800101a2
jne 0x1800101a2
bt r15d, 0xa
jae 0x180010192
movss xmm0, dword [rsi + 0x1560]
jmp 0x180010196
movaps xmm0, xmm12
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], 0
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1b14]
movss dword [rdi + 0x14c], xmm0
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x150], eax
test r15b, 0x21
jne 0x18001031d
mov r8d, dword [rdi + 0xc]
mov rdx, qword [0x18004eae8]
test r8b, 1
je 0x1800101ec
movaps xmm2, xmm12
jmp 0x180010220
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdi + 0x2a0]
mulss xmm0, dword [rcx + 0x1914]
test rax, rax
je 0x180010210
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rdx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1a20], rdi
jne 0x1800102d5
cmp dword [rsi + 0x1a4c], 0
jne 0x1800102d5
cmp dword [rsi + 0x1a54], 0
jne 0x1800102d5
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rdx + 0x15b0]
movss xmm0, dword [rdx + 0x15b4]
maxss xmm4, dword [rax + 0x230]
minss xmm3, dword [rax + 0x238]
maxss xmm5, dword [rax + 0x234]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rdx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x1800102d5
movss xmm0, dword [rdx + 0x134]
comiss xmm0, xmm5
jb 0x1800102d5
comiss xmm3, xmm1
jbe 0x1800102d5
comiss xmm2, xmm0
jbe 0x1800102d5
cmp byte [rsi + 0x425], 0
je 0x1800102d5
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x180010324
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x18004eae8]
sete al
mov byte [rdi + 0x81], al
bt r8d, 8
jb 0x18001030f
comiss xmm12, dword [rcx + 0x2ef8]
jb 0x18001030f
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rdi
call fcn.180011ce0
lea r10, [rdi + 0x28]
jmp 0x180010324
mov byte [rdi + 0x81], 0
mov r8, r10
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18000dab0
movzx r12d, byte [rsp + 0x31]
mov eax, r15d
and eax, 0x40
mov dword [rbp - 0x6c], eax
je 0x180010385
cmp byte [rdi + 0x81], 0
jne 0x180010385
test bl, bl
jne 0x180010369
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r14b, r14b
jne 0x180010428
movss xmm0, dword [rsp + 0x44]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180010428
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18001039d
cmp byte [rdi + 0x95], 0
jle 0x180010428
test bl, bl
jne 0x1800103ca
test al, al
jle 0x1800103ca
cmp byte [rdi + 0x97], bl
je 0x1800103ba
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x40]
jmp 0x1800103c0
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r14b, r14b
jne 0x1800103fc
cmp byte [rdi + 0x95], r14b
jle 0x1800103fc
cmp byte [rdi + 0x97], r14b
je 0x1800103ee
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x44]
jmp 0x1800103f4
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x180010428
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18004eae8]
jne 0x180010428
comiss xmm12, dword [rcx + 0x2ef8]
jb 0x180010428
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.18000d750
cmp byte [rdi + 0x81], 0
mov r14, qword [0x18004eae8]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm0
je 0x1800104cb
test r13d, r13d
jne 0x1800104cb
test byte [rdi + 0xc], 1
je 0x18001046d
movaps xmm2, xmm12
jmp 0x1800104a3
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180010492
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [r14 + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm2
movss dword [rsp + 0x48], xmm0
jmp 0x1800104d6
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x48]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x1800104f2
movaps xmm1, xmm12
jmp 0x180010528
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180010517
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180010572
mov rax, qword [rdi + 0x358]
movss xmm11, dword [r14 + 0x1914]
mulss xmm11, dword [rdi + 0x2a0]
test rax, rax
je 0x180010555
mulss xmm11, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm11, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm11, xmm0
jmp 0x180010576
movaps xmm11, xmm12
cmp byte [rsp + 0x32], 0
addss xmm11, xmm1
mov ecx, dword [rsp + 0x38]
movzx r13d, byte [rsp + 0x34]
je 0x1800105ce
mov dword [rdi + 0x98], 0xffffffff
test ecx, ecx
je 0x1800105ce
test r13b, r13b
jne 0x1800105ce
movsxd rax, dword [rsi + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1b78]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
mov ecx, dword [rsp + 0x38]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
cmp dword [rsp + 0x64], 0
je 0x180010664
mov rdx, qword [rsp + 0x50]
lea rbx, [rdx + 0x158]
movzx eax, word [rbx]
mov word [rdi + 0x8a], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001062f
inc r8d
test ecx, ecx
je 0x18001060c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180010611
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180018ed0
mov rdx, qword [rsp + 0x50]
mov r14, qword [0x18004eae8]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ecx, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x60]
test ecx, ecx
jne 0x180010668
test r13b, r13b
jne 0x180010668
cmp ebx, 0x3000000
je 0x180010668
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x180010668
mov ebx, dword [rsp + 0x60]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180047400]
jp 0x18001067b
je 0x1800106cc
cmp dword [rdi + 0xa0], 0
jne 0x1800106cc
movss xmm0, dword [rdi + 0xb8]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.1800123c0
jmp 0x180010716
bt r15d, 0x1c
jb 0x1800106f7
test ecx, ecx
je 0x1800106e3
test r13b, r13b
jne 0x1800106e3
cmp dword [rsp + 0x3c], 0
jg 0x1800106f7
bt r15d, 0x19
jae 0x18001071a
test r13b, r13b
jne 0x18001071a
cmp ebx, 0x3000000
je 0x18001071a
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180013d80
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov ecx, dword [rsp + 0x38]
movss xmm6, dword [r14 + 0x14]
movss xmm15, dword [r14 + 0x10]
movss dword [rbp - 0x48], xmm15
movss dword [rsp + 0x38], xmm6
movss dword [rbp - 0x44], xmm6
movss dword [rbp - 0x50], xmm12
movss dword [rbp - 0x4c], xmm12
test r13b, r13b
jne 0x18001086b
cmp dword [rsp + 0x64], 0
jne 0x18001086b
cmp byte [rdi + 0x94], r13b
jg 0x18001086b
cmp byte [rdi + 0x95], r13b
jg 0x18001086b
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm12
jbe 0x18001086b
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm12
jbe 0x18001086b
movss xmm5, dword [rsi + 0x15f0]
movss xmm4, dword [rsi + 0x15ec]
maxss xmm5, dword [rsi + 0x15f8]
maxss xmm4, dword [rsi + 0x15f4]
cmp byte [r14 + 0xcc], r13b
je 0x180010807
test byte [rdi + 0xc], 1
jne 0x180010807
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x1800107e3
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
jmp 0x180010812
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x48]
movaps xmm3, xmm15
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm12
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm12
minss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm3
maxss xmm0, xmm5
subss xmm0, xmm2
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cmp dword [rsp + 0x64], 0
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
je 0x18001089e
movss xmm2, dword [rsi + 0x1580]
jmp 0x1800108bf
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1800108b7
movss xmm2, dword [rsi + 0x1588]
jmp 0x1800108bf
movss xmm2, dword [rsi + 0x1564]
xor dl, dl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x3c], edx
cmp byte [rsp + 0x32], dl
je 0x1800108f3
bt r15d, 0xc
jb 0x1800108f3
test ecx, ecx
je 0x1800108e2
mov byte [rsp + 0x3c], 1
jmp 0x1800108f3
test ebx, ebx
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [rsp + 0x3c], edx
addss xmm2, dword [0x180047314]
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0xffffffff
movups xmmword [rbp - 0x40], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x1800472c8]
setne cl
mulss xmm1, dword [0x180047320]
inc ecx
cmp byte [rdi + 0x81], 0
addss xmm2, xmm0
mov dword [rsp + 0x48], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x70], xmm0
jne 0x180010989
lea rax, [rbp - 0x40]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
call fcn.18000dec0
mov r14, qword [0x18004eae8]
test al, al
je 0x180010989
mov r12b, 1
movzx ecx, r12b
jmp 0x18001098e
movzx ecx, byte [rsp + 0x31]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x68]
mov byte [rdi + 0x87], al
jne 0x180010ac8
cmp qword [rsp + 0x58], 0
movss xmm2, dword [rdi + 0x208]
movss xmm3, dword [rdi + 0x20c]
subss xmm2, dword [rdi + 0x200]
subss xmm3, dword [rdi + 0x204]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm11
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x1800109f5
mov qword [rbp - 0x68], 0
lea rax, [rbp - 0x68]
jmp 0x180010a1f
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x60]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180010a2f
movaps xmm5, xmm2
test r12b, r12b
jne 0x180010a37
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x180010a4d
comiss xmm1, xmm4
jbe 0x180010a49
test r15b, 8
je 0x180010a4d
xor cl, cl
jmp 0x180010a4f
mov cl, 1
mov byte [rdi + 0x7d], cl
lea rdx, [rsi + 0x15c0]
bt r15d, 0xf
jb 0x180010a90
test cl, cl
je 0x180010a6a
movss xmm0, dword [rdx]
jmp 0x180010a6e
movaps xmm0, xmm12
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180010a86
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x180010a90
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm12
jmp 0x180010ab0
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x180010aac
comiss xmm1, xmm4
jbe 0x180010aa7
test r15b, 8
jne 0x180010aa7
mov cl, 1
jmp 0x180010aa9
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x180010aba
movss xmm0, dword [rdx]
jmp 0x180010abe
movaps xmm0, xmm12
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r12d, r15d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x180010af0
cmp ebx, 0x3000000
je 0x180010af0
mov rax, qword [rsp + 0x50]
add rax, 0x230
jmp 0x180010af4
lea rax, [rbp - 0x50]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm4, xmm7
addss xmm4, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm5, xmm3
addss xmm5, dword [rdi + 0x1c]
je 0x180010b1d
movaps xmm0, xmm12
jmp 0x180010b53
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r14 + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x180010b42
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x70], xmm7
movaps xmm1, xmm3
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x14]
movaps xmm8, xmm6
addss xmm2, dword [rdi + 0x20]
movss dword [rsp + 0x74], xmm0
mov eax, r15d
shufps xmm8, xmm6, 0xff
and eax, 0x401
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x78], xmm2
movss dword [rdi + 0x1f0], xmm7
movss dword [rdi + 0x1f4], xmm3
movss dword [rdi + 0x1f8], xmm4
movss dword [rdi + 0x1fc], xmm5
movaps xmm5, xmm6
movss xmm0, dword [rdi + 0x1f0]
shufps xmm5, xmm6, 0x55
maxss xmm0, xmm6
maxss xmm3, xmm5
movss dword [rdi + 0x1f0], xmm0
movss dword [rdi + 0x1f4], xmm3
movaps xmm3, xmm6
movss xmm1, dword [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x1fc]
shufps xmm3, xmm6, 0xaa
minss xmm0, xmm8
minss xmm1, xmm3
movss dword [rdi + 0x1fc], xmm0
movss dword [rdi + 0x1f8], xmm1
movss xmm10, dword [rdi + 0x10]
movss xmm4, dword [rdi + 0x14]
movaps xmm7, xmm10
movss dword [rdi + 0x200], xmm10
movaps xmm9, xmm4
addss xmm9, xmm11
addss xmm7, dword [rdi + 0x18]
addss xmm4, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm9
subss xmm7, dword [rdi + 0x74]
subss xmm4, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm7
movss dword [rdi + 0x20c], xmm4
cmp eax, 1
jne 0x180010c62
movss xmm13, dword [rdi + 0x44]
jmp 0x180010c6b
movss xmm13, dword [rsi + 0x159c]
movss xmm14, dword [0x1800472e0]
lea r13, [rdi + 0x210]
movss xmm0, dword [rdi + 0x38]
addss xmm10, xmm14
mulss xmm0, xmm14
addss xmm9, xmm14
addss xmm7, xmm14
addss xmm4, xmm14
cvttss2si eax, xmm0
subss xmm4, dword [rdi + 0x44]
addss xmm9, xmm13
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rdi + 0x44]
addss xmm10, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm10
movd xmm10, eax
cvttss2si eax, xmm9
cvtdq2ps xmm10, xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm7
movss dword [rdi + 0x214], xmm0
movss dword [r13], xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [rdi + 0x218], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm5, xmm0
jbe 0x180010d1a
movaps xmm1, xmm5
jmp 0x180010d22
movaps xmm1, xmm8
minss xmm1, xmm0
comiss xmm6, xmm10
jbe 0x180010d2d
movaps xmm0, xmm6
jmp 0x180010d35
movaps xmm0, xmm3
minss xmm0, xmm10
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm5, xmm0
ja 0x180010d55
minss xmm8, xmm0
movaps xmm5, xmm8
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x180010d65
movaps xmm3, xmm6
jmp 0x180010d69
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm12
jbe 0x180010d93
test r15d, 0x2000040
jne 0x180010d93
mulss xmm0, dword [0x1800472ec]
jmp 0x180010da3
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x18004739c]
cvttss2si eax, xmm0
mov r8b, 1
lea rcx, [rbp - 0x80]
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x258], xmm0
movss xmm0, dword [rdi + 0x208]
subss xmm0, dword [rdi + 0x200]
movss xmm1, dword [rdi + 0x38]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm12
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x3c]
addss xmm1, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm12
maxss xmm0, xmm1
movss dword [rdi + 0x60], xmm0
call fcn.180012b90
mov rcx, qword [rdi + 0x2a8]
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.180020d50
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rdi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.180021350
mov rcx, qword [0x18004eae8]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a18]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a18]
mov rcx, qword [rbx + 0x2a8]
call fcn.180021220
mov rax, qword [rbx + 0x2a8]
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 + 0x230], eax
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov r9, qword [0x18004eae8]
bt r15d, 0x1b
jae 0x180010f54
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x180010f3b
mov r8, qword [r9 + 0x1b68]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x180010f31
test dword [rax + 0xc], 0x8000000
jne 0x180010f3d
sub r8, 0x30
sub rdx, 1
jns 0x180010f20
xor eax, eax
cmp rdi, rax
jne 0x180010f54
cmp dword [rdi + 0xa0], 0
jg 0x180010f54
mov cl, 1
mov edx, 0x3a0
jmp 0x180010f5b
xor cl, cl
mov edx, 0x390
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x180010f74
cmp rdi, qword [rax + 0x360]
jne 0x180010f74
mov bl, 1
jmp 0x180010f76
xor bl, bl
test cl, cl
jne 0x180010f82
test bl, bl
je 0x1800110c5
movups xmm1, xmmword [r9 + rdx + 0x1558]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.180007c50
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x48]
movss dword [rsp + 0x20], xmm12
call fcn.180023490
test bl, bl
je 0x1800110c5
movss xmm13, dword [rsp + 0x38]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x1800110cc
movss xmm0, dword [rsi + 0x1910]
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 xmm12, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x50], xmm1
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x4c], xmm4
movss dword [rbp - 0x44], xmm3
jb 0x180011056
comiss xmm12, xmm4
jb 0x180011056
comiss xmm2, xmm15
jb 0x180011056
comiss xmm3, xmm13
jae 0x1800110cc
mov rax, qword [0x18004eae8]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x1800472cc]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.180007c50
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x48]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180023490
jmp 0x1800110cc
movss xmm13, dword [rsp + 0x38]
xor bl, bl
cmp r12d, 0x1000000
mov r12, qword [rsp + 0x50]
jne 0x180011116
cmp dword [rsp + 0x60], 0x3000000
je 0x180011116
mov rdx, qword [rdi + 0x2a8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x180011116
mov rax, qword [r12 + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x180011116
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x180011129
mov rax, qword [rsi + 0x1b80]
cmp byte [rsp + 0x3c], 0
jne 0x18001114a
test rax, rax
je 0x180011145
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x18001114a
xor r8b, r8b
jmp 0x18001114d
mov r8b, 1
movss xmm0, dword [rbp - 0x70]
lea rax, [rbp - 0x40]
mov r9d, dword [rsp + 0x48]
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18000ecf0
test bl, bl
je 0x180011185
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x180011309
movss xmm1, dword [rsi + 0x1910]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm9, xmm1
movaps xmm8, xmm6
movaps xmm10, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm10, dword [rsi + 0x1564]
subss xmm8, xmm1
comiss xmm12, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x180011220
comiss xmm12, xmm8
jb 0x180011220
comiss xmm7, xmm15
jb 0x180011220
comiss xmm6, xmm13
jb 0x180011220
xorps xmm1, xmmword [0x180047560]
movaps xmm10, xmm2
subss xmm1, dword [0x180047314]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18004eae8]
lea rcx, [rbp - 0x40]
movss xmm0, dword [rsi + 0x1be4]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x34], xmm1
call fcn.180007c50
mov r14d, eax
test eax, 0xff000000
je 0x180011309
test byte [rbx + 0x30], 1
addss xmm9, xmm14
addss xmm8, xmm14
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm10
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x1800112b0
subss xmm7, xmm14
subss xmm6, xmm14
jmp 0x1800112c0
subss xmm7, dword [0x1800472dc]
subss xmm6, dword [0x1800472dc]
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x5c], xmm6
call fcn.180022eb0
movss xmm0, dword [0x180047354]
mov r9d, r14d
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.180021620
xor r8d, r8d
mov dword [rbx + 0x80], r8d
jmp 0x18001130c
xor r8d, r8d
movss xmm6, dword [rdi + 0x30]
mov ecx, r15d
movaps xmm15, xmmword [rsp + 0xe0]
movaps xmm14, xmmword [rsp + 0xf0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm12
jp 0x180011374
jne 0x180011374
movss xmm0, dword [rdi + 0x38]
mov eax, r15d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x180011369
movss xmm8, dword [rdi + 0x28]
maxss xmm8, xmm1
jmp 0x180011378
movaps xmm8, xmm12
maxss xmm8, xmm1
jmp 0x180011378
movaps xmm8, xmm6
movss xmm5, dword [rdi + 0x34]
ucomiss xmm5, xmm12
jp 0x1800113ba
jne 0x1800113ba
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm11
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x1800113b0
movss xmm7, dword [rdi + 0x2c]
maxss xmm7, xmm1
jmp 0x1800113bd
movaps xmm7, xmm12
maxss xmm7, xmm1
jmp 0x1800113bd
movaps xmm7, xmm5
ucomiss xmm6, xmm12
movss xmm4, dword [rdi + 0x38]
movss xmm10, dword [rdi + 0x54]
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x44]
movss xmm0, dword [rdi + 0x200]
movss xmm9, dword [rdi + 0x3c]
subss xmm0, xmm10
movss xmm13, dword [rdi + 0x58]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x204]
subss xmm0, xmm13
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x220], xmm3
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x150]
cvttss2si eax, xmm1
movss dword [rdi + 0x228], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x224], xmm2
addss xmm2, xmm7
movss xmm7, dword [rdi + 0x14]
movaps xmm1, xmm7
subss xmm1, xmm13
movss dword [rdi + 0x22c], xmm2
movss xmm2, dword [rdi + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm10
addss xmm1, xmm9
addss xmm3, xmm4
addss xmm1, xmm11
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm1
jp 0x1800114a4
jne 0x1800114a4
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm5, xmm12
addss xmm3, xmm6
movaps xmm6, xmmword [rsp + 0x170]
movss dword [rdi + 0x248], xmm3
jp 0x1800114dc
jne 0x1800114dc
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm5, xmm0
subss xmm5, xmm11
subss xmm5, dword [rdi + 0x78]
mov qword [rdi + 0x1e0], 0
addss xmm11, xmm9
movaps xmm9, xmmword [rsp + 0x140]
addss xmm4, xmm12
addss xmm1, xmm5
subss xmm11, xmm13
movaps xmm13, xmmword [rsp + 0x100]
subss xmm4, xmm10
movaps xmm10, xmmword [rsp + 0x130]
movss dword [rdi + 0x24c], xmm1
addss xmm11, xmm7
movaps xmm7, xmmword [rsp + 0x160]
movss dword [rdi + 0x1dc], xmm4
addss xmm4, xmm12
movss dword [rdi + 0xe4], xmm11
movss dword [rdi + 0xd4], xmm11
addss xmm4, xmm2
movss dword [rdi + 0xdc], xmm11
movss dword [rdi + 0xe0], xmm4
movss dword [rdi + 0xd0], xmm4
movss dword [rdi + 0xd8], xmm4
movss dword [rdi + 0xe8], xmm4
movss dword [rdi + 0xec], xmm11
movaps xmm11, xmmword [rsp + 0x120]
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov byte [rdi + 0x148], 0
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm12
seta al
mov byte [rdi + 0x149], al
mov eax, dword [rdi + 0x144]
mov dword [rdi + 0x140], eax
mov dword [rdi + 0x144], r8d
mov byte [rdi + 0x14a], 0
mov ecx, dword [rdi + 0x15c]
test ecx, ecx
jns 0x18001160b
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.180018ed0
xor r8d, r8d
mov dword [rdi + 0x158], r8d
mov eax, 1
mov dword [rdi + 0x170], eax
test r12, r12
je 0x180011645
mov eax, dword [r12 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r12 + 0x180]
jmp 0x180011659
mov dword [rdi + 0x174], eax
mov eax, r8d
mov qword [rdi + 0x178], 0xffffffffffffffff
mov dword [rdi + 0x180], eax
lea rbx, [rdi + 0x190]
mov eax, dword [rdi + 0x258]
mov dword [rdi + 0x184], eax
mov dword [rdi + 0x188], 0xbf800000
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18001169f
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180019490
xor r8d, r8d
mov dword [rbx], r8d
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x1800116cc
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.180019490
xor r8d, r8d
mov dword [rdi + 0x1a0], r8d
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x1800116fd
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.180019490
xor r8d, r8d
mov dword [rdi + 0x1b0], r8d
lea rax, [rdi + 0x280]
mov qword [rdi + 0x1e8], r8
lea rcx, [rdi + 0x1c0]
mov qword [rdi + 0x108], 0
xor edx, edx
mov qword [rdi + 0x168], rax
call fcn.180018940
movss xmm0, dword [rsi + 0x15a0]
xor edx, edx
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], rdx
cmp byte [rsp + 0x32], dl
je 0x180011760
xor eax, eax
mov qword [rdi + 0x274], rax
mov dword [rdi + 0x27c], eax
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x274]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x268], xmm0
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x274], edx
movss xmm0, dword [rdi + 0x278]
comiss xmm0, xmm12
jbe 0x1800117b7
movss xmm0, dword [rdi + 0x260]
addss xmm0, dword [rdi + 0x25c]
movss dword [rdi + 0x260], xmm0
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x26c], xmm0
addss xmm1, dword [rdi + 0x278]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x278], edx
movss xmm0, dword [rdi + 0x27c]
comiss xmm0, xmm12
jbe 0x1800117fe
addss xmm1, dword [rdi + 0x25c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x270], xmm0
addss xmm1, dword [rdi + 0x27c]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x27c], edx
cmp dword [rsp + 0x64], edx
je 0x180011889
mov eax, dword [r12 + 0x180]
cmp dword [rdi + 0x180], eax
je 0x180011889
mov dword [rdi + 0x180], eax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180011877
inc r8d
test ecx, ecx
je 0x180011860
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180011865
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180019490
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x180]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
lea r12, [rdi + 0x94]
movzx eax, byte [r12]
test al, al
jle 0x18001189f
dec al
mov byte [r12], al
lea r14, [rdi + 0x95]
movzx eax, byte [r14]
test al, al
jle 0x1800118b3
dec al
mov byte [r14], al
cmp byte [rsp + 0x3c], 0
je 0x180011955
mov rcx, rdi
call fcn.180011ce0
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x18004eae8]
bt eax, 0x12
jb 0x180011949
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1800118eb
cmp dword [rdi + 0x380], 0
jne 0x180011949
movsxd rcx, dword [rdx + 0x1bec]
xor ebx, ebx
mov rax, qword [rdx + 0x1b80]
mov dword [rdx + 0x1b88], ebx
mov dword [rax + rcx*4 + 0x380], ebx
mov word [rdx + 0x1bf9], 1
mov qword [rdx + 0x1bfc], rbx
mov qword [rdx + 0x1c04], rbx
mov dword [rdx + 0x1c0c], ebx
cmp byte [rdx + 0x1c11], bl
jne 0x18001193f
cmp byte [rdx + 0x1bf9], bl
jne 0x18001193f
xor al, al
mov byte [rdx + 0x1bf8], al
jmp 0x180011957
mov al, 1
mov byte [rdx + 0x1bf8], al
jmp 0x180011957
mov eax, dword [rdi + 0x380]
mov dword [rdx + 0x1b88], eax
xor ebx, ebx
test r15b, 1
jne 0x18001196e
mov r8, qword [rbp - 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18000f3c0
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x70]
movss xmm4, dword [rsp + 0x78]
movss xmm5, dword [rsp + 0x7c]
movss xmm3, dword [rsp + 0x74]
mov dword [rdi + 0x110], eax
mov rax, qword [0x18004eae8]
movss xmm2, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm1, xmm2
addss xmm4, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm5, xmm0
subss xmm3, xmm0
comiss xmm2, xmm1
jb 0x1800119df
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm3
jb 0x1800119df
comiss xmm4, xmm2
jbe 0x1800119df
comiss xmm5, xmm0
mov eax, 1
ja 0x1800119e1
mov eax, ebx
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x114], eax
lea rdx, [rdi + 0x218]
mov r8b, 1
mov rcx, r13
movups xmmword [rdi + 0x118], xmm0
call fcn.18000c2b0
mov ecx, dword [rsp + 0x64]
mov rax, r14
mov r15d, dword [rbp - 0x6c]
mov r13, r12
mov byte [rdi + 0x80], 0
jmp 0x180011a97
mov rax, qword [0x18004eae8]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rdi
mov rcx, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x180011a4e
mulss xmm0, dword [rcx + 0x2a0]
mov ebx, r15d
movss dword [rax + 0x1928], xmm0
and ebx, 0x1000000
movss dword [rax + 0x1910], xmm0
lea rdx, [rdi + 0x218]
and r15d, 0x40
lea rcx, [rdi + 0x210]
mov r8b, 1
lea r13, [rdi + 0x94]
call fcn.18000c2b0
lea rax, [rdi + 0x95]
mov r12, r13
mov r14, rax
mov ecx, ebx
inc word [rdi + 0x88]
mov rbx, qword [rsp + 0x1c8]
mov dword [rsi + 0x1ab8], 0
test ecx, ecx
je 0x180011b4b
test r15d, r15d
jne 0x180011af7
cmp byte [r13], r15b
jg 0x180011af7
cmp byte [rax], r15b
jg 0x180011af7
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x180011aea
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x180011af7
mov edx, 1
mov dword [rdi + 0x9c], edx
jmp 0x180011afc
mov edx, 1
mov rax, qword [rsp + 0x50]
lea rcx, [rdi + 0x9c]
test rax, rax
je 0x180011b52
cmp byte [rax + 0x81], 0
jne 0x180011b28
cmp dword [rax + 0x9c], 0
jg 0x180011b28
lea rcx, [rdi + 0x9c]
jmp 0x180011b31
lea rcx, [rdi + 0x9c]
mov dword [rcx], edx
cmp byte [rax + 0x81], 0
jne 0x180011b43
cmp dword [rax + 0xa0], 0
jle 0x180011b52
mov dword [rdi + 0xa0], edx
jmp 0x180011b52
lea rcx, [rdi + 0x9c]
comiss xmm12, dword [rsi + 0x1558]
mov edx, 1
mov rsi, qword [rsp + 0x190]
mov r15, qword [rsp + 0x180]
mov r13, qword [rsp + 0x188]
movaps xmm12, xmmword [rsp + 0x110]
jb 0x180011b84
mov dword [rcx], edx
cmp dword [rcx], 0
jg 0x180011b96
cmp dword [rdi + 0xa0], 0
jg 0x180011b96
xor cl, cl
jmp 0x180011b98
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x180011bb1
cmp byte [rdi + 0x7e], al
je 0x180011bb1
test cl, cl
je 0x180011bc9
cmp byte [r12], al
jg 0x180011bc9
cmp byte [r14], al
jg 0x180011bc9
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.18003eb90
add rsp, 0x198
pop r14
pop r12
pop rdi
pop rbp
ret