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

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1800c2280]
xor rax, rsp
mov qword [rbp - 0x48], rax
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r15, qword [0x1800c8be0]
inc eax
movzx ecx, byte [rcx + 0xc8]
mov r13, rdx
mov dword [rsp + 0x58], eax
mov edx, dword [r15 + 0x3f60]
mov dword [rsp + 0x78], edx
test cl, 0x40
je 0x18002075d
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x180020762
mov byte [rsp + 0x30], 0
xor r14d, r14d
lea r9d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x18002077b
mov dword [rsp + 0x5c], r9d
cmp eax, edx
je 0x180020780
mov dword [rsp + 0x5c], r14d
and cl, 0xbf
mov dword [rsi + 0xc0], r14d
xor bl, bl
mov byte [rsi + 0xc8], cl
mov rax, qword [rsi + 0x18]
mov rdx, rsi
mov dword [rsp + 0x4c], ebx
mov qword [rsp + 0x60], rdx
test rax, rax
je 0x1800207c7
nop word [rax + rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1800207b0
mov ebx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x60]
mov rax, qword [r15 + 0x43d0]
test rax, rax
je 0x1800207df
cmp qword [rax + 0x420], rsi
sete bl
jmp 0x18002080a
mov r8, qword [r15 + 0x4268]
test r8, r8
je 0x18002080e
mov rax, qword [r13 + 0x3b0]
cmp qword [r8 + 0x3b8], rax
jne 0x18002080e
mov eax, dword [rsi]
cmp dword [rdx + 0xb8], eax
movzx ebx, bl
cmove ebx, r9d
mov dword [rsp + 0x4c], ebx
mov eax, dword [rsi + 0x10]
test eax, 0x3000
jne 0x1800217e2
movzx ecx, byte [r13 + 0xd0]
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x140], r12
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
movaps xmmword [rsp + 0x110], xmm8
movaps xmmword [rsp + 0x100], xmm9
movaps xmmword [rsp + 0xf0], xmm10
movaps xmmword [rsp + 0xe0], xmm11
shr eax, 0xa
movaps xmmword [rsp + 0xd0], xmm12
movaps xmmword [rsp + 0xc0], xmm13
mov byte [rsp + 0x48], cl
test r9b, al
jne 0x180020894
mov byte [r13 + 0xd0], r14b
mov dword [r13 + 0x170], r9d
mov rax, qword [0x1800c8be0]
mov r12d, dword [rsi]
mov rdi, qword [rax + 0x3fe0]
cmp dword [rax + 0x401c], r12d
jne 0x1800208bd
xor r8d, r8d
mov ecx, r12d
lea edx, [r8 + 0xd]
call fcn.180025dd0
add rdi, 0x108
mov ecx, dword [rdi + 4]
mov eax, dword [rdi]
cmp eax, ecx
jne 0x1800208f9
lea r8d, [rax + 1]
test ecx, ecx
je 0x1800208e0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800208e5
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.180026db0
mov eax, dword [rdi]
movsxd rcx, eax
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], r12d
inc dword [rdi]
mov rax, qword [rsi + 0x40]
mov qword [rbp - 0x70], rax
mov rdi, rax
test rax, rax
jne 0x180020922
mov rcx, rsi
call fcn.180021870
mov rdi, qword [rsi + 0x40]
and byte [rsi + 0xc8], 0xfd
movzx eax, bl
add al, al
mov dword [rsp + 0x50], r14d
or byte [rsi + 0xc8], al
test dword [rsi + 0x10], 0x4000
jne 0x180020982
cmp dword [r15 + 0x3930], 0xffffffff
je 0x180020982
mov byte [rbp - 0x50], 1
call fcn.180014eb0
test al, al
je 0x180020986
mov rdx, rdi
mov rcx, rsi
call fcn.180020530
test eax, eax
je 0x18002096f
mov dword [rdi + 0x1c], eax
mov dword [rsp + 0x50], eax
movzx eax, byte [rsi + 0xc8]
shr al, 1
and al, 1
or bl, al
mov dword [rsp + 0x4c], ebx
jmp 0x180020986
mov byte [rbp - 0x50], r14b
mov rax, qword [0x1800c8be0]
xorps xmm13, xmm13
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm9, xmm7
movzx ecx, byte [rsi + 0xc8]
movaps xmm8, xmm10
movss xmm3, dword [rax + 0x3944]
movaps xmm4, xmm10
movss xmm2, dword [rax + 0x3d50]
movaps xmm5, xmm3
movss xmm6, dword [rax + 0x3948]
movaps xmm0, xmm2
movss dword [rsp + 0x3c], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x80], xmm10
addss xmm6, xmm6
movss dword [rbp - 0x7c], xmm7
mov qword [rsp + 0x68], r14
addss xmm8, dword [rsi + 0x50]
addss xmm6, xmm0
movss xmm0, dword [rax + 0x391c]
addss xmm4, xmm0
movss dword [rbp - 0x78], xmm8
movaps xmm1, xmm8
subss xmm1, xmm0
movss dword [rsp + 0x44], xmm6
movss dword [rbp - 0x74], xmm6
addss xmm5, xmm4
subss xmm1, xmm3
movss dword [rsp + 0x38], xmm5
movss dword [rsp + 0x40], xmm1
test cl, 8
je 0x180020a50
subss xmm1, xmm2
movss dword [rsp + 0x6c], xmm7
movaps xmm0, xmm1
movss dword [rsp + 0x40], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x68], xmm0
test cl, 0x10
je 0x180020aa3
cmp dword [rax + 0x3930], r14d
jne 0x180020a72
addss xmm2, dword [rax + 0x395c]
addss xmm2, xmm5
movss dword [rsp + 0x38], xmm2
jmp 0x180020aa3
cmp dword [rax + 0x3930], 1
jne 0x180020aa3
addss xmm3, xmm2
subss xmm1, xmm3
movss dword [rsp + 0x40], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x70], xmm1
movss xmm4, dword [rsp + 0x70]
shufps xmm0, xmm0, 0x55
movaps xmm9, xmm0
mov r12d, r14d
mov eax, dword [rdi]
movups xmm0, xmmword [rsp + 0x38]
mov dword [rsp + 0x54], eax
movss dword [rsp + 0x70], xmm4
movups xmmword [rbp - 0x68], xmm0
movss dword [rsp + 0x74], xmm9
cmp dword [rsi + 0x30], r14d
jle 0x180020b35
mov rbx, r14
nop dword [rax + rax]
mov rax, qword [rsi + 0x38]
mov r10, qword [rbx + rax]
mov r8d, dword [r10 + 0x90]
test r8d, r8d
je 0x180020b14
mov edx, dword [rdi]
mov eax, r14d
test edx, edx
jle 0x180020b14
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x180020b05
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x180020af4
jmp 0x180020b14
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x180020b24
mov r8, r10
mov edx, 0x400000
mov rcx, rdi
call fcn.180050b60
inc r12d
add rbx, 8
cmp r12d, dword [rsi + 0x30]
jl 0x180020ad0
mov ebx, dword [rsp + 0x4c]
test bl, bl
je 0x180020b46
mov eax, dword [r15 + 0x3f60]
mov dword [rsi + 0xb4], eax
cmp byte [r13 + 0xce], r14b
je 0x180020b56
mov ecx, 0xc
jmp 0x180020b62
test bl, bl
mov rcx, r14
setne cl
add rcx, 0xa
mov rax, qword [0x1800c8be0]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39d0]
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rsp + 0x44], xmm0
call fcn.180003a10
movss xmm2, dword [0x1800b2580]
mov r11d, eax
movss xmm1, dword [r13 + 0x48]
movss xmm3, dword [r13 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r13 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm0, xmm3
addss xmm3, dword [r13 + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm8, xmm1
subss xmm3, xmm2
setae r10b
comiss xmm0, xmm7
setae al
comiss xmm6, xmm3
setae r9b
test al, al
je 0x180020bfa
test cl, cl
je 0x180020bfa
mov r8d, 0x110
jmp 0x180020c04
mov r8d, 0x100
test al, al
je 0x180020c0e
mov edx, 0x20
test r10b, r10b
jne 0x180020c11
mov edx, r14d
test r9b, r9b
je 0x180020c21
test cl, cl
je 0x180020c21
mov ecx, 0x40
jmp 0x180020c29
mov ecx, r14d
test r9b, r9b
je 0x180020c33
mov eax, 0x80
test r10b, r10b
jne 0x180020c36
mov eax, r14d
movss xmm0, dword [r13 + 0x80]
or eax, ecx
mov rcx, qword [r13 + 0x2c0]
or eax, edx
or eax, r8d
lea rdx, [rbp - 0x80]
mov dword [rsp + 0x28], eax
lea r8, [rbp - 0x78]
mov r9d, r11d
movss dword [rsp + 0x20], xmm0
call fcn.180031cf0
cmp byte [rbp - 0x50], r14b
je 0x180020d46
movsxd rcx, dword [r13 + 0x108]
xor edx, edx
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x1800aaf08]
call fcn.180003410
mov rcx, qword [0x1800c8be0]
mov r12d, eax
cmp dword [rcx + 0x401c], eax
jne 0x180020cb7
lea r8, [0x1800aaf08]
mov edx, 0xb
mov ecx, eax
call fcn.180025dd0
mov r8, rsi
lea rdx, [rsp + 0x70]
mov ecx, r12d
call fcn.18003fbd0
test al, al
je 0x180020d26
mov rbx, qword [0x1800c8be0]
xor edx, edx
mov rax, qword [rbx + 0x3fe0]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x1800ab1e0]
call fcn.180003410
mov r12d, eax
cmp dword [rbx + 0x401c], eax
jne 0x180020d18
lea r8, [0x1800ab1e0]
mov edx, 0xb
mov ecx, eax
call fcn.180025dd0
xor edx, edx
mov ecx, r12d
call fcn.180014f20
mov ebx, dword [rsp + 0x4c]
mov rax, qword [0x1800c8be0]
mov ecx, dword [rax + 0x4034]
test ecx, ecx
je 0x180020d46
cmp ecx, dword [rax + 0x40b0]
jne 0x180020d46
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x50], eax
mov r9d, dword [rdi]
lea edx, [r9 - 1]
test edx, edx
js 0x180020d84
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
nop dword [rax]
mov r8, qword [rdi + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x180020d84
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x180020d60
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x180020dc1
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x180020dc1
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x180020dc1
movsxd rax, r9d
mov r8d, 0x30
lea r9, [0x1800204e0]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call qword [0x180093830]
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x180020de3
mov rcx, qword [rax + 0x3a0]
cmp qword [rcx + 0x420], rsi
jne 0x180020de3
mov eax, dword [rcx + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x70], r14
jne 0x180020e18
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x180020e18
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x180020e18
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x18002132b
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x180020e05
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x54]
jle 0x180020e3d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 0x90]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r8d, 0x500003
cmp byte [r13 + 0xce], r14b
jne 0x180020e57
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.18004f7e0
movups xmm7, xmmword [r15 + 0x39d0]
mov dword [rsp + 0x54], r14d
movups xmm8, xmmword [r15 + 0x3be0]
movups xmm9, xmmword [r15 + 0x3bf0]
movups xmm10, xmmword [r15 + 0x3c00]
movups xmm11, xmmword [r15 + 0x3c10]
movups xmm12, xmmword [r15 + 0x3c20]
mov qword [rsi + 0x90], r14
cmp dword [rsi + 0x30], r14d
jle 0x180021290
movss xmm6, dword [0x1800b24b8]
mov r12, r14
nop word [rax + rax]
mov rax, qword [rsi + 0x38]
mov rbx, qword [r12 + rax]
cmp byte [rsp + 0x30], r14b
jne 0x180020edb
mov eax, dword [rsp + 0x5c]
cmp eax, dword [rbx + 0x90]
jne 0x180020ef1
cmp byte [rbx + 0xd5], r14b
je 0x180020ef1
test dword [rbx + 0xc], 0x100000
je 0x180021270
mov eax, dword [rbx + 0x280]
inc eax
cmp eax, dword [r15 + 0x3f60]
jge 0x180020f10
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x58], eax
je 0x180021270
mov ecx, dword [rbx + 0x404]
xorps xmm3, xmm3
mov eax, dword [rbx + 0xc]
xorps xmm2, xmm2
mov r8d, dword [rbx + 0x24]
xorps xmm1, xmm1
mov edx, dword [rdi + 0x10]
xorps xmm0, xmm0
or r8d, 1
and eax, 0x100000
movzx eax, cl
cmove r8d, dword [rbx + 0x24]
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
shufps xmm3, xmm3, 0xe1
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x39d0], xmm3
mov ecx, dword [rbx + 0x408]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3be0], xmm3
mov ecx, dword [rbx + 0x40c]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
mulss xmm2, xmm6
shufps xmm3, xmm3, 0xe1
xorps xmm0, xmm0
movss xmm3, xmm2
shr ecx, 0x18
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm1, xmm6
mulss xmm0, xmm6
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3bf0], xmm3
mov ecx, dword [rbx + 0x410]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3c00], xmm3
mov ecx, dword [rbx + 0x414]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3c10], xmm3
mov ecx, dword [rbx + 0x418]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
mulss xmm3, xmm6
shr eax, 8
mov r9d, r8d
shufps xmm3, xmm3, 0xe1
or r9d, 4
movzx eax, al
xorps xmm2, xmm2
xorps xmm1, xmm1
mov qword [rsp + 0x20], rbx
xorps xmm0, xmm0
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
and dl, 8
movzx eax, al
cmove r9d, r8d
lea r8, [rbp - 0x50]
cvtsi2ss xmm1, rax
mov eax, ecx
mov rcx, rdi
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3c20], xmm3
cmp byte [rbx + 0xd5], r14b
mov rdx, qword [rbx]
cmove r8, r14
mov byte [rbp - 0x50], 1
call fcn.1800515d0
cmp byte [rbp - 0x50], r14b
jne 0x180021217
mov eax, dword [rbx + 0x90]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x20], eax
jne 0x180021229
mov qword [rsi + 0x90], rbx
mov eax, dword [r15 + 0x40b8]
mov dword [rbx + 0x434], eax
movups xmm0, xmmword [r15 + 0x40bc]
movups xmmword [rbx + 0x438], xmm0
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x180021270
cmp qword [rax + 0x3a0], rbx
jne 0x180021270
test byte [rbx + 0x174], 2
jne 0x180021270
mov eax, dword [rbx + 0x90]
mov dword [r13 + 0x3d4], eax
mov eax, dword [rsp + 0x54]
add r12, 8
inc eax
mov dword [rsp + 0x54], eax
cmp eax, dword [rsi + 0x30]
jl 0x180020ec0
nop word [rax + rax]
movups xmmword [r15 + 0x39d0], xmm7
movups xmmword [r15 + 0x3be0], xmm8
movups xmmword [r15 + 0x3bf0], xmm9
movups xmmword [r15 + 0x3c00], xmm10
movaps xmm10, xmmword [rsp + 0xf0]
movups xmmword [r15 + 0x3c10], xmm11
movaps xmm11, xmmword [rsp + 0xe0]
movups xmmword [r15 + 0x3c20], xmm12
mov rcx, qword [rsi + 0x90]
movaps xmm12, xmmword [rsp + 0xd0]
test rcx, rcx
je 0x180021303
mov rax, qword [rsp + 0x60]
cmp byte [rsp + 0x4c], r14b
jne 0x1800212fc
cmp qword [rax + 0x90], r14
jne 0x180021303
mov qword [rax + 0x90], rcx
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x180021349
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x180021349
cmp byte [rcx + 0xd5], r14b
je 0x180021349
mov r12b, 1
jmp 0x180021441
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x180020e18
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x180020e3d
test al, al
je 0x180021548
mov rbx, qword [0x1800c8be0]
mov eax, dword [rbx + 0x4098]
lea r12, [rbx + 0x41c0]
or eax, 4
mov dword [rbx + 0x4098], eax
mov ecx, dword [r12 + 4]
mov dword [rsp + 0x58], eax
mov eax, dword [r12]
cmp eax, ecx
jne 0x1800213b4
lea r8d, [rax + 1]
test ecx, ecx
je 0x180021392
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180021397
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.180026db0
mov eax, dword [r12]
mov rbx, qword [0x1800c8be0]
mov edx, dword [rsp + 0x58]
movsxd rcx, eax
mov rax, qword [r12 + 8]
mov dword [rbp - 0x68], r14d
mov dword [rax + rcx*4], edx
lea rcx, [rbx + 0x4180]
inc dword [r12]
lea rdx, [rbp - 0x68]
movups xmm0, xmmword [rbx + 0x39d0]
movss xmm8, dword [r15 + 0x39dc]
movss xmm9, dword [r15 + 0x39d0]
movss xmm6, dword [r15 + 0x39d4]
movss xmm7, dword [r15 + 0x39d8]
mulss xmm8, dword [0x1800b24f8]
movups xmmword [rbp - 0x64], xmm0
call fcn.180026870
shufps xmm9, xmm9, 0xe1
xor r12b, r12b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x39d0], xmm9
movsxd rcx, dword [r13 + 0x108]
xor edx, edx
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x1800aafc0]
call fcn.180003410
mov rcx, qword [0x1800c8be0]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x180021486
lea r8, [0x1800aafc0]
mov edx, 0xb
mov ecx, eax
call fcn.180025dd0
lea rdx, [rsp + 0x68]
mov ecx, ebx
call fcn.18003f810
test al, al
je 0x1800214ea
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rdi], r14d
jle 0x1800214ea
mov rcx, r14
nop dword [rax + rax]
mov rdx, qword [rdi + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x1800214d6
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rdi + 0x20], eax
jne 0x1800214de
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r14
jmp 0x1800214de
cmp dword [rdi + 0x20], eax
je 0x1800214de
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rdi]
jl 0x1800214b0
test r12b, r12b
jne 0x180021548
mov rbx, qword [0x1800c8be0]
mov rcx, qword [rbx + 0x4188]
movsxd rax, dword [rbx + 0x4180]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x39d
add rax, rax
movups xmmword [rbx + rax*8], xmm0
dec dword [rbx + 0x4180]
movsxd rcx, dword [rbx + 0x41c0]
lea eax, [rcx - 1]
mov dword [rbx + 0x41c0], eax
mov rax, qword [rbx + 0x41c8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4098], ecx
jmp 0x18002154f
mov rbx, qword [0x1800c8be0]
movsxd rcx, dword [r13 + 0x108]
xor edx, edx
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x1800ab208]
call fcn.180003410
mov r12d, eax
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
cmp dword [rbx + 0x401c], eax
jne 0x1800215b0
lea r8, [0x1800ab208]
mov edx, 0xb
mov ecx, eax
call fcn.180025dd0
mov eax, dword [r15 + 0x4020]
test eax, eax
je 0x1800215cd
cmp eax, r12d
je 0x1800215cd
cmp dword [r15 + 0x4034], r12d
jne 0x18002169b
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov edx, r12d
call fcn.18003e9f0
mov rax, qword [0x1800c8be0]
cmp dword [r15 + 0x4020], r12d
jne 0x180021624
mov dword [r15 + 0x40b0], r12d
mov ecx, dword [rax + 0x40b0]
cmp dword [rax + 0x4020], ecx
jne 0x180021615
mov byte [rax + 0x4028], 1
cmp dword [rax + 0x4034], ecx
jne 0x180021624
mov byte [rax + 0x4041], 1
cmp byte [rsp + 0x30], r14b
je 0x18002169b
movss xmm0, dword [rax + 0x36f0]
ucomiss xmm0, xmm13
jp 0x180021646
jne 0x180021646
mov eax, dword [rdi + 0x18]
mov edx, eax
mov dword [rsp + 0x50], eax
jmp 0x180021649
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x18002169b
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x18002169b
mov r9, qword [rdi + 8]
mov rcx, r9
nop
cmp dword [rcx], edx
je 0x180021671
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x180021660
jmp 0x18002169b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x18002169b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x180021690
mov rcx, qword [rsi + 0x88]
xor r8d, r8d
mov rdx, rsi
call fcn.180006de0
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm13, xmmword [rsp + 0xc0]
cmove edx, dword [rsp + 0x50]
mov r12, qword [rsp + 0x140]
test edx, edx
je 0x1800217a2
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x1800217a2
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x1800216e8
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1800216d4
jmp 0x1800217a2
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x1800217a2
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800217a2
call fcn.1800126b0
mov rax, qword [rbx + 8]
mov rdx, qword [0x1800c8be0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x18002172a
mov qword [rdx + 0x4270], r14
jmp 0x1800217a2
cmp rax, qword [rax + 0x3a0]
je 0x180021752
bt ecx, 0x1a
jb 0x180021752
mov ecx, dword [rax + 0x3d0]
test ecx, ecx
je 0x180021752
mov dword [rdx + 0x4270], ecx
mov dword [rdx + 0x4274], r14d
jmp 0x1800217a2
movsxd rcx, dword [rdx + 0x42a4]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x4268]
mov qword [rdx + 0x4270], r14
mov dword [rax + rcx*4 + 0x3d0], r14d
add rcx, rcx
mov rax, qword [rdx + 0x4268]
movups xmmword [rax + rcx*8 + 0x3d8], xmm0
mov word [rdx + 0x42ad], 1
mov dword [rdx + 0x42b0], r14d
movups xmmword [rdx + 0x42b4], xmm0
mov byte [rdx + 0x42ac], 1
call fcn.18004fbf0
mov rax, qword [0x1800c8be0]
mov rdi, qword [rsp + 0x190]
mov rcx, qword [rax + 0x3fe0]
dec dword [rcx + 0x108]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x18002184a
movzx eax, byte [rsp + 0x48]
mov byte [r13 + 0xd0], al
mov dword [r13 + 0x170], r14d
jmp 0x18002184a
cmp dword [rsi + 0x30], r14d
jle 0x1800217ef
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rsi + 0x90], r14
movzx eax, bl
add al, al
or cl, al
mov byte [rsi + 0xc8], cl
test bl, bl
je 0x180021817
mov eax, dword [r15 + 0x3f60]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x18002184a
test bl, bl
jne 0x18002182a
cmp qword [rdx + 0x90], 0
jne 0x180021831
mov qword [rdx + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x18002184a
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp - 0x48]
xor rcx, rsp
call fcn.18008ecd0
add rsp, 0x148
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret