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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x178]
sub rsp, 0x260
mov rax, qword [0x1800a0240]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, qword [0x1800b8180]
mov qword [r11 + 0x20], rbx
mov rbx, rcx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xc8], xmm14
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rcx
call fcn.180012e50
test rax, rax
mov qword [rsp + 0x58], rax
mov rdi, rax
sete dl
mov dword [rsp + 0x44], edx
test rax, rax
jne 0x180015ed4
mov edx, r14d
mov rcx, rbx
call fcn.180013240
mov edx, dword [rsp + 0x44]
mov rdi, rax
mov ecx, dword [rdi + 0x10]
cmp dword [rsi + 0x409c], ecx
jne 0x180015ee0
int3
mov ecx, r14d
and ecx, 0x30200
cmp ecx, 0x30200
jne 0x180015ef5
or r14d, 6
cmp dword [rsi + 0x4070], 0
mov ebx, dword [rsi + 0x3fe8]
mov r9d, dword [rdi + 0x288]
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x4c], r9d
jne 0x180015f21
cmp byte [rsi + 0x3ff5], 0
je 0x180015f21
mov al, 1
jmp 0x180015f23
xor al, al
mov byte [rdi + 0xd3], al
lea eax, [rbx - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x42], r8b
bt r14d, 0x1a
jae 0x180015f6d
movsxd rax, dword [rsi + 0x4ba0]
imul rax, rax, 0x38
add rax, qword [rsi + 0x4b98]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x94], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x42], r8b
mov byte [rdi + 0xd1], r8b
test r8b, r8b
je 0x180015f8e
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
xor r12d, r12d
cmp r9d, ebx
je 0x180015ffc
mov r8d, r14d
mov rcx, rdi
call fcn.180012f20
mov dword [rdi + 0x14], r14d
test dword [rsi + 0x4ab8], 0x100
je 0x180015fb9
mov eax, dword [rsi + 0x4af0]
jmp 0x180015fbc
mov eax, r12d
mov r9d, dword [rsp + 0x4c]
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x288], ebx
movsd xmm0, qword [rsi + 0x3fe0]
mov word [rdi + 0xdc], r12w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x28c], xmm0
movzx eax, word [rsi + 0x4090]
inc dword [rsi + 0x4090]
mov word [rdi + 0xde], ax
jmp 0x180016000
mov r14d, dword [rdi + 0x14]
movsxd rax, dword [rsi + 0x4070]
test eax, eax
jne 0x180016010
mov r15, r12
jmp 0x180016020
imul rcx, rax, 0x70
mov rax, qword [rsi + 0x4078]
mov r15, qword [rcx + rax - 0x70]
cmp r9d, ebx
je 0x180016035
test r14d, 0x5000000
mov r13, r12
cmovne r13, r15
jmp 0x18001603c
mov r13, qword [rdi + 0x390]
lea rbx, [rdi + 0x108]
mov qword [rsp + 0x60], r13
mov edx, 8
cmp dword [rbx], r12d
jne 0x180016074
cmp dword [rbx + 4], r12d
jne 0x180016060
mov rcx, rbx
call fcn.180025dc0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x10]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [rbx]
mov qword [rsi + 0x40a0], rdi
xorps xmm0, xmm0
movzx eax, word [rbx]
mov qword [rbp - 0x10], rdi
movups xmm1, xmmword [rsi + 0x4a78]
movups xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x48], ax
movzx eax, word [rsi + 0x4b30]
mov word [rbp + 0x4a], ax
movzx eax, word [rsi + 0x4b40]
mov word [rbp + 0x4c], ax
movzx eax, word [rsi + 0x4b50]
mov word [rbp + 0x4e], ax
movzx eax, word [rsi + 0x4b60]
mov word [rbp + 0x50], ax
movzx eax, word [rsi + 0x4b80]
mov word [rbp + 0x52], ax
movzx eax, word [rsi + 0x4b70]
mov word [rbp + 0x54], ax
movzx eax, word [rsi + 0x4ba0]
mov word [rbp + 0x56], ax
movzx eax, word [rsi + 0x600c]
mov word [rbp + 0x58], ax
movups xmm0, xmmword [rsi + 0x4a68]
movups xmmword [rbp + 8], xmm1
movups xmm1, xmmword [rsi + 0x4a98]
movups xmmword [rbp - 8], xmm0
movups xmm0, xmmword [rsi + 0x4a88]
movups xmmword [rbp + 0x28], xmm1
movups xmmword [rbp + 0x18], xmm0
movups xmm0, xmmword [rsi + 0x4aa8]
movups xmmword [rbp + 0x38], xmm0
bt r14d, 0x19
jae 0x180016132
test dword [rsi + 0x4a28], 0x400
je 0x180016132
mov r12b, 1
lea rbx, [rsi + 0x4070]
mov byte [rbp + 0x5a], r12b
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18001616e
inc r8d
test ecx, ecx
je 0x18001615a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001615c
mov eax, edx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180025940
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
imul rcx, rax, 0x70
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [rcx + rax + 0x30], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [rcx + rax + 0x40], xmm0
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [rcx + rax + 0x50], xmm1
movups xmmword [rcx + rax + 0x60], xmm0
inc dword [rbx]
bt r14d, 0x1c
jae 0x1800161c6
inc dword [rsi + 0x5f7c]
mov ebx, dword [rsp + 0x54]
cmp dword [rsp + 0x4c], ebx
je 0x180016296
mov qword [rdi + 0x390], r13
mov qword [rdi + 0x3b8], rdi
mov qword [rdi + 0x3b0], rdi
mov qword [rdi + 0x3a8], rdi
mov qword [rdi + 0x3a0], rdi
test r13, r13
je 0x18001624c
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180016219
mov rax, qword [r13 + 0x3a0]
mov qword [rdi + 0x3a0], rax
bt r14d, 0x1a
jae 0x18001622e
mov rax, qword [r13 + 0x3a8]
mov qword [rdi + 0x3a8], rax
bt r14d, 0x1b
jb 0x18001624c
test r14d, 0x5000000
je 0x18001624c
mov rax, qword [r13 + 0x3b0]
mov qword [rdi + 0x3b0], rax
test dword [rdi + 0x18], 0x100
je 0x18001627a
mov rcx, rdi
nop dword [rax + rax]
mov rax, qword [rcx + 0x390]
mov qword [rdi + 0x3b8], rax
mov rcx, rax
test dword [rax + 0x18], 0x100
jne 0x180016260
bt r14d, 0x18
mov qword [rdi + 0x398], r15
mov eax, 0
cmovb rax, r15
mov qword [rdi + 0x3c0], rax
test dword [rdi + 0x18], 0x100
je 0x1800162a7
mov ecx, dword [rsi + 0x4a24]
jmp 0x1800162aa
mov ecx, dword [rdi + 0x10]
call fcn.180019020
mov eax, dword [rsi + 0x4a24]
mov dword [rdi + 0x408], eax
bt r14d, 0x1a
jae 0x1800162fd
movsxd rax, dword [rsi + 0x4ba0]
lea rcx, [rsi + 0x4ba0]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x4b98]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x170]
mov dword [rbx + 0x18], eax
call fcn.180024d40
mov eax, dword [rbx]
mov ebx, dword [rsp + 0x54]
mov dword [rdi + 0x94], eax
xor r13b, r13b
mov byte [rsp + 0x41], 0
test byte [rsi + 0x4ab8], 1
mov byte [rsp + 0x40], r13b
je 0x1800163a1
movsx ecx, byte [rdi + 0xf0]
mov r8d, dword [rsi + 0x4abc]
test r8d, ecx
setne byte [rsp + 0x41]
test r8d, ecx
je 0x180016392
movss xmm0, dword [rsi + 0x4ad4]
movss xmm1, dword [rsi + 0x4ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18009854c]
jbe 0x180016392
movsd xmm0, qword [rsi + 0x4ac8]
and ecx, 0xf1
mov eax, dword [rdi + 0xf0]
and eax, 0xffffff00
movsd qword [rdi + 0xf4], xmm0
movsd xmm1, qword [rsi + 0x4ad0]
or ecx, eax
mov dword [rdi + 0xf0], ecx
movsd qword [rdi + 0xfc], xmm1
jmp 0x1800163a1
lea rdx, [rsi + 0x4ac8]
mov rcx, rdi
call fcn.180018d80
test byte [rsi + 0x4ab8], 2
xorps xmm14, xmm14
je 0x180016434
movsx ecx, byte [rdi + 0xf1]
mov eax, ecx
and eax, dword [rsi + 0x4ac0]
je 0x1800163d6
movss xmm0, dword [rsi + 0x4ad8]
comiss xmm0, xmm14
jbe 0x1800163d6
mov r13b, 1
jmp 0x1800163da
test eax, eax
je 0x1800163ed
movss xmm0, dword [rsi + 0x4adc]
comiss xmm0, xmm14
mov byte [rsp + 0x40], 1
ja 0x1800163f2
mov byte [rsp + 0x40], 0
test byte [rdi + 0x18], 4
je 0x180016406
test cl, 4
jne 0x180016406
mov eax, dword [rdi + 0x38]
mov dword [rsi + 0x4ad8], eax
test byte [rdi + 0x18], 8
je 0x18001641e
test byte [rdi + 0xf1], 4
jne 0x18001641e
mov eax, dword [rdi + 0x3c]
mov dword [rsi + 0x4adc], eax
mov r8d, dword [rsi + 0x4ac0]
lea rdx, [rsi + 0x4ad8]
mov rcx, rdi
call fcn.180018ef0
test byte [rsi + 0x4ab8], 0x80
je 0x180016477
movss xmm0, dword [rsi + 0x4ae8]
xor eax, eax
comiss xmm0, xmm14
jb 0x18001645b
movss dword [rdi + 0xa8], xmm0
mov dword [rdi + 0xb0], eax
movss xmm0, dword [rsi + 0x4aec]
comiss xmm0, xmm14
jb 0x180016477
movss dword [rdi + 0xac], xmm0
mov dword [rdi + 0xb4], eax
test byte [rsi + 0x4ab8], 4
je 0x1800165ee
movsd xmm0, qword [rsi + 0x4ae0]
movsd qword [rdi + 0x50], xmm0
xor ebx, ebx
test byte [rsi + 0x4ab8], 8
je 0x1800164e1
mov ecx, dword [rsi + 0x4ac4]
movzx edx, byte [rsi + 0x4af4]
test ecx, ecx
je 0x1800164b8
movsx eax, byte [rdi + 0xf2]
test ecx, eax
je 0x1800164e1
movzx ecx, byte [rdi + 0xf2]
mov eax, dword [rdi + 0xf0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xcd], dl
mov dword [rdi + 0xf0], ecx
test byte [rsi + 0x4ab8], 0x20
je 0x1800164f4
xor edx, edx
mov rcx, rdi
call fcn.180018620
movzx edx, byte [rdi + 0xd1]
test dl, dl
je 0x180016514
and byte [rdi + 0xf0], 0xf7
and byte [rdi + 0xf1], 0xf7
and byte [rdi + 0xf2], 0xf7
mov r8, qword [0x1800b8180]
mov byte [rdi + 0xd0], 0
test dword [r8 + 0x4ab8], 0x200
je 0x180016597
mov ecx, dword [r8 + 0x4b24]
test cl, 1
je 0x180016597
test dl, dl
jne 0x180016597
cmp byte [rdi + 0xd2], dl
jne 0x180016597
test cl, 2
je 0x180016568
mov rax, qword [r8 + 0x40a8]
test rax, rax
je 0x180016568
mov rax, qword [rax + 0x3a0]
cmp qword [rdi + 0x3a0], rax
je 0x180016597
test cl, 4
je 0x180016589
mov rax, qword [r8 + 0x4bd0]
test rax, rax
je 0x180016589
mov rax, qword [rax + 0x3a0]
cmp qword [rdi + 0x3a0], rax
je 0x180016597
mov qword [rdi + 0x2c0], rbx
mov byte [rdi + 0xd0], 1
test r12b, r12b
je 0x18001663b
cmp qword [rdi + 0x3a0], rdi
jne 0x18001663b
and dword [r8 + 0x4a28], 0xfffffbff
lea r15, [r8 + 0x4b70]
mov eax, dword [r8 + 0x6008]
mov rbx, r8
mov dword [r8 + 0x3900], eax
mov eax, dword [r15]
mov ecx, dword [r15 + 4]
cmp eax, ecx
jne 0x180016621
lea r8d, [rax + 1]
test ecx, ecx
je 0x180016603
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180016608
cmp dword [rsp + 0x4c], ebx
je 0x180016491
xor ebx, ebx
mov qword [rdi + 0x50], rbx
jmp 0x180016493
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180025dc0
mov r8, qword [0x1800b8180]
movsxd rdx, dword [r15]
mov rcx, qword [r15 + 8]
mov eax, dword [rbx + 0x4a28]
mov dword [rcx + rdx*4], eax
inc dword [r15]
inc word [rbx + 0x600c]
mov ebx, dword [rsp + 0x54]
xor ecx, ecx
mov r12d, dword [rsp + 0x4c]
mov r15d, 1
mov qword [rsi + 0x40a0], rcx
cmp r12d, ebx
je 0x180017fc2
cmp byte [rdi + 0xd0], cl
jne 0x180017fca
movaps xmmword [rsp + 0x230], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x220], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x70], rcx
movaps xmmword [rsp + 0x210], xmm8
movaps xmmword [rsp + 0x200], xmm9
movaps xmmword [rsp + 0x1f0], xmm10
movaps xmmword [rsp + 0x1e0], xmm11
movaps xmmword [rsp + 0x1d0], xmm12
mov byte [rdi + 0xca], r15b
movaps xmmword [rsp + 0x1c0], xmm13
mov dword [rsp + 0x50], eax
movzx eax, byte [rdi + 0xed]
mov byte [rsp + 0x48], al
setne al
mov byte [rdi + 0xd5], al
mov dword [rdi + 0x260], 0xff7fffff
mov dword [rdi + 0x264], 0xff7fffff
mov dword [rdi + 0x268], 0x7f7fffff
mov dword [rdi + 0x26c], 0x7f7fffff
mov ecx, dword [rdi + 0x10c]
cmp ecx, r15d
jge 0x180016735
test ecx, ecx
je 0x18001671b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180016720
mov eax, 8
cmp eax, r15d
lea rcx, [rdi + 0x108]
mov edx, r15d
cmovg edx, eax
call fcn.180025dc0
mov dword [rdi + 0x108], r15d
mov rcx, qword [rdi + 0x2c0]
call fcn.18002e7b0
cmp byte [rdi + 0x414], 0
mov dword [rdi + 0x1d0], 0xffffffff
je 0x180016798
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x40c]
add rcx, 0x10
mov byte [rdi + 0x414], 0
call fcn.180025620
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x410]
add rcx, 0x20
call fcn.180025380
xor r11d, r11d
mov qword [rdi + 0x40c], r11
cmp qword [rsi + 0x4dc0], 0
mov r9, qword [rsp + 0x58]
je 0x1800168bf
test dword [rdi + 0x14], 0x20000
jne 0x1800168bf
test r9, r9
je 0x1800168bf
mov r12, qword [rbp - 0x68]
mov r9, qword [rdi + 8]
mov rax, r12
mov r8, r9
sub r8, r12
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800167e5
inc rax
test ecx, ecx
jne 0x1800167d2
test edx, edx
je 0x1800168ba
movsxd r15, dword [rdi + 0x88]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [r12 + rbx], 0
jne 0x180016800
inc rbx
cmp r15, rbx
jae 0x1800168a1
test r9, r9
je 0x18001688a
mov r8, qword [0x1800b8180]
test r8, r8
je 0x18001688a
movsx rdx, word [r8 + 0x6250]
lea rcx, [r8 + 0x6254]
mov r10d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x18001687f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6250], cx
movsx rax, cx
lea rcx, [r8 + 0x6254]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], 0
inc word [rcx + 6]
inc dword [r8 + 0x624c]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.18000f250
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 8], rax
mov dword [rdi + 0x88], r15d
mov r9, qword [rsp + 0x58]
lea r8, [rdi + 0x48]
mov rcx, rdi
lea rdx, [rdi + 0x40]
call fcn.180013700
movzx eax, byte [rdi + 0xec]
test al, al
jle 0x1800168e2
dec al
mov byte [rdi + 0xec], al
movzx eax, byte [rdi + 0xed]
test al, al
jle 0x1800168f5
dec al
mov byte [rdi + 0xed], al
movzx eax, byte [rdi + 0xee]
test al, al
jle 0x180016908
dec al
mov byte [rdi + 0xee], al
test r9, r9
jne 0x180016920
test r13b, r13b
je 0x180016919
cmp byte [rsp + 0x40], r9b
jne 0x180016920
mov byte [rdi + 0xed], 1
xor r8d, r8d
cmp byte [rsp + 0x42], r8b
je 0x180016970
test r14d, 0x6000000
je 0x180016970
mov byte [rdi + 0xed], 1
test r14b, 0x40
je 0x180016970
test r13b, r13b
jne 0x18001694d
mov dword [rdi + 0x38], r8d
mov dword [rdi + 0x30], r8d
movzx ebx, byte [rsp + 0x40]
test bl, bl
jne 0x18001695e
mov dword [rdi + 0x3c], r8d
mov dword [rdi + 0x34], r8d
mov qword [rdi + 0x48], 0
mov qword [rdi + 0x40], 0
jmp 0x180016975
movzx ebx, byte [rsp + 0x40]
mov rdx, qword [0x1800b8180]
mov rax, qword [rdx + 0x4bc8]
mov r12, qword [rax]
mov qword [rdi + 0x20], r12
mov qword [rdx + 0x40a0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x1800169ad
imul rcx, rax, 0x250
add rcx, qword [rdx + 0x4ee0]
jmp 0x1800169b0
mov rcx, r8
mov qword [rdx + 0x4eb8], rcx
mov dword [rdx + 0x3db4], 0x3f800000
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3dac]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b8]
test rax, rax
je 0x1800169e8
mulss xmm0, dword [rax + 0x2b8]
mov rax, qword [rdx + 0x3da0]
movss dword [rdx + 0x3dc8], xmm0
movss dword [rdx + 0x3da8], xmm0
divss xmm0, dword [rax + 0x14]
movss dword [rdx + 0x3db0], xmm0
test rcx, rcx
jne 0x180016a1e
cmp qword [rdi + 0x1c8], rcx
jne 0x180016a1e
mov al, 1
jmp 0x180016a20
xor al, al
mov byte [rdi + 0x178], al
bt r14d, 0x18
jae 0x180016a37
movss xmm1, dword [rsi + 0x3930]
jmp 0x180016a59
test r14d, 0x6000000
je 0x180016a51
bt r14d, 0x1b
jb 0x180016a51
movss xmm1, dword [rsi + 0x3938]
jmp 0x180016a59
movss xmm1, dword [rsi + 0x3914]
movss dword [rdi + 0x64], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x3908]
and eax, 0x5000000
movsd qword [rdi + 0x58], xmm0
cmp eax, 0x1000000
jne 0x180016aa6
test byte [rdi + 0x18], 2
jne 0x180016aa6
ucomiss xmm1, xmm14
jp 0x180016aa6
jne 0x180016aa6
bt r14d, 0xa
jae 0x180016a99
movss xmm0, dword [rsi + 0x390c]
jmp 0x180016a9d
movaps xmm0, xmm14
movss dword [rdi + 0x5c], xmm0
mov dword [rdi + 0x58], r8d
movss xmm0, dword [rdi + 0x58]
maxss xmm0, dword [rsi + 0x394c]
maxss xmm0, dword [rsi + 0x4b1c]
movss dword [rdi + 0x184], xmm0
movss xmm2, dword [rsi + 0x4b20]
movss dword [rdi + 0x188], xmm2
test r14b, 1
je 0x180016adf
movaps xmm1, xmm14
jmp 0x180016af3
movss xmm1, dword [rsi + 0x3940]
addss xmm1, xmm1
addss xmm1, dword [rsi + 0x3da8]
movss dword [rdi + 0x68], xmm1
bt r14d, 0xa
jae 0x180016b19
movss xmm0, dword [rsi + 0x3940]
addss xmm2, dword [rsi + 0x3da8]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x180016b1d
movaps xmm2, xmm14
mov eax, dword [rsp + 0x44]
movzx r15d, al
movss dword [rdi + 0x6c], xmm2
test r13b, r13b
je 0x180016b42
movss xmm0, dword [rdi + 0x50]
ucomiss xmm0, xmm14
jp 0x180016b3c
je 0x180016b42
mov al, 1
mov dword [rsp + 0x44], eax
test bl, bl
je 0x180016b56
movss xmm0, dword [rdi + 0x54]
ucomiss xmm0, xmm14
jp 0x180016b53
je 0x180016b56
mov r15b, 1
test r14b, 0x21
jne 0x180016c60
movss xmm2, dword [rdi + 0x28]
movaps xmm0, xmm2
movss xmm3, dword [rdi + 0x2c]
addss xmm0, dword [rdi + 0x38]
addss xmm1, dword [rdi + 0x2c]
cmp qword [rsi + 0x40a8], rdi
jne 0x180016c18
cmp dword [rsi + 0x40f8], 0
jne 0x180016c18
cmp dword [rsi + 0x40fc], 0
jne 0x180016c18
mov rax, qword [rdx + 0x40a0]
movss xmm5, dword [rdx + 0x3964]
add rax, 0x260
movss xmm6, dword [rdx + 0x110]
maxss xmm2, dword [rax]
maxss xmm3, dword [rax + 4]
minss xmm0, dword [rax + 8]
minss xmm1, dword [rax + 0xc]
subss xmm2, xmm5
comiss xmm6, xmm2
jb 0x180016c18
movss xmm2, dword [rdx + 0x3968]
movss xmm4, dword [rdx + 0x114]
subss xmm3, xmm2
comiss xmm4, xmm3
jb 0x180016c18
addss xmm0, xmm5
comiss xmm0, xmm6
jbe 0x180016c18
addss xmm1, xmm2
comiss xmm1, xmm4
jbe 0x180016c18
cmp word [rsi + 0x2b3a], 2
jne 0x180016c18
cmp dword [rdx + 0x4838], 0xffffffff
jne 0x180016c18
mov byte [rdi + 0xce], 1
cmp byte [rdi + 0xce], 0
je 0x180016c67
movzx ecx, byte [rdi + 0xcd]
test cl, cl
movzx r15d, r15b
sete al
test cl, cl
mov ecx, 1
mov byte [rdi + 0xcd], al
cmovne r15d, ecx
test dword [rdi + 0x14], 0x100
jne 0x180016c67
comiss xmm14, dword [rdx + 0x60c4]
jb 0x180016c67
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x60c4], eax
jmp 0x180016c67
mov byte [rdi + 0xcd], 0
movss xmm0, dword [rdi + 0x6c]
lea rcx, [rbp + 0x60]
addss xmm0, dword [rdi + 0x68]
movss xmm10, dword [rdi + 0xc0]
mov rdx, rdi
movss xmm11, dword [rdi + 0xc4]
mov dword [rdi + 0x70], r8d
lea r8, [rdi + 0x48]
mov byte [rdi + 0xce], 0
movss dword [rdi + 0x74], xmm0
mov qword [rdi + 0x78], 0
mov qword [rdi + 0xc0], 0
call fcn.180013810
test r14b, 0x40
je 0x180016cf4
cmp byte [rdi + 0xcd], 0
jne 0x180016cf4
test r13b, r13b
jne 0x180016cda
movss xmm0, dword [rbp + 0x60]
mov al, 1
movss dword [rdi + 0x38], xmm0
mov dword [rsp + 0x44], eax
test bl, bl
jne 0x180016d93
movss xmm0, dword [rbp + 0x64]
mov r15b, 1
movss dword [rdi + 0x3c], xmm0
jmp 0x180016d93
movzx eax, byte [rdi + 0xe2]
test al, al
jg 0x180016d0c
cmp byte [rdi + 0xe3], 0
jle 0x180016d93
test r13b, r13b
jne 0x180016d3a
test al, al
jle 0x180016d3a
cmp byte [rdi + 0xe5], r13b
je 0x180016d2a
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rbp + 0x60]
jmp 0x180016d2f
movss xmm0, dword [rbp + 0x60]
mov al, 1
movss dword [rdi + 0x38], xmm0
mov dword [rsp + 0x44], eax
test bl, bl
jne 0x180016d67
cmp byte [rdi + 0xe3], bl
jle 0x180016d67
cmp byte [rdi + 0xe5], bl
je 0x180016d5a
movss xmm0, dword [rdi + 0x3c]
maxss xmm0, dword [rbp + 0x64]
jmp 0x180016d5f
movss xmm0, dword [rbp + 0x64]
movss dword [rdi + 0x3c], xmm0
mov r15b, 1
cmp byte [rdi + 0xcd], 0
jne 0x180016d93
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x1800b8180]
jne 0x180016d93
comiss xmm14, dword [rcx + 0x60c4]
jb 0x180016d93
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x60c4], eax
lea r8, [rdi + 0x38]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.180013520
cmp byte [rdi + 0xcd], 0
movss xmm1, dword [rax]
movss xmm2, dword [rax + 4]
movss dword [rdi + 0x38], xmm1
movss dword [rdi + 0x3c], xmm2
je 0x180016de1
bt r14d, 0x18
jb 0x180016de1
movss xmm3, dword [rdi + 0x68]
addss xmm3, dword [rdi + 0x2c]
addss xmm1, dword [rdi + 0x28]
subss xmm3, dword [rdi + 0x2c]
subss xmm1, dword [rdi + 0x28]
jmp 0x180016dfd
movaps xmm0, xmm1
unpcklps xmm0, xmm2
movaps xmm1, xmm0
movsd qword [rsp + 0x78], xmm0
shufps xmm1, xmm1, 0x55
movaps xmm3, xmm1
movss xmm1, dword [rsp + 0x78]
cmp byte [rsp + 0x42], 0
movss dword [rdi + 0x30], xmm1
movss dword [rdi + 0x34], xmm3
je 0x180016e56
mov eax, r14d
mov dword [rdi + 0xe8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180016e56
cmp byte [rsp + 0x41], 0
jne 0x180016e56
movsxd rax, dword [rsi + 0x4ba0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x4ba8]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
bt r14d, 0x18
jae 0x180016ee3
mov r13, qword [rsp + 0x60]
lea rbx, [r13 + 0x1b0]
movzx eax, word [rbx]
mov word [rdi + 0xdc], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x180016eab
inc r8d
test ecx, ecx
je 0x180016e94
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180016e99
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180025170
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x50]
bt r14d, 0x1a
jb 0x180016eec
test bl, bl
jne 0x180016eec
cmp eax, 0x3000000
je 0x180016eec
movsd xmm0, qword [r13 + 0x118]
movsd qword [rdi + 0x28], xmm0
jmp 0x180016eec
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xf4]
ucomiss xmm1, dword [0x180098740]
jp 0x180016eff
je 0x180016f4d
cmp byte [rdi + 0xed], 0
jne 0x180016f4d
movss xmm0, dword [rdi + 0xfc]
lea rdx, [rbp - 0x78]
mulss xmm0, dword [rdi + 0x30]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xf8]
movss dword [rbp - 0x78], xmm1
movss xmm1, dword [rdi + 0x100]
mulss xmm1, dword [rdi + 0x34]
subss xmm0, xmm1
movss dword [rbp - 0x74], xmm0
call fcn.180018d80
jmp 0x180016fa2
bt r14d, 0x1c
jae 0x180016f5a
lea rcx, [rbp - 0x38]
jmp 0x180016f87
bt r14d, 0x1a
jae 0x180016f71
test bl, bl
jne 0x180016f71
cmp byte [rsp + 0x48], bl
jle 0x180016f71
lea rcx, [rbp - 0x30]
jmp 0x180016f87
bt r14d, 0x19
jae 0x180016fa2
test bl, bl
jne 0x180016fa2
cmp eax, 0x3000000
je 0x180016fa2
lea rcx, [rbp - 0x28]
mov rdx, rdi
call fcn.18001e1f0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
movss xmm0, dword [r12 + 0x18]
movss xmm1, dword [r12 + 0x1c]
movaps xmm7, xmm0
movss xmm8, dword [r12 + 8]
movaps xmm6, xmm1
movss xmm9, dword [r12 + 0xc]
movaps xmm5, xmm8
movss xmm3, dword [rsi + 0x39d4]
movaps xmm4, xmm9
movss xmm2, dword [rsi + 0x39d0]
movss dword [rbp + 0x80], xmm8
movss dword [rbp + 0x84], xmm9
addss xmm7, dword [r12 + 0x20]
addss xmm6, dword [r12 + 0x24]
addss xmm5, dword [r12 + 0x10]
addss xmm4, dword [r12 + 0x14]
maxss xmm3, dword [rsi + 0x39dc]
maxss xmm2, dword [rsi + 0x39d8]
movss dword [rbp + 0x88], xmm5
movss dword [rbp + 0x8c], xmm4
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x7c], xmm6
movss dword [rbp + 0x78], xmm7
movss dword [rbp + 0x70], xmm2
movss dword [rbp + 0x74], xmm3
test bl, bl
jne 0x1800170c0
bt r14d, 0x18
jb 0x1800170c0
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x1800170c0
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x1800170c0
mov rax, qword [0x1800b8180]
movss xmm0, dword [rdi + 0x34]
cmp byte [rax + 0x60], bl
je 0x18001708b
test byte [rdi + 0x14], 1
jne 0x18001708b
movss xmm0, dword [rdi + 0x68]
subss xmm2, dword [rdi + 0x30]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x2c]
comiss xmm3, xmm0
ja 0x1800170a5
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x28]
comiss xmm2, xmm0
ja 0x1800170b6
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm3
cvttss2si eax, dword [rdi + 0x28]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x28], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x2c], xmm0
bt r14d, 0x18
jae 0x1800170f3
movss xmm2, dword [rsi + 0x392c]
jmp 0x180017114
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18001710c
movss xmm2, dword [rsi + 0x3934]
jmp 0x180017114
movss xmm2, dword [rsi + 0x3910]
xor r13b, r13b
movss dword [rdi + 0x60], xmm2
cmp byte [rsp + 0x42], r13b
je 0x18001714a
bt r14d, 0xc
jb 0x18001714a
bt r14d, 0x1a
jae 0x180017136
mov r13b, 1
jmp 0x18001714a
test r14d, 0x3000000
movzx r13d, r13b
mov eax, 1
cmove r13d, eax
xor ebx, ebx
mov dword [rbp + 0x68], 0xffffffff
mov eax, r14d
mov dword [rbp + 0x6c], 0xffffffff
and eax, 0x5000000
xorps xmm0, xmm0
mov r12d, ebx
movups xmmword [rbp + 0x90], xmm0
cmp eax, 0x1000000
je 0x180017180
cmp byte [rsi + 0x5f], bl
setne r12b
inc r12d
cmp byte [rdi + 0xcd], 0
movss xmm0, dword [rsi + 0x3da8]
addss xmm2, dword [0x1800985fc]
movaps xmm1, xmm0
mulss xmm0, dword [0x18009858c]
mulss xmm1, dword [0x180098600]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm12, eax
cvtdq2ps xmm12, xmm12
jne 0x180017210
lea rax, [rbp + 0x70]
mov rcx, rdi
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x6c]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x60]
mov dword [rsp + 0x20], r12d
call fcn.180013c20
mov ecx, dword [rsp + 0x44]
test eax, eax
je 0x180017214
test al, 1
movzx ecx, cl
mov edx, 1
movzx r15d, r15b
cmovne ecx, edx
test al, 2
cmovne r15d, edx
jmp 0x180017214
mov ecx, dword [rsp + 0x44]
cmp byte [rdi + 0xcd], 0
movzx eax, byte [rbp + 0x68]
mov byte [rdi + 0xd6], al
movzx eax, byte [rbp + 0x6c]
mov byte [rdi + 0xd7], al
jne 0x180017378
cmp qword [rsp + 0x58], 0
movss xmm0, dword [rdi + 0x7c]
movss xmm3, dword [rdi + 0x228]
movss xmm4, dword [rdi + 0x22c]
addss xmm0, dword [rdi + 0x74]
subss xmm3, dword [rdi + 0x220]
subss xmm4, dword [rdi + 0x224]
movss xmm1, dword [rdi + 0x3c]
movss xmm5, dword [rdi + 0x38]
subss xmm1, xmm0
addss xmm3, xmm10
addss xmm4, xmm11
jne 0x180017289
movaps xmm2, xmm14
movaps xmm0, xmm14
jmp 0x1800172a5
movss xmm2, dword [rdi + 0x58]
movss xmm0, dword [rdi + 0x5c]
addss xmm2, xmm2
addss xmm0, xmm0
addss xmm2, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x44]
test cl, cl
jne 0x1800172ac
movaps xmm5, xmm3
test r15b, r15b
jne 0x1800172b4
movaps xmm1, xmm4
bt r14d, 0xe
jb 0x1800172ca
comiss xmm0, xmm1
jbe 0x1800172c6
test r14b, 8
je 0x1800172ca
xor cl, cl
jmp 0x1800172cc
mov cl, 1
mov byte [rdi + 0xc9], cl
bt r14d, 0xf
jb 0x180017310
test cl, cl
je 0x1800172e7
movss xmm3, dword [rsi + 0x3974]
jmp 0x1800172eb
movaps xmm3, xmm14
subss xmm5, xmm3
comiss xmm2, xmm5
jbe 0x180017303
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180017310
mov byte [rdi + 0xc8], 0
movaps xmm1, xmm14
jmp 0x180017342
mov byte [rdi + 0xc8], 1
test cl, cl
jne 0x18001733a
subss xmm1, dword [rsi + 0x3974]
comiss xmm0, xmm1
jbe 0x180017332
test r14b, 8
jne 0x180017332
mov cl, 1
jmp 0x180017334
xor cl, cl
mov byte [rdi + 0xc9], cl
movss xmm1, dword [rsi + 0x3974]
test cl, cl
je 0x180017350
movss xmm0, dword [rsi + 0x3974]
jmp 0x180017354
movaps xmm0, xmm14
movss dword [rdi + 0xc0], xmm0
addss xmm0, dword [rdi + 0x78]
movss dword [rdi + 0xc4], xmm1
addss xmm1, dword [rdi + 0x7c]
movss dword [rdi + 0x78], xmm0
movss dword [rdi + 0x7c], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18001739f
cmp dword [rsp + 0x50], 0x3000000
je 0x18001739f
mov r15, qword [rsp + 0x60]
lea rax, [r15 + 0x260]
jmp 0x1800173ab
mov r15, qword [rsp + 0x60]
lea rax, [rbp + 0x80]
movups xmm0, xmmword [rax]
mov eax, r14d
movss xmm5, dword [rdi + 0x28]
and eax, 0x401
movss xmm6, dword [rdi + 0x2c]
movaps xmm2, xmm5
movss dword [rsp + 0x68], xmm5
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x68]
addss xmm2, dword [rdi + 0x38]
movups xmmword [rsp + 0x78], xmm0
movaps xmm0, xmm6
movss dword [rsp + 0x74], xmm1
movss dword [rsp + 0x6c], xmm0
movaps xmm0, xmm6
movss dword [rsp + 0x70], xmm2
movss dword [rdi + 0x210], xmm5
movss dword [rdi + 0x214], xmm6
addss xmm5, dword [rdi + 0x30]
movss dword [rdi + 0x218], xmm5
addss xmm0, dword [rdi + 0x34]
movss dword [rdi + 0x21c], xmm0
movss xmm1, dword [rdi + 0x210]
movss xmm5, dword [rsp + 0x78]
movss xmm7, dword [rsp + 0x7c]
maxss xmm1, xmm5
movss xmm11, dword [rbp - 0x80]
maxss xmm6, xmm7
movss xmm10, dword [rbp - 0x7c]
movss dword [rdi + 0x210], xmm1
movss dword [rdi + 0x214], xmm6
movss xmm1, dword [rdi + 0x218]
movss xmm0, dword [rdi + 0x21c]
minss xmm1, xmm11
minss xmm0, xmm10
movss dword [rdi + 0x218], xmm1
movss dword [rdi + 0x21c], xmm0
movss xmm3, dword [rdi + 0x28]
movss xmm4, dword [rdi + 0x2c]
movaps xmm1, xmm3
movaps xmm2, xmm4
addss xmm3, dword [rdi + 0x30]
addss xmm4, dword [rdi + 0x34]
addss xmm1, dword [rdi + 0x70]
addss xmm2, dword [rdi + 0x74]
subss xmm3, dword [rdi + 0x78]
subss xmm4, dword [rdi + 0x7c]
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm2
movss dword [rdi + 0x228], xmm3
movss dword [rdi + 0x22c], xmm4
cmp eax, 1
jne 0x1800174da
movss xmm8, dword [rdi + 0x64]
jmp 0x1800174e3
movss xmm8, dword [rsi + 0x3948]
movss xmm6, dword [0x1800985c0]
movss xmm9, dword [rdi + 0x64]
addss xmm1, xmm6
addss xmm1, xmm9
comiss xmm1, xmm14
cvttss2si eax, xmm1
jae 0x180017514
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
jp 0x180017512
je 0x180017514
dec eax
movd xmm0, eax
addss xmm2, xmm6
cvtdq2ps xmm0, xmm0
addss xmm2, xmm8
movss dword [rdi + 0x230], xmm0
comiss xmm2, xmm14
cvttss2si eax, xmm2
jae 0x180017546
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
jp 0x180017544
je 0x180017546
dec eax
movd xmm0, eax
addss xmm3, xmm6
cvtdq2ps xmm0, xmm0
subss xmm3, xmm9
movss dword [rdi + 0x234], xmm0
comiss xmm3, xmm14
cvttss2si eax, xmm3
jae 0x180017578
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
jp 0x180017576
je 0x180017578
dec eax
movd xmm0, eax
addss xmm4, xmm6
cvtdq2ps xmm0, xmm0
subss xmm4, xmm9
movss dword [rdi + 0x238], xmm0
comiss xmm4, xmm14
cvttss2si eax, xmm4
jae 0x1800175aa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm4
jp 0x1800175a8
je 0x1800175aa
dec eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x23c], xmm0
movss xmm0, dword [rdi + 0x234]
comiss xmm7, xmm0
jbe 0x1800175cb
movaps xmm1, xmm7
jmp 0x1800175d3
movaps xmm1, xmm10
minss xmm1, xmm0
movss xmm2, dword [rdi + 0x230]
comiss xmm5, xmm2
jbe 0x1800175e5
movaps xmm0, xmm5
jmp 0x1800175ed
movaps xmm0, xmm11
minss xmm0, xmm2
movss dword [rdi + 0x230], xmm0
movss dword [rdi + 0x234], xmm1
movss xmm0, dword [rdi + 0x23c]
comiss xmm7, xmm0
ja 0x180017612
movaps xmm7, xmm10
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x238]
comiss xmm5, xmm0
ja 0x180017627
movaps xmm5, xmm11
minss xmm5, xmm0
movss dword [rdi + 0x238], xmm5
movss dword [rdi + 0x23c], xmm7
movss xmm0, dword [rdi + 0x30]
comiss xmm0, xmm14
jbe 0x180017655
test r14d, 0x2000040
jne 0x180017655
mulss xmm0, dword [0x1800985c8]
jmp 0x180017665
movss xmm0, dword [rsi + 0x3da8]
mulss xmm0, dword [0x180098664]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x290], xmm0
movss xmm0, dword [rdi + 0x228]
subss xmm0, dword [rdi + 0x220]
movss xmm1, dword [rdi + 0x58]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x40]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss dword [rdi + 0xa0], xmm0
movss xmm0, dword [rdi + 0x22c]
subss xmm0, dword [rdi + 0x224]
movss xmm2, dword [rdi + 0x5c]
addss xmm2, xmm2
addss xmm2, dword [rdi + 0x44]
subss xmm2, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm2
movss dword [rdi + 0xa4], xmm0
call fcn.18001d070
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x98], xmm0
movss dword [rdi + 0x9c], xmm1
mov dword [rdi + 0xa8], 0x7f7fffff
mov dword [rdi + 0xac], 0x7f7fffff
mov qword [rdi + 0x80], 0
mov rax, qword [rsi + 0x3da0]
mov rcx, qword [rdi + 0x2c0]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18002ee50
mov rcx, qword [0x1800b8180]
lea r8, [rbp - 0x80]
xor r9d, r9d
lea rdx, [rsp + 0x78]
mov rax, qword [rcx + 0x40a0]
mov byte [rax + 0xcc], 1
mov rbx, qword [rcx + 0x40a0]
mov rcx, qword [rbx + 0x2c0]
call fcn.18002ed40
mov rax, qword [rbx + 0x2c0]
movsxd rcx, dword [rax + 0x98]
mov rax, qword [rax + 0xa0]
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 + 0x260], eax
mov eax, r14d
movss dword [rbx + 0x264], xmm0
and eax, 0x5000000
movss dword [rbx + 0x268], xmm1
movss dword [rbx + 0x26c], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x180017882
cmp dword [rsp + 0x50], 0x3000000
je 0x180017882
movsxd rax, dword [r15 + 0x1b0]
cmp eax, 2
jl 0x18001784b
mov rcx, rax
mov rax, qword [r15 + 0x1b8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18001784b
movss xmm1, dword [rdi + 0x2c]
movss xmm5, dword [rdx + 0x2c]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x28]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x34]
movss xmm6, dword [rdi + 0x28]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x30]
addss xmm2, dword [rdi + 0x34]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x30]
jbe 0x18001784b
comiss xmm2, xmm5
jbe 0x18001784b
comiss xmm3, xmm6
jbe 0x18001784b
comiss xmm4, xmm7
jbe 0x18001784b
mov r8b, 1
jmp 0x18001784e
xor r8b, r8b
mov rdx, qword [rdi + 0x2c0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x180017882
mov rax, qword [r15 + 0x2c0]
cmp dword [rax + 0x20], 0
je 0x180017882
test r8b, r8b
jne 0x180017882
mov bl, 1
mov qword [rdi + 0x2c0], rax
mov rax, qword [rsi + 0x4db0]
test rax, rax
jne 0x180017895
mov rax, qword [rsi + 0x4bd0]
test r13b, r13b
jne 0x1800178b4
test rax, rax
je 0x1800178af
mov rax, qword [rax + 0x3b0]
cmp qword [rdi + 0x3b0], rax
je 0x1800178b4
xor r8b, r8b
jmp 0x1800178b7
mov r8b, 1
movss dword [rsp + 0x30], xmm12
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.180014fc0
test bl, bl
je 0x1800178ee
lea rax, [rdi + 0x2c8]
mov qword [rdi + 0x2c0], rax
movss xmm5, dword [rdi + 0x50]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm14
jp 0x18001794a
jne 0x18001794a
movss xmm0, dword [rdi + 0x58]
mov eax, r14d
movss xmm1, dword [rdi + 0x30]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x78]
addss xmm0, dword [rdi + 0x70]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x180017940
movss xmm7, dword [rdi + 0x40]
maxss xmm7, xmm1
jmp 0x18001794d
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18001794d
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x54]
ucomiss xmm4, xmm14
jp 0x180017993
jne 0x180017993
movss xmm0, dword [rdi + 0x5c]
movss xmm1, dword [rdi + 0x34]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x7c]
addss xmm0, dword [rdi + 0x74]
subss xmm1, xmm0
test cl, cl
je 0x180017989
movss xmm6, dword [rdi + 0x44]
maxss xmm6, xmm1
jmp 0x180017996
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x180017996
movaps xmm6, xmm4
ucomiss xmm5, xmm14
movss xmm9, dword [rdi + 0x58]
movss xmm10, dword [rdi + 0x98]
movaps xmm0, xmm9
maxss xmm0, dword [rdi + 0x64]
movss xmm1, dword [rdi + 0x220]
subss xmm1, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x240], xmm3
addss xmm7, xmm3
movss xmm8, dword [rdi + 0x5c]
movss xmm11, dword [rdi + 0x9c]
movaps xmm1, xmm8
movss xmm0, dword [rdi + 0x224]
maxss xmm1, dword [rdi + 0x64]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x244], xmm2
addss xmm6, xmm2
movss dword [rdi + 0x248], xmm7
movss dword [rdi + 0x24c], xmm6
movups xmm0, xmmword [rdi + 0x240]
movups xmmword [rdi + 0x250], xmm0
movss xmm12, dword [rdi + 0x28]
movss xmm6, dword [rdi + 0x70]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm9
addss xmm2, xmm6
movss dword [rdi + 0x270], xmm2
movss xmm13, dword [rdi + 0x2c]
movss xmm7, dword [rdi + 0x74]
movaps xmm3, xmm13
subss xmm3, xmm11
addss xmm3, xmm8
addss xmm3, xmm7
movss dword [rdi + 0x274], xmm3
jp 0x180017aa4
jne 0x180017aa4
movss xmm5, dword [rdi + 0x30]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x78]
subss xmm5, xmm0
subss xmm5, xmm1
ucomiss xmm4, xmm14
addss xmm2, xmm5
movss dword [rdi + 0x278], xmm2
jp 0x180017ad6
jne 0x180017ad6
movss xmm4, dword [rdi + 0x34]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x7c]
subss xmm4, xmm0
subss xmm4, xmm1
xor r12d, r12d
addss xmm3, xmm4
cvtps2pd xmm2, xmm9
lea rcx, [rdi + 0x18c]
movss dword [rdi + 0x27c], xmm3
movaps xmm0, xmm6
addss xmm0, xmm9
cvtps2pd xmm1, xmm10
subss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x1f0]
cvtps2pd xmm3, xmm8
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], r12
cvtps2pd xmm0, xmm12
movaps xmm12, xmmword [rsp + 0x1d0]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
movaps xmm13, xmmword [rsp + 0x1c0]
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x1e0]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movss dword [rdi + 0x128], xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x12c], xmm0
movss xmm0, dword [rdi + 0x128]
movss xmm1, dword [rdi + 0x12c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x168], xmm2
movss dword [rdi + 0x16c], xmm0
movss xmm0, dword [rdi + 0x12c]
movss xmm1, dword [rdi + 0x128]
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x120], xmm1
movss dword [rdi + 0x124], xmm0
movss dword [rdi + 0x130], xmm1
movss dword [rdi + 0x134], xmm0
movss dword [rdi + 0x138], xmm1
movss dword [rdi + 0x13c], xmm0
mov qword [rdi + 0x148], r12
mov qword [rdi + 0x140], r12
mov qword [rdi + 0x150], r12
mov word [rdi + 0x158], r12w
mov dword [rdi + 0x170], r12d
movzx eax, word [rdi + 0x176]
mov word [rdi + 0x174], ax
mov dword [rdi + 0x176], 0x10000
movss xmm0, dword [rdi + 0xa4]
comiss xmm0, xmm14
seta al
mov byte [rdi + 0x181], al
mov byte [rdi + 0x182], r12b
movss xmm0, dword [rsi + 0x394c]
cmp byte [rsp + 0x42], r12b
je 0x180017c74
xor eax, eax
mov qword [rcx + 0x12], rax
cvttss2si eax, xmm0
mov word [rcx + 8], ax
call fcn.180049490
xor r11d, r11d
mov qword [rcx + 0x12], r11
mov eax, dword [rcx + 4]
mov dword [rcx], eax
mov dword [rcx + 4], r12d
mov qword [rdi + 0x1a8], r12
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x180017cbf
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.180025170
mov dword [rdi + 0x1b0], r12d
lea rax, [rdi + 0x298]
mov qword [rdi + 0x1c0], rax
mov eax, 1
mov qword [rdi + 0x1c8], r12
mov dword [rdi + 0x1d4], eax
test r15, r15
je 0x180017cf2
mov eax, dword [r15 + 0x1d4]
mov dword [rdi + 0x1d8], eax
mov eax, dword [rdi + 0x290]
mov dword [rdi + 0x1e4], eax
mov dword [rdi + 0x1e8], 0xbf800000
mov ecx, dword [rdi + 0x1f4]
test ecx, ecx
jns 0x180017d35
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1f0]
test eax, eax
cmovg edx, eax
call fcn.180025dc0
mov dword [rdi + 0x1f0], r12d
mov ecx, dword [rdi + 0x204]
test ecx, ecx
jns 0x180017d63
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x200]
test eax, eax
cmovg edx, eax
call fcn.180025dc0
mov dword [rdi + 0x200], r12d
bt r14d, 0x1b
jae 0x180017d8a
mov rcx, qword [0x1800b8180]
add rcx, 0x3d6c
call fcn.18000a240
mov dword [rdi + 0x1dc], eax
movzx eax, byte [rdi + 0xe2]
test al, al
jle 0x180017d9d
dec al
mov byte [rdi + 0xe2], al
movzx eax, byte [rdi + 0xe3]
test al, al
jle 0x180017db0
dec al
mov byte [rdi + 0xe3], al
test r13b, r13b
je 0x180017dd5
mov edx, 2
mov rcx, rdi
call fcn.180018620
cmp rdi, qword [rsi + 0x4bd0]
jne 0x180017dd5
xor edx, edx
mov rcx, rdi
call fcn.18001f640
movss xmm6, dword [rsp + 0x74]
movss xmm7, dword [rsp + 0x70]
movss xmm9, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x68]
test r14b, 1
jne 0x180017e32
movss xmm2, dword [rdi + 0x64]
lea rdx, [rbp - 0x60]
mov r9, qword [rbp - 0x70]
movaps xmm0, xmm2
mov r8, qword [rbp - 0x68]
addss xmm0, xmm8
movaps xmm1, xmm7
movss dword [rbp - 0x5c], xmm9
subss xmm1, xmm2
movss dword [rbp - 0x54], xmm6
mov rcx, rdi
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x58], xmm1
call fcn.180015760
mov rcx, qword [0x1800b8180]
mov dword [rdi + 0x280], r12d
movss xmm2, dword [rcx + 0x3964]
movss xmm3, dword [rcx + 0x110]
subss xmm8, xmm2
comiss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x210]
jb 0x180017e96
movss xmm0, dword [rcx + 0x3968]
movss xmm1, dword [rcx + 0x114]
subss xmm9, xmm0
comiss xmm1, xmm9
jb 0x180017e96
addss xmm7, xmm2
comiss xmm7, xmm3
jbe 0x180017e96
addss xmm6, xmm0
mov edx, 1
comiss xmm6, xmm1
ja 0x180017e99
mov edx, r12d
mov eax, dword [rdi + 0x8c]
movups xmm0, xmmword [rsp + 0x68]
mov dword [rcx + 0x4a68], eax
mov eax, dword [rcx + 0x4a28]
movaps xmm9, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x230]
movups xmmword [rcx + 0x4a84], xmm0
mov dword [rcx + 0x4a6c], eax
movups xmmword [rcx + 0x4a74], xmm0
mov dword [rcx + 0x4a70], edx
mov eax, dword [rsi + 0x4a2c]
test eax, eax
je 0x180017eff
cmp dword [rdi + 0x10], eax
je 0x180017efa
cmp dword [rdi + 0x8c], eax
jne 0x180017eff
call fcn.180024040
mov ebx, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x4c]
cmp byte [rdi + 0xd0], 0
mov r13, qword [rsp + 0x250]
jne 0x180017f2f
lea rdx, [rdi + 0x238]
mov r8b, 1
lea rcx, [rdi + 0x230]
call fcn.180011160
mov byte [rdi + 0xcc], 0
xor eax, eax
inc word [rdi + 0xd8]
cmp r12d, ebx
mov dword [rsi + 0x4ab8], eax
mov r12, qword [rsp + 0x258]
mov rbx, qword [rsp + 0x298]
je 0x1800181de
cmp byte [rdi + 0xd0], al
jne 0x1800181d7
and r14d, 0x11000000
cmp r14d, 0x1000000
jne 0x180018142
test dword [rdi + 0x18], 0x100
je 0x1800180b4
cmp byte [rsi + 0x4c2c], al
je 0x1800180b4
mov rcx, qword [rsi + 0x4bd0]
test rcx, rcx
je 0x1800180b4
mov rax, qword [rdi + 0x3b8]
cmp qword [rcx + 0x3b8], rax
jne 0x1800180b4
mov al, 1
jmp 0x1800180b6
cmp byte [rdi + 0xd0], cl
je 0x180017fd1
mov byte [rdi + 0xca], r15b
mov qword [r8 + 0x40a0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x180017ff2
imul rcx, rax, 0x250
add rcx, qword [r8 + 0x4ee0]
mov qword [r8 + 0x4eb8], rcx
mov dword [r8 + 0x3db4], 0x3f800000
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3dac]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b8]
test rax, rax
je 0x18001802b
mulss xmm0, dword [rax + 0x2b8]
mov rax, qword [r8 + 0x3da0]
movss dword [r8 + 0x3dc8], xmm0
movss dword [r8 + 0x3da8], xmm0
divss xmm0, dword [rax + 0x14]
movss dword [r8 + 0x3db0], xmm0
test rcx, rcx
jne 0x180018066
cmp qword [rdi + 0x1c8], rcx
jne 0x180018066
movzx eax, r15b
jmp 0x180018068
xor al, al
mov byte [rdi + 0x178], al
lea rdx, [rbp - 0x50]
movss xmm0, dword [rdi + 0x28]
mov rcx, rdi
movss xmm1, dword [rdi + 0x68]
movaps xmm2, xmm0
addss xmm2, dword [rdi + 0x38]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x50], xmm0
movss xmm0, dword [rdi + 0x2c]
movss dword [rbp - 0x4c], xmm0
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x44], xmm1
call fcn.180018280
mov r15, qword [rsp + 0x60]
jmp 0x180017f08
xor al, al
cmp byte [rsi + 0x6168], 0
jne 0x180018107
test al, al
jne 0x180018107
movss xmm0, dword [rdi + 0x210]
comiss xmm0, dword [rdi + 0x218]
jae 0x1800180e5
movss xmm0, dword [rdi + 0x214]
comiss xmm0, dword [rdi + 0x21c]
jb 0x180018107
cmp byte [rdi + 0xe2], 0
jg 0x180018100
cmp byte [rdi + 0xe3], 0
jg 0x180018100
mov byte [rdi + 0xec], 1
jmp 0x180018107
mov byte [rdi + 0xed], 1
test r15, r15
je 0x180018142
cmp byte [r15 + 0xcd], 0
jne 0x180018120
cmp byte [r15 + 0xec], 0
jle 0x180018127
mov byte [rdi + 0xec], 1
cmp byte [r15 + 0xcd], 0
jne 0x18001813b
cmp byte [r15 + 0xed], 0
jle 0x180018142
mov byte [rdi + 0xed], 1
comiss xmm14, dword [rsi + 0x3900]
jb 0x180018153
mov byte [rdi + 0xec], 1
cmp byte [rdi + 0xec], 0
jg 0x180018173
cmp byte [rdi + 0xed], 0
jg 0x180018173
xor cl, cl
cmp byte [rdi + 0xee], cl
jg 0x180018175
xor al, al
jmp 0x180018177
mov cl, 1
mov al, 1
mov byte [rdi + 0xd2], al
movzx eax, byte [rdi + 0xef]
test al, al
jle 0x180018197
dec al
mov byte [rdi + 0xef], al
or dword [rdi + 0x14], 0x30200
xor al, al
cmp byte [rdi + 0xcd], al
jne 0x1800181ad
cmp byte [rdi + 0xca], al
je 0x1800181ad
test cl, cl
je 0x1800181cf
cmp byte [rdi + 0xe2], al
jg 0x1800181cf
cmp byte [rdi + 0xe3], al
jg 0x1800181cf
cmp byte [rdi + 0xed], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0xcf], al
jmp 0x1800181de
mov byte [rdi + 0xcf], 1
cmp byte [rdi + 0xd3], 0
movaps xmm14, xmmword [rsp + 0x1b0]
mov r15, qword [rsp + 0x240]
mov r14, qword [rsp + 0x248]
jne 0x18001824d
cmp byte [rsi + 0x7d], 0
je 0x18001820e
cmp qword [rsp + 0x58], 0
je 0x180018223
cmp byte [rsi + 0x7e], 0
je 0x18001824d
movsx eax, byte [rsi + 0x61e4]
cmp eax, dword [rsi + 0x4070]
jne 0x18001824d
movzx eax, byte [rdi + 0xe2]
test al, al
jle 0x180018236
inc al
mov byte [rdi + 0xe2], al
movzx eax, byte [rdi + 0xe3]
test al, al
jle 0x180018249
inc al
mov byte [rdi + 0xe3], al
xor al, al
jmp 0x180018257
cmp byte [rdi + 0xcf], 0
sete al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18004e3c0
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret