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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [r11 - 0xb8]
sub rsp, 0x190
movaps xmmword [r11 - 0x88], xmm10
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov rsi, qword [0x180218ec0]
mov r14d, r8d
mov qword [r11 + 0x10], r12
mov rbx, rcx
mov qword [r11 - 0x30], r13
mov qword [rbp - 0x80], rcx
call fcn.18004c1a0
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
sete byte [rsp + 0x30]
test rax, rax
jne 0x18004e76e
mov edx, r14d
mov rcx, rbx
call fcn.18004c270
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18004e783
or r14d, 6
mov r13d, dword [rsi + 0x1a70]
lea rbx, [rsi + 0x1ac0]
cmp dword [rbx], 0
mov r12d, dword [rdi + 0x278]
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x58], r12d
jne 0x18004e7b4
cmp byte [rsi + 0x1a7d], 0
je 0x18004e7b4
mov al, 1
jmp 0x18004e7b6
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl dl
mov byte [rsp + 0x31], dl
bt r14d, 0x1a
jae 0x18004e801
movsxd rax, dword [rsi + 0x1c88]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1c80]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xa4], eax
setne al
or cl, al
or dl, cl
mov byte [rsp + 0x31], dl
mov byte [rdi + 0x94], dl
test dl, dl
je 0x18004e820
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x18004e863
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r13d
movsd xmm0, qword [rsi + 0x1a68]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1ae0]
inc dword [rsi + 0x1ae0]
mov word [rdi + 0x9e], ax
jmp 0x18004e867
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x18004e873
mov rax, rcx
jmp 0x18004e884
mov rcx, rax
mov rax, qword [rsi + 0x1ac8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
mov qword [rsp + 0x180], r15
cmp r12d, r13d
je 0x18004e8a1
test r14d, 0x5000000
mov r15, rcx
cmovne r15, rax
jmp 0x18004e8a8
mov r15, qword [rdi + 0x380]
lea rcx, [rdi + 0xc8]
mov qword [rsp + 0x60], r15
cmp dword [rcx], 0
jne 0x18004e8c2
lea rdx, [rdi + 8]
call fcn.1800582c0
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18004e8f6
inc r8d
test ecx, ecx
je 0x18004e8df
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004e8e4
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180057fa0
movsxd rcx, dword [rbx]
xor r11d, r11d
mov rax, qword [rbx + 8]
mov rdx, qword [0x180218ec0]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov qword [rsi + 0x1af0], rdi
mov rax, qword [rdx + 0x1af0]
movzx ecx, word [rax + 0xc8]
mov word [rdi + 0x1f0], cx
movzx eax, word [rdx + 0x1c18]
mov word [rdi + 0x1f2], ax
movzx eax, word [rdx + 0x1c28]
mov word [rdi + 0x1f4], ax
movzx eax, word [rdx + 0x1c38]
mov word [rdi + 0x1f6], ax
movzx eax, word [rdx + 0x1c48]
mov word [rdi + 0x1f8], ax
movzx eax, word [rdx + 0x1c68]
mov word [rdi + 0x1fa], ax
movzx eax, word [rdx + 0x1c88]
mov word [rdi + 0x1fc], ax
mov qword [rsi + 0x1af0], r11
bt r14d, 0x1a
jae 0x18004e9bb
lea rcx, [rsi + 0x1c88]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1c80]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180057c50
mov eax, dword [rbx]
xor r11d, r11d
mov dword [rdi + 0xa4], eax
cmp r12d, r13d
je 0x18004ea4a
mov qword [rdi + 0x380], r15
mov qword [rdi + 0x398], rdi
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
test r15, r15
je 0x18004ea20
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18004ea02
mov rax, qword [r15 + 0x388]
mov qword [rdi + 0x388], rax
bt r14d, 0x1b
jb 0x18004ea20
test r14d, 0x5000000
je 0x18004ea20
mov rax, qword [r15 + 0x390]
mov qword [rdi + 0x390], rax
test dword [rdi + 0xc], 0x800000
je 0x18004ea4a
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x380]
mov qword [rdi + 0x398], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18004ea30
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x33], dl
test byte [rsi + 0x1b90], 1
je 0x18004eaef
movsx ecx, byte [rdi + 0xb4]
mov r8d, dword [rsi + 0x1b94]
test r8d, ecx
setne dl
mov byte [rsp + 0x33], dl
test r8d, ecx
je 0x18004eae0
movss xmm0, dword [rsi + 0x1bac]
movss xmm1, dword [rsi + 0x1ba8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180151f34]
jbe 0x18004eae0
movsd xmm0, qword [rsi + 0x1ba0]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [rsi + 0x1ba8]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x18004eaef
lea rdx, [rsi + 0x1ba0]
mov rcx, rdi
call fcn.180050e30
test byte [rsi + 0x1b90], 2
xorps xmm10, xmm10
je 0x18004eb46
movsx eax, byte [rdi + 0xb5]
mov r8d, dword [rsi + 0x1b98]
and eax, r8d
je 0x18004eb22
movss xmm0, dword [rsi + 0x1bb0]
comiss xmm0, xmm10
jbe 0x18004eb22
mov r12b, 1
jmp 0x18004eb26
test eax, eax
je 0x18004eb37
movss xmm0, dword [rsi + 0x1bb4]
comiss xmm0, xmm10
jbe 0x18004eb37
mov r13b, 1
lea rdx, [rsi + 0x1bb0]
mov rcx, rdi
call fcn.180050f60
test byte [rsi + 0x1b90], 0x80
je 0x18004eb7d
movss xmm0, dword [rsi + 0x1bc0]
comiss xmm0, xmm10
jb 0x18004eb66
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r11d
movss xmm0, dword [rsi + 0x1bc4]
comiss xmm0, xmm10
jb 0x18004eb7d
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r11d
test byte [rsi + 0x1b90], 4
mov ebx, dword [rsp + 0x5c]
je 0x18004eb99
movsd xmm0, qword [rsi + 0x1bb8]
movsd qword [rdi + 0x38], xmm0
jmp 0x18004eba7
cmp dword [rsp + 0x58], ebx
je 0x18004eba7
mov qword [rdi + 0x38], 0
test byte [rsi + 0x1b90], 8
je 0x18004ebf5
mov ecx, dword [rsi + 0x1b9c]
movzx edx, byte [rsi + 0x1bc8]
test ecx, ecx
je 0x18004ebcc
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x18004ebf5
movzx ecx, byte [rdi + 0xb6]
mov eax, dword [rdi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0x91], dl
mov dword [rdi + 0xb4], ecx
test byte [rsi + 0x1b90], 0x20
je 0x18004ec06
mov rcx, rdi
call fcn.1800509f0
cmp byte [rdi + 0x94], 0
je 0x18004ec24
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov edx, 1
cmp dword [rsp + 0x58], ebx
je 0x180050683
movaps xmmword [rsp + 0x170], xmm6
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x160], xmm7
mov eax, r14d
movaps xmmword [rsp + 0x150], xmm8
and eax, 0x3000000
movaps xmmword [rsp + 0x140], xmm9
movaps xmmword [rsp + 0x120], xmm11
movaps xmmword [rsp + 0x110], xmm12
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xf0], xmm14
movaps xmmword [rsp + 0xe0], xmm15
mov byte [rdi + 0x8e], dl
mov byte [rdi + 0x97], 0
mov dword [rdi + 0x250], 0xff7fffff
mov dword [rdi + 0x254], 0xff7fffff
mov dword [rdi + 0x258], 0x7f7fffff
mov dword [rdi + 0x25c], 0x7f7fffff
mov dword [rsp + 0x50], eax
call fcn.180031990
mov rcx, qword [rdi + 0x2b0]
call fcn.1800598d0
cmp byte [rdi + 0x3d8], 0
mov dword [rdi + 0x1b0], 0xffffffff
je 0x18004ed2a
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d0]
add rcx, 0x10
mov byte [rdi + 0x3d8], 0
call fcn.1800585e0
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d4]
add rcx, 0x20
call fcn.180058390
xor eax, eax
mov qword [rdi + 0x3d0], rax
cmp qword [rsi + 0x1de8], 0
mov r9, qword [rsp + 0x48]
je 0x18004edf4
test dword [rdi + 0xc], 0x80000
jne 0x18004edf4
test r9, r9
je 0x18004edf4
mov r10, qword [rbp - 0x80]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004ed76
inc rax
test ecx, ecx
jne 0x18004ed63
test edx, edx
je 0x18004edef
movsxd r15, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x18004ed85
inc rbx
cmp r15, rbx
jae 0x18004edda
test r9, r9
je 0x18004edae
mov rax, qword [0x180218ec0]
test rax, rax
je 0x18004edae
dec dword [rax + 0x3b4]
mov rcx, r9
call fcn.1800f9dcc
mov rax, qword [0x180218ec0]
test rax, rax
je 0x18004edc8
inc dword [rax + 0x3b4]
mov rcx, rbx
call fcn.1800fc2b4
mov r10, qword [rbp - 0x80]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, r9
call fcn.18011c800
mov qword [rdi], rax
mov dword [rdi + 0x50], r15d
mov r9, qword [rsp + 0x48]
movzx eax, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov byte [rsp + 0x34], al
mov rcx, rdi
call fcn.18004c8e0
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x18004ee22
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x18004ee35
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x18004ee48
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x18004ee5e
test r12b, r12b
je 0x18004ee57
test r13b, r13b
jne 0x18004ee5e
mov byte [rdi + 0xb1], 1
xor r8d, r8d
cmp byte [rsp + 0x31], r8b
je 0x18004eea8
test r14d, 0x6000000
je 0x18004eea8
mov byte [rdi + 0xb1], 1
test r14b, 0x40
je 0x18004eea8
test r12b, r12b
jne 0x18004ee8b
mov dword [rdi + 0x20], r8d
mov dword [rdi + 0x18], r8d
test r13b, r13b
jne 0x18004ee98
mov dword [rdi + 0x24], r8d
mov dword [rdi + 0x1c], r8d
mov qword [rdi + 0x30], 0
mov qword [rdi + 0x28], 0
mov rcx, qword [0x180218ec0]
mov qword [rcx + 0x1af0], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18004eed2
imul rdx, rax, 0x258
add rdx, qword [rcx + 0x1ee0]
jmp 0x18004eed5
mov rdx, r8
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ed0], rdx
mov rax, qword [rdi + 0x380]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18004ef00
mulss xmm0, dword [rax + 0x2a8]
movss dword [rcx + 0x1998], xmm0
movss dword [rcx + 0x1980], xmm0
bt r14d, 0x18
jae 0x18004ef21
movss xmm1, dword [rsi + 0x158c]
jmp 0x18004ef43
test r14d, 0x6000000
je 0x18004ef3b
bt r14d, 0x1b
jb 0x18004ef3b
movss xmm1, dword [rsi + 0x1594]
jmp 0x18004ef43
movss xmm1, dword [rsi + 0x1570]
movss dword [rdi + 0x4c], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x1564]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x18004ef8a
ucomiss xmm1, xmm10
jp 0x18004ef8a
jne 0x18004ef8a
bt r14d, 0xa
jae 0x18004ef7d
movss xmm0, dword [rsi + 0x1568]
jmp 0x18004ef81
movaps xmm0, xmm10
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r8d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [rsi + 0x15a8]
maxss xmm0, dword [rsi + 0x1bf4]
movss dword [rdi + 0x15c], xmm0
mov eax, dword [rsi + 0x1bf8]
mov dword [rdi + 0x160], eax
test r14b, 0x21
jne 0x18004f0e9
test byte [rdi + 0xc], 1
je 0x18004efc9
movaps xmm2, xmm10
jmp 0x18004effd
mov rax, qword [rdi + 0x380]
movss xmm0, dword [rcx + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18004efed
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 0x159c]
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 + 0x1af8], rdi
jne 0x18004f0b2
cmp dword [rsi + 0x1b28], 0
jne 0x18004f0b2
cmp dword [rsi + 0x1b2c], 0
jne 0x18004f0b2
mov rax, qword [rcx + 0x1af0]
movss xmm1, dword [rcx + 0x15c0]
movss xmm0, dword [rcx + 0x15c4]
maxss xmm4, dword [rax + 0x250]
minss xmm3, dword [rax + 0x258]
maxss xmm5, dword [rax + 0x254]
minss xmm2, dword [rax + 0x25c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x128]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18004f0b2
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x18004f0b2
comiss xmm3, xmm1
jbe 0x18004f0b2
comiss xmm2, xmm0
jbe 0x18004f0b2
cmp byte [rsi + 0x425], 0
je 0x18004f0b2
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x18004f0f0
cmp byte [rdi + 0x91], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x91], al
jne 0x18004f0f0
comiss xmm10, dword [rcx + 0x2f0c]
jb 0x18004f0f0
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f0c], eax
jmp 0x18004f0f0
mov byte [rdi + 0x91], 0
lea r8, [rdi + 0x30]
mov byte [rdi + 0x92], 0
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.18004c9f0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
test r14b, 0x40
je 0x18004f14e
cmp byte [rdi + 0x91], 0
jne 0x18004f14e
test r12b, r12b
jne 0x18004f133
movss xmm0, dword [rbp - 0x60]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x18004f201
movss xmm0, dword [rbp - 0x5c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18004f20d
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x18004f166
cmp byte [rdi + 0xa9], 0
jle 0x18004f207
test r12b, r12b
jne 0x18004f193
test al, al
jle 0x18004f193
cmp byte [rdi + 0xab], r12b
je 0x18004f184
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rbp - 0x60]
jmp 0x18004f189
movss xmm0, dword [rbp - 0x60]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x18004f1cd
cmp byte [rdi + 0xa9], r13b
jle 0x18004f1cd
cmp byte [rdi + 0xab], r13b
je 0x18004f1be
movss xmm0, dword [rdi + 0x24]
mov r12b, 1
maxss xmm0, dword [rbp - 0x5c]
movss dword [rdi + 0x24], xmm0
jmp 0x18004f1d3
movss xmm0, dword [rbp - 0x5c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18004f1d3
movzx r12d, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
jne 0x18004f20d
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180218ec0]
jne 0x18004f20d
comiss xmm10, dword [rcx + 0x2f0c]
jb 0x18004f20d
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f0c], eax
jmp 0x18004f20d
movzx r12d, al
jmp 0x18004f20d
movzx r12d, byte [rsp + 0x32]
lea r8, [rdi + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18004c690
cmp byte [rdi + 0x91], 0
mov r15, qword [0x180218ec0]
movss xmm3, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm1
je 0x18004f2a6
bt r14d, 0x18
jb 0x18004f2a6
test byte [rdi + 0xc], 1
je 0x18004f254
movaps xmm1, xmm10
jmp 0x18004f28a
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18004f279
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x159c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
movaps xmm2, xmm0
addss xmm2, xmm3
subss xmm1, dword [rdi + 0x14]
subss xmm2, xmm0
jmp 0x18004f2bf
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x40], xmm0
movss xmm2, dword [rsp + 0x40]
shufps xmm1, xmm1, 0x55
mov ecx, dword [rdi + 0xc]
movss dword [rdi + 0x18], xmm2
movss dword [rdi + 0x1c], xmm1
test cl, 1
je 0x18004f2d7
movaps xmm1, xmm10
jmp 0x18004f30d
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18004f2fc
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x159c]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x18004f357
mov rax, qword [rdi + 0x380]
movss xmm14, dword [r15 + 0x1984]
mulss xmm14, dword [rdi + 0x2a8]
test rax, rax
je 0x18004f33a
mulss xmm14, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x159c]
addss xmm14, dword [rdi + 0x160]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x18004f35b
movaps xmm14, xmm10
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
movzx r13d, byte [rsp + 0x33]
je 0x18004f3b6
mov eax, r14d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004f3b6
test r13b, r13b
jne 0x18004f3b6
movsxd rax, dword [rsi + 0x1c88]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1c90]
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
bt r14d, 0x18
jae 0x18004f44b
mov rdx, qword [rsp + 0x60]
lea rbx, [rdx + 0x190]
movzx eax, word [rbx]
mov word [rdi + 0x9c], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18004f417
inc r8d
test ecx, ecx
je 0x18004f3f4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004f3f9
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180057fa0
mov rdx, qword [rsp + 0x60]
mov r15, qword [0x180218ec0]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x50]
bt r14d, 0x1a
jb 0x18004f44f
test r13b, r13b
jne 0x18004f44f
cmp ebx, 0x3000000
je 0x18004f44f
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x18004f44f
mov ebx, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x180152148]
jp 0x18004f462
je 0x18004f4b3
cmp byte [rdi + 0xb1], 0
jne 0x18004f4b3
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0xc4]
mulss xmm1, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.180050e30
jmp 0x18004f500
bt r14d, 0x1c
jb 0x18004f4e1
bt r14d, 0x1a
jae 0x18004f4cd
test r13b, r13b
jne 0x18004f4cd
cmp byte [rsp + 0x34], r13b
jg 0x18004f4e1
bt r14d, 0x19
jae 0x18004f500
test r13b, r13b
jne 0x18004f500
cmp ebx, 0x3000000
je 0x18004f500
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180052c30
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [r15 + 0x1ca0]
movss xmm3, dword [rsi + 0x1608]
movss xmm2, dword [rsi + 0x1604]
maxss xmm3, dword [rsi + 0x1610]
mov rcx, qword [rax]
maxss xmm2, dword [rsi + 0x160c]
movss xmm8, dword [rcx + 4]
movss xmm7, dword [rcx + 8]
movaps xmm15, xmm8
movss xmm0, dword [rcx + 0x14]
movaps xmm6, xmm7
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x68], xmm8
movaps xmm4, xmm1
movss dword [rbp - 0x70], xmm8
movss dword [rsp + 0x6c], xmm7
movss dword [rbp - 0x6c], xmm7
addss xmm6, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
addss xmm15, dword [rcx + 0xc]
movss dword [rsp + 0x38], xmm6
movss dword [rbp - 0x64], xmm6
subss xmm5, xmm2
subss xmm4, xmm3
movss dword [rbp - 0x68], xmm15
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp - 0x48], xmm5
movss dword [rbp - 0x44], xmm4
movss dword [rbp - 0x50], xmm2
movss dword [rbp - 0x4c], xmm3
test r13b, r13b
jne 0x18004f67f
bt r14d, 0x18
jb 0x18004f67f
cmp byte [rdi + 0xa8], r13b
jg 0x18004f67f
cmp byte [rdi + 0xa9], r13b
jg 0x18004f67f
movaps xmm0, xmm15
subss xmm0, xmm8
comiss xmm0, xmm10
jbe 0x18004f67f
movaps xmm0, xmm6
subss xmm0, xmm7
comiss xmm0, xmm10
jbe 0x18004f67f
movss xmm0, dword [rdi + 0x1c]
cmp byte [r15 + 0xcd], r13b
je 0x18004f64a
test byte [rdi + 0xc], 1
jne 0x18004f64a
mov rax, qword [rdi + 0x380]
movss xmm1, dword [r15 + 0x1984]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x18004f639
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x159c]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x18004f664
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x18004f675
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [rdi + 0x10], xmm2
movss dword [rdi + 0x14], xmm3
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 0x18004f6b2
movss xmm2, dword [rsi + 0x1588]
jmp 0x18004f6d3
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004f6cb
movss xmm2, dword [rsi + 0x1590]
jmp 0x18004f6d3
movss xmm2, dword [rsi + 0x156c]
xor cl, cl
movss dword [rdi + 0x48], xmm2
mov dword [rsp + 0x54], ecx
cmp byte [rsp + 0x31], cl
je 0x18004f70f
bt r14d, 0xc
jb 0x18004f70f
bt r14d, 0x1a
jae 0x18004f6f9
mov byte [rsp + 0x54], 1
jmp 0x18004f70f
test r14d, 0x3000000
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [rsp + 0x54], ecx
addss xmm2, dword [0x180151fa8]
xorps xmm0, xmm0
mov dword [rbp - 0x58], 0xffffffff
movups xmmword [rbp - 0x40], xmm0
xor r13d, r13d
movss xmm0, dword [rsi + 0x1980]
cmp byte [rsi + 0xcc], r13b
movaps xmm1, xmm0
mulss xmm0, dword [0x180151f58]
setne r13b
cmp byte [rdi + 0x91], 0
mulss xmm1, dword [0x180151fac]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
jne 0x18004f7aa
lea rax, [rbp - 0x50]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [r13 + 1]
lea rax, [rbp - 0x40]
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
call fcn.18004cdf0
mov r15, qword [0x180218ec0]
test al, al
je 0x18004f7aa
mov r12b, 1
movzx ecx, r12b
jmp 0x18004f7af
movzx ecx, byte [rsp + 0x30]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp - 0x58]
mov byte [rdi + 0x98], al
jne 0x18004f8ea
cmp qword [rsp + 0x48], 0
movss xmm2, dword [rdi + 0x218]
movss xmm3, dword [rdi + 0x21c]
subss xmm2, dword [rdi + 0x210]
subss xmm3, dword [rdi + 0x214]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x18004f817
movaps xmm1, xmm10
movaps xmm0, xmm10
jmp 0x18004f833
movss xmm1, dword [rdi + 0x40]
movss xmm0, dword [rdi + 0x44]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x28]
addss xmm0, dword [rdi + 0x2c]
test cl, cl
jne 0x18004f83a
movaps xmm5, xmm2
test r12b, r12b
jne 0x18004f842
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18004f858
comiss xmm0, xmm4
jbe 0x18004f854
test r14b, 8
je 0x18004f858
xor cl, cl
jmp 0x18004f85a
mov cl, 1
mov byte [rdi + 0x8d], cl
bt r14d, 0xf
jb 0x18004f89e
test cl, cl
je 0x18004f875
movss xmm2, dword [rsi + 0x15d0]
jmp 0x18004f879
movaps xmm2, xmm10
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x18004f891
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18004f89e
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm10
jmp 0x18004f8c8
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x18004f8c0
comiss xmm0, xmm4
jbe 0x18004f8b8
test r14b, 8
jne 0x18004f8b8
mov cl, 1
jmp 0x18004f8ba
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rsi + 0x15d0]
test cl, cl
je 0x18004f8d6
movss xmm0, dword [rsi + 0x15d0]
jmp 0x18004f8da
movaps xmm0, xmm10
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18004f910
cmp ebx, 0x3000000
je 0x18004f910
mov r12, qword [rsp + 0x60]
lea rax, [r12 + 0x250]
jmp 0x18004f919
mov r12, qword [rsp + 0x60]
lea rax, [rbp - 0x70]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x1c]
je 0x18004f942
movaps xmm2, xmm10
jmp 0x18004f978
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18004f967
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [r15 + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm5
movss dword [rsp + 0x74], xmm0
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x20]
movss dword [rsp + 0x70], xmm7
movaps xmm12, xmm14
mov eax, r14d
movss dword [rsp + 0x7c], xmm2
and eax, 0x401
movss dword [rsp + 0x78], xmm1
movss dword [rdi + 0x200], xmm7
movss dword [rdi + 0x204], xmm5
movss dword [rdi + 0x208], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x20c], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x200]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x200], xmm0
movss dword [rdi + 0x204], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x208]
movss xmm0, dword [rdi + 0x20c]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x208], xmm1
movss dword [rdi + 0x20c], xmm0
movss xmm7, dword [rdi + 0x10]
movss xmm9, dword [rdi + 0x14]
movaps xmm11, xmm7
movss dword [rdi + 0x210], xmm7
addss xmm12, xmm9
addss xmm11, dword [rdi + 0x18]
addss xmm9, dword [rdi + 0x1c]
movss dword [rdi + 0x214], xmm12
subss xmm11, dword [rdi + 0x84]
subss xmm9, dword [rdi + 0x88]
movss dword [rdi + 0x218], xmm11
movss dword [rdi + 0x21c], xmm9
cmp eax, 1
jne 0x18004fa8c
movss xmm8, dword [rdi + 0x4c]
jmp 0x18004fa95
movss xmm8, dword [rsi + 0x15a4]
movss xmm13, dword [0x180151f70]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x40]
addss xmm7, xmm13
mulss xmm0, xmm13
addss xmm12, xmm13
addss xmm11, xmm13
addss xmm9, xmm13
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm8
subss xmm9, dword [rdi + 0x4c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x4c]
addss xmm7, xmm1
subss xmm11, xmm1
cvttss2si eax, xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x220], xmm7
cvtsi2ss xmm0, eax
cvttss2si eax, xmm11
movss dword [rdi + 0x224], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x228], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x22c], xmm0
movss xmm0, dword [rdi + 0x224]
comiss xmm4, xmm0
jbe 0x18004fb41
movaps xmm1, xmm4
jmp 0x18004fb48
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm7
jbe 0x18004fb52
movaps xmm0, xmm6
jmp 0x18004fb59
movaps xmm0, xmm3
minss xmm0, xmm7
movss dword [rdi + 0x220], xmm0
movss dword [rdi + 0x224], xmm1
movss xmm0, dword [rdi + 0x22c]
comiss xmm4, xmm0
ja 0x18004fb7d
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x228]
comiss xmm6, xmm0
jbe 0x18004fb8f
movaps xmm3, xmm6
jmp 0x18004fb93
minss xmm3, xmm0
movss dword [rdi + 0x228], xmm3
movss dword [rdi + 0x22c], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x18004fbc1
test r14d, 0x2000040
jne 0x18004fbc1
mulss xmm0, dword [0x180151f78]
jmp 0x18004fbd1
movss xmm0, dword [rsi + 0x1980]
mulss xmm0, dword [0x180152058]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x78]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x280], xmm0
movss xmm0, dword [rdi + 0x218]
subss xmm0, dword [rdi + 0x210]
movss xmm1, dword [rdi + 0x40]
movss xmm2, dword [rdi + 0x44]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x21c]
subss xmm0, dword [rdi + 0x214]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm2
movss dword [rdi + 0x68], xmm0
call fcn.180051ca0
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x5c], xmm0
movss dword [rdi + 0x60], xmm1
mov dword [rdi + 0x6c], 0x7f7fffff
mov dword [rdi + 0x70], 0x7f7fffff
mov rax, qword [rsi + 0x1978]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180059e90
mov rcx, qword [0x180218ec0]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1af0]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1af0]
mov rcx, qword [rbx + 0x2b0]
call fcn.180059d70
mov rax, qword [rbx + 0x2b0]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
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 + 0x250], eax
movss dword [rbx + 0x254], xmm0
movss dword [rbx + 0x258], xmm1
movss dword [rbx + 0x25c], xmm2
bt r14d, 0x1b
jae 0x18004fd6f
mov r8, qword [0x180218ec0]
mov eax, dword [r8 + 0x1c78]
sub eax, 1
js 0x18004fd5b
mov r8, qword [r8 + 0x1c80]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x18004fd51
test dword [rax + 0xc], 0x8000000
jne 0x18004fd5d
sub r8, 0x30
sub rdx, 1
jns 0x18004fd40
xor eax, eax
cmp rdi, rax
jne 0x18004fd6f
cmp byte [rdi + 0xb1], 0
jg 0x18004fd6f
mov al, 1
jmp 0x18004fd71
xor al, al
mov rcx, qword [rsi + 0x1de0]
test rcx, rcx
je 0x18004fd8a
cmp rdi, qword [rcx + 0x388]
jne 0x18004fd8a
mov bl, 1
jmp 0x18004fd8c
xor bl, bl
test al, al
jne 0x18004fd98
test bl, bl
je 0x18004fe9b
movss xmm1, dword [rsi + 0x1e24]
movzx ecx, al
add ecx, 0x33
call fcn.180045e30
mov rcx, qword [rdi + 0x2b0]
lea r8, [rbp - 0x68]
xor r15d, r15d
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x28], r15d
mov r9d, eax
movss dword [rsp + 0x20], xmm10
call fcn.18005c800
test bl, bl
je 0x18004fe9b
cmp rdi, qword [rsi + 0x1de0]
jne 0x18004fe9b
movss xmm0, dword [rsi + 0x1980]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm12, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rbp - 0x70], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x68]
comiss xmm0, xmm1
movss dword [rbp - 0x68], xmm2
movss dword [rbp - 0x64], xmm3
movss dword [rbp - 0x6c], xmm4
jb 0x18004fe55
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm4
jb 0x18004fe55
comiss xmm2, xmm15
jb 0x18004fe55
comiss xmm3, xmm12
jae 0x18004fea2
movss xmm1, dword [rsi + 0x1df4]
mov ecx, 0x32
mulss xmm1, dword [0x180151f5c]
call fcn.180045e30
movss xmm0, dword [rsi + 0x156c]
lea r8, [rbp - 0x68]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x70]
mov r9d, eax
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm0
call fcn.18005c800
jmp 0x18004fea2
movss xmm12, dword [rsp + 0x38]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18004feed
cmp dword [rsp + 0x50], 0x3000000
je 0x18004feed
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18004feed
mov rax, qword [r12 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x18004feed
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1dd8]
test rax, rax
jne 0x18004ff00
mov rax, qword [rsi + 0x1ca8]
mov r12d, dword [rsp + 0x54]
test r12b, r12b
jne 0x18004ff24
test rax, rax
je 0x18004ff1f
mov rax, qword [rax + 0x390]
cmp qword [rdi + 0x390], rax
je 0x18004ff24
xor r8b, r8b
jmp 0x18004ff27
mov r8b, 1
movss xmm0, dword [rsp + 0x40]
lea rax, [rbp - 0x40]
movss dword [rsp + 0x28], xmm0
lea r9d, [r13 + 1]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.18004dc20
test bl, bl
je 0x18004ff5f
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1de0], rdi
jne 0x1800500c3
movss xmm1, dword [rsi + 0x1980]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x48]
subss xmm9, xmm1
movss xmm0, dword [rsp + 0x68]
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x1c]
movaps xmm11, xmm2
subss xmm8, xmm1
maxss xmm11, dword [rsi + 0x156c]
comiss xmm0, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x180050006
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm8
jb 0x180050006
comiss xmm7, xmm15
jb 0x180050006
comiss xmm6, xmm12
jb 0x180050006
xorps xmm1, xmmword [0x180152930]
movaps xmm11, xmm2
subss xmm1, dword [0x180151fa8]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
movss xmm1, dword [rsi + 0x1df4]
mov ecx, 0x32
mov rbx, qword [rdi + 0x2b0]
call fcn.180045e30
mov r15d, eax
test eax, 0xff000000
je 0x1800500c3
xor r13d, r13d
addss xmm9, xmm13
test byte [rbx + 0x30], 1
addss xmm8, xmm13
movaps xmm3, xmm11
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x48]
mov rcx, rbx
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x180050070
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x180050080
subss xmm7, dword [0x180151f6c]
subss xmm6, dword [0x180151f6c]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
call fcn.18005c190
movss xmm0, dword [0x18015200c]
mov r9d, r15d
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.18005a180
mov dword [rbx + 0x78], r13d
jmp 0x1800500c6
xor r13d, r13d
movss xmm6, dword [rdi + 0x38]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0xe0]
movaps xmm13, xmmword [rsp + 0x100]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm10
jp 0x180050131
jne 0x180050131
movss xmm0, dword [rdi + 0x40]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x84]
cmp eax, 0x800
jne 0x180050126
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x180050135
movaps xmm9, xmm10
maxss xmm9, xmm1
jmp 0x180050135
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm10
jp 0x18005017d
jne 0x18005017d
movss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x88]
test cl, cl
je 0x180050172
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x180050181
movaps xmm8, xmm10
maxss xmm8, xmm1
jmp 0x180050181
movaps xmm8, xmm4
ucomiss xmm6, xmm10
movss xmm5, dword [rdi + 0x40]
movss xmm11, dword [rdi + 0x5c]
movaps xmm1, xmm5
maxss xmm1, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x210]
movss xmm7, dword [rdi + 0x44]
subss xmm0, xmm11
movss xmm12, dword [rdi + 0x60]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x214]
subss xmm0, xmm12
cvttss2si eax, xmm1
movaps xmm1, xmm7
maxss xmm1, dword [rdi + 0x4c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm9
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm0
addss xmm1, xmm8
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x10]
movups xmmword [rdi + 0x230], xmm2
movups xmmword [rdi + 0x240], xmm2
movss xmm2, dword [rdi + 0x14]
movaps xmm1, xmm3
subss xmm2, xmm12
subss xmm1, xmm11
addss xmm2, xmm7
addss xmm1, xmm5
addss xmm2, xmm14
movss dword [rdi + 0x260], xmm1
movss dword [rdi + 0x264], xmm2
jp 0x180050269
jne 0x180050269
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x84]
ucomiss xmm4, xmm10
addss xmm1, xmm6
movss dword [rdi + 0x268], xmm1
jp 0x18005029a
jne 0x18005029a
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x88]
addss xmm5, xmm10
addss xmm7, xmm14
movaps xmm14, xmmword [rsp + 0xf0]
addss xmm2, xmm4
subss xmm5, xmm11
movaps xmm11, xmmword [rsp + 0x120]
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x110]
movss dword [rdi + 0x26c], xmm2
movss dword [rdi + 0x118], xmm5
addss xmm5, xmm10
mov qword [rdi + 0x11c], 0
addss xmm7, dword [rdi + 0x14]
addss xmm5, xmm3
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm7
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xdc], xmm7
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xe4], xmm7
movss xmm0, dword [rdi + 0xe8]
movss xmm1, dword [rdi + 0xec]
movss dword [rdi + 0xf0], xmm0
movss dword [rdi + 0xf4], xmm1
movss dword [rdi + 0xf8], xmm0
movss dword [rdi + 0xfc], xmm1
mov qword [rdi + 0x108], 0
mov qword [rdi + 0x100], 0
mov qword [rdi + 0x110], 0
mov dword [rdi + 0x14c], r13d
movzx eax, word [rdi + 0x152]
mov word [rdi + 0x150], ax
mov word [rdi + 0x152], r13w
mov byte [rdi + 0x158], 0
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm10
seta al
cmp byte [rsp + 0x31], 0
mov byte [rdi + 0x159], al
mov byte [rdi + 0x15a], 0
movss xmm0, dword [rsi + 0x15a8]
movss dword [rdi + 0x164], xmm0
mov qword [rdi + 0x168], 0
je 0x1800503e5
xor eax, eax
mov qword [rdi + 0x17c], rax
mov dword [rdi + 0x184], eax
movss xmm1, dword [rdi + 0x168]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
movss dword [rdi + 0x168], xmm1
mov dword [rdi + 0x17c], r13d
movss xmm2, dword [rdi + 0x180]
comiss xmm2, xmm10
jbe 0x18005043d
movss xmm0, dword [rdi + 0x164]
addss xmm0, dword [rdi + 0x168]
movss dword [rdi + 0x168], xmm0
movss xmm1, dword [rdi + 0x168]
cvttss2si eax, xmm1
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x174], xmm0
movss dword [rdi + 0x168], xmm1
mov dword [rdi + 0x180], r13d
movss xmm2, dword [rdi + 0x184]
comiss xmm2, xmm10
jbe 0x180050481
addss xmm1, dword [rdi + 0x164]
cvttss2si eax, xmm1
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x178], xmm0
movss dword [rdi + 0x168], xmm1
mov qword [rdi + 0x184], 0
mov dword [rdi + 0x18c], r13d
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x1800504d9
mov eax, ecx
cdq
sub eax, edx
mov edx, r13d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.180057fa0
mov r15, qword [rsp + 0x60]
lea rax, [rdi + 0x288]
mov dword [rdi + 0x190], r13d
mov ebx, 1
mov qword [rdi + 0x1a0], rax
mov qword [rdi + 0x1a8], r13
mov dword [rdi + 0x1b4], ebx
test r15, r15
je 0x180050513
mov eax, dword [r15 + 0x1b4]
jmp 0x180050515
mov eax, ebx
mov dword [rdi + 0x1b8], eax
lea rcx, [rdi + 0x1d0]
mov qword [rdi + 0x1bc], 0xffffffffffffffff
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1c4], eax
mov dword [rdi + 0x1c8], 0xbf800000
call fcn.180058120
lea rcx, [rdi + 0x1e0]
call fcn.180058120
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x180050567
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x18005057a
dec al
mov byte [rdi + 0xa9], al
test r12b, r12b
je 0x180050591
mov rcx, rdi
call fcn.1800509f0
xor edx, edx
mov rcx, rdi
call fcn.1800537d0
movss xmm8, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss xmm6, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
test bl, r14b
jne 0x1800505e6
mov r8, qword [rbp - 0x80]
lea rdx, [rbp - 0x70]
movaps xmm0, xmm9
movss dword [rbp - 0x6c], xmm6
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm7
movss dword [rbp - 0x64], xmm8
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x68], xmm1
call fcn.18004e250
mov rax, qword [0x180218ec0]
mov dword [rdi + 0x270], 0
movss xmm1, dword [rax + 0x15c0]
movss xmm0, dword [rax + 0x15c4]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rax + 0x128]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x140]
jb 0x18005064a
movss xmm0, dword [rax + 0x12c]
comiss xmm0, xmm6
jb 0x18005064a
comiss xmm7, xmm1
jbe 0x18005064a
comiss xmm8, xmm0
mov ecx, ebx
ja 0x18005064d
mov ecx, r13d
mov eax, dword [rdi + 0x54]
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x124], eax
movaps xmm8, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x170]
mov dword [rdi + 0x128], ecx
movups xmmword [rdi + 0x12c], xmm0
jmp 0x1800506f1
mov rcx, qword [0x180218ec0]
mov qword [rcx + 0x1af0], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x1800506b0
imul rdx, rax, 0x258
add rdx, qword [rcx + 0x1ee0]
xor r13d, r13d
jmp 0x1800506b6
xor r13d, r13d
mov edx, r13d
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ed0], rdx
mov rax, qword [rdi + 0x380]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x1800506e1
mulss xmm0, dword [rax + 0x2a8]
movss dword [rcx + 0x1998], xmm0
movss dword [rcx + 0x1980], xmm0
movsxd rcx, dword [rsi + 0x1c58]
mov ebx, r14d
mov rax, qword [rsi + 0x1c60]
mov r12, qword [rsp + 0x1c8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [rsi + 0x1b24], ecx
and ebx, 0x1000000
je 0x180050725
mov eax, dword [r15 + 0x154]
jmp 0x180050728
mov eax, r13d
lea rdx, [rdi + 0x228]
mov dword [rdi + 0x154], eax
lea rcx, [rdi + 0x220]
mov r8b, 1
call fcn.18004acc0
mov eax, dword [rsp + 0x58]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [rsi + 0x1b90], r13d
mov r13, qword [rsp + 0x188]
cmp eax, dword [rsp + 0x5c]
je 0x18005088c
test ebx, ebx
je 0x1800507fc
test r14b, 0x40
jne 0x1800507c1
cmp byte [rdi + 0xa8], 0
jg 0x1800507c1
cmp byte [rdi + 0xa9], 0
jg 0x1800507c1
cmp byte [rsi + 0x2f64], 0
jne 0x1800507c1
movss xmm0, dword [rdi + 0x200]
comiss xmm0, dword [rdi + 0x208]
jae 0x1800507ba
movss xmm0, dword [rdi + 0x204]
comiss xmm0, dword [rdi + 0x20c]
jb 0x1800507c1
mov byte [rdi + 0xb0], 1
test r15, r15
je 0x1800507fc
cmp byte [r15 + 0x91], 0
jne 0x1800507da
cmp byte [r15 + 0xb0], 0
jle 0x1800507e1
mov byte [rdi + 0xb0], 1
cmp byte [r15 + 0x91], 0
jne 0x1800507f5
cmp byte [r15 + 0xb1], 0
jle 0x1800507fc
mov byte [rdi + 0xb1], 1
comiss xmm10, dword [rsi + 0x1560]
jb 0x18005080d
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x18005082c
cmp byte [rdi + 0xb1], 0
jg 0x18005082c
cmp byte [rdi + 0xb2], 0
jg 0x18005082c
xor cl, cl
jmp 0x18005082e
mov cl, 1
mov byte [rdi + 0x95], cl
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x18005084e
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x180050864
cmp byte [rdi + 0x8e], al
je 0x180050864
test cl, cl
je 0x180050886
cmp byte [rdi + 0xa8], al
jg 0x180050886
cmp byte [rdi + 0xa9], al
jg 0x180050886
cmp byte [rdi + 0xb1], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
mov r15, qword [rsp + 0x180]
sete al
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1800e9b60
movaps xmm10, xmmword [rsp + 0x130]
add rsp, 0x190
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret