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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov r14, qword [rbp + 0xd8]
mov r13, rdx
mov rbx, rcx
mov edi, dword [r14 + 0x3c]
cmp edi, dword [rcx + 0x64]
je 0x14018be73
mov rcx, qword [rcx]
mov edx, edi
call fcn.1401c42b0
test eax, eax
jne 0x14018be43
mov edx, edi
mov rcx, rbx
call fcn.14018a3d0
cmp rax, 0xffffffffffffff88
ja 0x14018c3cb
mov rcx, qword [rbx + 0x10]
mov edx, edi
call fcn.14018a320
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14018be43
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x14018bddc
xor r15d, r15d
lea rax, [rcx - 0x40]
mov qword [rbx + 0x18], r15
add rsp, 0x178
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
cmp edi, dword [rcx + 0x28]
jg 0x14018bde7
mov qword [rbx + 0x18], rcx
jmp 0x14018be2f
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rcx + 0x40]
movsd qword [rbp + 0xd8], xmm0
call fcn.14018a810
movups xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov ecx, edi
movaps xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rbp + 0xd8]
movsd qword [rsp + 0x40], xmm0
call fcn.140189a90
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14018be43
mov rcx, qword [rbx + 0x20]
mov edx, edi
call fcn.14018a320
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x14018be5b
mov rax, 0xffffffffffffffc0
add rsp, 0x178
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
lea rcx, [rbx + 0x28]
mov r8d, edi
mov edx, 0x190
call fcn.1401815e0
mov r8, qword [rbp + 0xc0]
mov rdi, qword [r14 + 0x40]
mov qword [rsp + 0x1b0], rsi
lea rax, [rdi - 1]
cmp rax, 0xffffe
ja 0x14018be9a
mov qword [r14 + 0x40], 0x100000
mov edi, 0x100000
jmp 0x14018beb0
cmp rdi, 0x40000000
jbe 0x14018beb0
mov qword [r14 + 0x40], 0x40000000
mov edi, 0x40000000
mov rsi, qword [rbp + 0xe0]
xor r15d, r15d
mov eax, r15d
cmp rsi, 0x100000
setbe al
mov dword [rbx + 0x2b0], eax
ja 0x14018bf94
movups xmm0, xmmword [r14 + 0x30]
mov rcx, qword [rbx + 0x18]
xor eax, eax
movups xmm1, xmmword [r14 + 0x40]
mov r9, qword [rbp + 0xd0]
mov rdx, r13
movups xmm2, xmmword [r14]
mov rcx, qword [rcx + 0x48]
movups xmm3, xmmword [r14 + 0x10]
mov qword [rsp + 0x28], rsi
movups xmm4, xmmword [r14 + 0x20]
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x20], r15d
movups xmm0, xmmword [r14 + 0x50]
mov dword [rbp + 0x2c], r15d
movups xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x30], r15
movups xmm1, xmmword [r14 + 0x60]
mov dword [rbp + 0x38], r15d
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r14 + 0x70]
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x6c], eax
lea rax, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm2
movups xmmword [rbp + 0x3c], xmm0
mov qword [rsp + 0x20], rax
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp + 0x4c], xmm0
movups xmmword [rbp + 0x5c], xmm0
movups xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.14017f7d0
jmp 0x14018c3c3
mov qword [rsp + 0x170], r12
mov r12d, 1
cmp dword [rbx + 0x2c4], r15d
jne 0x14018bfc2
mov rcx, rbx
call fcn.14018b1d0
mov rcx, rbx
call fcn.14018a990
mov dword [rbx + 0x2c4], r12d
movups xmm0, xmmword [r14]
mov rcx, qword [rbx + 0x2f8]
movups xmm1, xmmword [r14 + 0x10]
mov qword [rbx + 0x2c8], rsi
movups xmmword [rbx + 0x28], xmm0
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rbx + 0x38], xmm1
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rbx + 0x48], xmm0
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [rbx + 0x58], xmm1
movups xmm1, xmmword [r14 + 0x50]
movups xmmword [rbx + 0x68], xmm0
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [rbx + 0x78], xmm1
movups xmm1, xmmword [r14 + 0x70]
movups xmmword [rbx + 0x88], xmm0
movups xmmword [rbx + 0x98], xmm1
call fcn.140183360
test r13, r13
je 0x14018c0ab
movups xmm0, xmmword [rbx + 0x2e0]
xor r8d, r8d
mov eax, dword [r14 + 0x1c]
movsd xmm1, qword [rbx + 0x2f0]
mov rcx, r13
mov r9d, dword [rbp + 0xc8]
mov rdx, qword [rbp + 0xc0]
mov dword [rbp - 0x18], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [r14 + 4]
mov qword [rsp + 0x20], rax
movsd qword [rsp + 0x40], xmm1
movsd xmm1, qword [r14 + 0x14]
movaps xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x20], xmm1
call fcn.140183140
mov qword [rbx + 0x2f8], rax
mov qword [rbx + 0x300], rax
test rax, rax
jne 0x14018c0c0
mov rax, 0xffffffffffffffc0
jmp 0x14018c3bb
mov rax, qword [rbp + 0xd0]
mov qword [rbx + 0x300], rax
mov qword [rbx + 0x2f8], r15
movups xmm0, xmmword [r14]
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [r14 + 0x30]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [r14 + 0x40]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [r14 + 0x50]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [r14 + 0x60]
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [r14 + 0x70]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
call fcn.140189910
mov qword [rbx + 0xb0], rax
mov r8, rax
mov qword [rbx + 0xa8], rdi
test rdi, rdi
jne 0x14018c1a0
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [r14 + 0x30]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [r14 + 0x40]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [r14 + 0x70]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [r14 + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
cmp dword [r14 + 0x50], r15d
je 0x14018c17d
mov ecx, dword [rsp + 0x58]
lea eax, [rdi + 0x15]
add ecx, 4
jmp 0x14018c18e
mov rcx, qword [rsp + 0x50]
mov eax, 0x14
shr rcx, 0x20
add ecx, 2
cmp ecx, eax
mov rdi, r12
cmovb ecx, eax
shl rdi, cl
mov qword [rbx + 0xa8], rdi
cmp dword [r14 + 0x4c], r15d
je 0x14018c200
shr rdi, 0x14
mov rax, r12
bsr ecx, edi
mov qword [rbx + 0x298], r15
mov rdx, r12
add ecx, 0x14
shl rax, cl
mov ecx, 0x1f
dec rax
mov qword [rbx + 0x2a0], rax
movabs rax, 0xcf1bbcdcb7a56463
nop dword [rax]
test r12b, cl
je 0x14018c1e9
imul rdx, rax
imul rax, rax
shr rcx, 1
jne 0x14018c1e0
mov rdi, qword [rbx + 0xa8]
mov qword [rbx + 0x2a8], rdx
cmp rdi, r8
jae 0x14018c20f
mov qword [rbx + 0xa8], r8
mov rdi, r8
mov rcx, rdi
call fcn.140182830
mov rsi, qword [rbx + 0x10]
mov rdi, rax
mov rcx, rsi
call qword [0x1401f0358]
mov rcx, rsi
mov qword [rsi + 0x28], rdi
call qword [case.0x1400c3f48.0]
cmp dword [rbx + 0x78], r15d
je 0x14018c244
mov ecx, dword [rbx + 0x2c]
mov eax, r12d
shl eax, cl
jmp 0x14018c247
mov eax, r15d
cmp qword [rbx + 0xb0], r15
mov r8, r15
mov rcx, qword [rbx + 0xa8]
seta r8b
mov edx, eax
add r8, 2
imul r8, rcx
cmp dword [rbx + 0x64], r12d
cmovg r12d, dword [rbx + 0x64]
movsxd rdi, r12d
imul rdi, rcx
cmp rdx, rdi
cmova rdi, rdx
add rdi, r8
cmp qword [rbx + 0xf0], rdi
jae 0x14018c306
mov rcx, qword [rbx + 0xe8]
test rcx, rcx
je 0x14018c2b9
movups xmm0, xmmword [rbx + 0x2e0]
lea rdx, [rsp + 0x30]
movsd xmm1, qword [rbx + 0x2f0]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.14017ca10
movups xmm0, xmmword [rbx + 0x2e0]
lea rdx, [rsp + 0x30]
mov rcx, rdi
movsd xmm1, qword [rbx + 0x2f0]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.14017ca60
mov qword [rbx + 0xe8], rax
test rax, rax
jne 0x14018c2ff
mov qword [rbx + 0xf0], r15
mov rax, 0xffffffffffffffc0
jmp 0x14018c3bb
mov qword [rbx + 0xf0], rdi
movups xmm1, xmmword [r14 + 0x10]
mov r9, qword [rbx + 0xa8]
lea rcx, [rbx + 0x100]
mov rdx, qword [rbx + 0x20]
lea r8, [rsp + 0x50]
movaps xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [r14 + 0x30]
mov qword [rbx + 0xf8], r15
movups xmm0, xmmword [0x14022e8a0]
mov qword [rbx + 0xe0], r15
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [r14 + 0x50]
mov qword [rbx + 0x2b8], r15
movups xmmword [rbx + 0xd0], xmm0
mov qword [rbx + 0x2c0], r15
movups xmm0, xmmword [0x14022e8b0]
mov qword [rbx + 0x2d0], r15
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [r14 + 0x70]
mov qword [rbx + 0x2d8], r15
movups xmmword [rbx + 0xc0], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [r14 + 0x40]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [r14 + 0x60]
movaps xmmword [rbp - 0x50], xmm0
call fcn.14018ab30
neg eax
sbb rax, rax
and rax, 0xffffffffffffffc0
mov r12, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x1b0]
add rsp, 0x178
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret