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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x40], 0
je 0x1800bb24a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
xor eax, eax
jmp 0x1800bb558
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
cqo
mov rcx, qword [rsp + 0x50]
idiv rcx
mov rax, rdx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1800bb31d
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov rcx, qword [rsp + 0x80]
movsxd rcx, dword [rcx + 0x38]
cmp rax, rcx
jle 0x1800bb2be
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x34], eax
jmp 0x1800bb2dc
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.180084b10
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800bb31d
mov eax, dword [rsp + 0x38]
jmp 0x1800bb558
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + 0x38]
sub eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x88], eax
jg 0x1800bb384
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
jmp 0x1800bb556
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x88]
cmp dword [rax + 0x10], ecx
jge 0x1800bb43c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
shl eax, 1
cmp eax, 0x80
jge 0x1800bb3ba
mov dword [rsp + 0x3c], 0x80
jmp 0x1800bb3cb
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
shl eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x88], eax
jle 0x1800bb3ec
mov eax, dword [rsp + 0x24]
shl eax, 1
mov dword [rsp + 0x24], eax
jmp 0x1800bb3d3
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call fcn.18008dee0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1800bb41c
mov eax, 7
jmp 0x1800bb558
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x20], rcx
movsxd rax, dword [rsp + 0x2c]
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x30]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rdx + 0x20]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jle 0x1800bb53f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
cmp dword [rsp + 0x20], eax
jle 0x1800bb4cd
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.1800bb1e0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800bb4f4
mov eax, dword [rsp + 0x40]
jmp 0x1800bb558
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x88]
sub edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x20]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x58]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x1800bb49a
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
ret