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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov r13, qword [rdx]
mov rbx, rdx
mov edx, dword [rdx + 8]
mov r15, rcx
xor ebp, ebp
mov qword [rsp + 0x78], r13
mov dword [rsp + 0xe8], edx
mov r9d, 1
mov rcx, qword [rbx + 0x2c0]
cmp dword [rcx + 0x30], ebp
je 0x1801b6705
mov r14d, ebp
mov dword [rsp + 0xf8], ebp
jmp 0x1801b6769
cmp qword [rcx + 0x10], rbp
jne 0x1801b6755
movsxd rax, dword [rcx + 0x20]
test eax, eax
jle 0x1801b6742
mov rcx, qword [rcx + 0x18]
mov r8, rax
mov rdx, rbp
nop dword [rax]
mov eax, dword [rcx + 0xc]
or eax, dword [rcx + 8]
or eax, dword [rcx + 4]
or eax, dword [rcx]
test al, al
jne 0x1801b674e
inc rdx
add rcx, 0x10
cmp rdx, r8
jl 0x1801b6720
mov edx, dword [rsp + 0xe8]
mov r14d, ebp
mov dword [rsp + 0xf8], ebp
jmp 0x1801b6769
mov edx, dword [rsp + 0xe8]
mov r14d, r9d
mov dword [rsp + 0xf8], r9d
cmp dword [rbx + 0x5c], ebp
je 0x1801b6cc6
cmp dword [rbx + 0x1c8], 0
jne 0x1801b6783
mov eax, 0xff00
mov r12d, r9d
cmp word [rbx + 0x236], ax
jae 0x1801b6786
mov r12d, ebp
cmp edx, r9d
jne 0x1801b6790
mov edi, r9d
jmp 0x1801b67d3
test byte [r13 + 0x30], 4
je 0x1801b67a6
cmp edx, 2
je 0x1801b67a1
cmp edx, 0xc
jne 0x1801b67d1
mov edi, r9d
jmp 0x1801b67d3
test r12d, r12d
je 0x1801b67d1
cmp edx, 2
jne 0x1801b67d1
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x80]
call fcn.180170dc0
mov edx, dword [rsp + 0xe8]
mov edi, eax
mov r9d, 1
jmp 0x1801b67d3
mov edi, ebp
test r14d, r14d
jne 0x1801b67e4
test edi, edi
je 0x1801b67e4
mov esi, r9d
test r12d, r12d
jne 0x1801b67e6
mov esi, ebp
cmp edx, 1
jne 0x1801b6800
test r14d, r14d
jne 0x1801b67f5
test r12d, r12d
jne 0x1801b6800
test byte [r15 + 0x30], 1
je 0x1801b6cc6
test esi, esi
je 0x1801b68e4
cmp dword [rbx + 0xb0], 1
jne 0x1801b68e4
mov rcx, qword [rbx + 0xf8]
mov rax, qword [rcx]
cmp dword [rax], 0x10
jne 0x1801b68e4
cmp dword [rbx + 0xb8], 0
je 0x1801b685d
lea rdx, [rsp + 0x80]
call qword [rax + 0x38]
cmp dword [rax + 0x170], 0
jne 0x1801b685d
lea rdx, [rbx + 0x60]
lea rcx, [rax + 0x160]
call fcn.1801b53c0
test eax, eax
je 0x1801b68dd
test byte [r13 + 0x30], 4
mov rdi, qword [rsp + 0xf0]
jne 0x1801b688c
mov r9, rdi
lea r8, [0x1805897e8]
xor edx, edx
mov rcx, r13
call qword [r15 + 0x38]
test eax, eax
jne 0x1801b6ccb
or dword [r13 + 0x30], 4
mov rcx, rdi
call fcn.1801763f0
mov rcx, qword [rbx + 0xf8]
lea rdx, [rsp + 0x80]
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x38]
mov dword [rsp + 0x30], ebp
lea r8, [rbx + 0xc0]
mov rcx, rax
mov dword [rsp + 0x28], ebp
mov r9, r13
mov qword [rsp + 0x20], rdi
call fcn.1801a7e30
mov rcx, rdi
mov ebx, eax
call fcn.180173400
mov eax, ebx
jmp 0x1801b6ccb
mov edx, dword [rsp + 0xe8]
lea rax, [rbx + 0x80]
test r14d, r14d
jne 0x1801b6924
test r12d, r12d
je 0x1801b6924
cmp dword [rax + 0x30], r14d
jne 0x1801b6924
mov r9, qword [rsp + 0xf0]
lea r8, [rax + 0x78]
test edi, edi
mov eax, 1
mov rcx, r13
cmovne edx, eax
mov dword [rsp + 0xe8], edx
call qword [r15 + 0x38]
jmp 0x1801b6ac9
test esi, esi
je 0x1801b6ad4
cmp dword [rax + 0x30], 1
jne 0x1801b6ad4
mov rcx, qword [rbx + 0xf8]
lea rdx, [rsp + 0x80]
mov r15, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov qword [rsp + 0x60], rax
mov r14d, dword [rax + 0x10]
test r14d, r14d
je 0x1801b6966
cmp r14d, dword [r15 + 0x10]
jne 0x1801b6ad4
movsd xmm0, qword [rbx + 0xc0]
movsd xmm2, qword [0x1805becf0]
ucomisd xmm0, xmm2
jp 0x1801b6ad4
jne 0x1801b6ad4
movsd xmm0, qword [rbx + 0xc8]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jp 0x1801b6ad4
jne 0x1801b6ad4
movsd xmm0, qword [rbx + 0xd0]
ucomisd xmm0, xmm1
jp 0x1801b6ad4
jne 0x1801b6ad4
movsd xmm0, qword [rbx + 0xd8]
ucomisd xmm0, xmm2
jp 0x1801b6ad4
jne 0x1801b6ad4
movsd xmm0, qword [rbx + 0xe0]
addsd xmm0, qword [0x1805beed8]
movsd qword [rsp + 0x70], xmm0
movsd xmm0, qword [rbx + 0xe8]
addsd xmm0, qword [0x1805beed8]
mov rdx, qword [rsp + 0x70]
movsd qword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x68]
mov ecx, eax
or ecx, edx
test cl, cl
jne 0x1801b6ad4
mov r8d, dword [rbx + 0x3c]
mov edi, dword [rsp + 0x80]
sar edx, 8
sar eax, 8
lea ecx, [r8 + rdx]
cmp ecx, edi
jl 0x1801b6ad4
mov esi, dword [rbx + 0x40]
mov r11d, dword [rsp + 0x84]
lea ecx, [rsi + rax]
cmp ecx, r11d
jl 0x1801b6ad4
mov r9d, dword [rbx + 0x44]
add r9d, r8d
mov r8d, dword [rsp + 0x88]
add r8d, edi
add r9d, edx
cmp r9d, r8d
jg 0x1801b6ad4
mov r10d, dword [rbx + 0x48]
mov r9d, dword [rsp + 0x8c]
add r10d, esi
add r10d, eax
add r9d, r11d
cmp r10d, r9d
jg 0x1801b6ad4
lea r8d, [rdx + rdi]
mov rcx, r15
lea edx, [rax + r11]
mov rax, qword [rsp + 0xe0]
test r14d, r14d
jne 0x1801b6aac
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x40]
jmp 0x1801b6ac9
mov dword [rsp + 0x28], edx
lea r9, [rbx + 0x3c]
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0xf0]
call qword [rax + 0x48]
mov edi, eax
cmp eax, 0x64
jne 0x1801b6c9f
cmp dword [rsp + 0xf8], 0
mov rsi, rbp
mov r14d, ebp
mov r15d, ebp
je 0x1801b6b1e
mov r8, qword [rbx + 0x2c0]
lea r9, [rbx + 0x3c]
mov rcx, qword [rsp + 0xe0]
mov rdx, r13
call fcn.1801b5400
mov rsi, rax
mov eax, dword [rax + 0x1c]
test eax, eax
jne 0x1801b6ccb
mov r14d, dword [rbx + 0x3c]
mov r15d, dword [rbx + 0x40]
neg r14d
neg r15d
test r12d, r12d
jne 0x1801b6bf0
lea rcx, [rsp + 0xf8]
mov r8d, 1
mov qword [rsp + 0x30], rcx
lea rax, [rbx + 0x70]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x198]
mov rax, qword [rsp + 0xe0]
mov r9, r12
mov rcx, r13
call qword [rax + 0x50]
mov rdi, rax
cmp dword [rax + 0x1c], 0
je 0x1801b6b82
mov rcx, rsi
call fcn.18013b6d0
mov eax, dword [rdi + 0x1c]
jmp 0x1801b6ccb
test rsi, rsi
je 0x1801b6be0
mov rax, qword [rsp + 0xf0]
xor r9d, r9d
mov qword [rsp + 0x58], r12
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rcx, rsi
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x48], r15d
lea edx, [r9 + 3]
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xe0]
call qword [rax + 0x58]
mov rcx, rdi
call fcn.18013b6d0
jmp 0x1801b6bf0
mov r14d, dword [rsp + 0x60]
mov rsi, rdi
mov r15d, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf8]
xor r8d, r8d
mov qword [rsp + 0x30], rcx
lea rax, [rbx + 0x60]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x80]
mov rax, qword [rsp + 0xe0]
mov r9, r12
mov rcx, r13
call qword [rax + 0x50]
mov r13, rax
mov edi, dword [rax + 0x1c]
test edi, edi
jne 0x1801b6c97
mov ecx, dword [rsp + 0xf8]
mov r9, rsi
mov rax, qword [rsp + 0xf0]
mov r8, r13
mov edx, dword [rsp + 0xe8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x58]
mov rcx, r13
mov edi, eax
call fcn.18013b6d0
mov rcx, rsi
call fcn.18013b6d0
test edi, edi
jne 0x1801b6cc2
cmp dword [rbx + 0x5c], edi
jne 0x1801b6cc2
mov r8, qword [rsp + 0xf0]
mov rdx, rbx
mov rcx, qword [rsp + 0xe0]
call fcn.1801b61c0
mov edi, eax
mov eax, edi
jmp 0x1801b6ccb
mov eax, 0x64
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret