Function at 0x1800bb060
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 0x1800bb0ca
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 0x1800bb3d8
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 0x1800bb19d
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 0x1800bb13e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x34], eax
jmp 0x1800bb15c
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.180084960
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800bb19d
mov eax, dword [rsp + 0x38]
jmp 0x1800bb3d8
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 0x1800bb204
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 0x1800bb3d6
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x88]
cmp dword [rax + 0x10], ecx
jge 0x1800bb2bc
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
shl eax, 1
cmp eax, 0x80
jge 0x1800bb23a
mov dword [rsp + 0x3c], 0x80
jmp 0x1800bb24b
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 0x1800bb26c
mov eax, dword [rsp + 0x24]
shl eax, 1
mov dword [rsp + 0x24], eax
jmp 0x1800bb253
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call fcn.18008dd20
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1800bb29c
mov eax, 7
jmp 0x1800bb3d8
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 0x1800bb3bf
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 0x1800bb34d
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.1800bb060
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800bb374
mov eax, dword [rsp + 0x40]
jmp 0x1800bb3d8
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 0x1800bb31a
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