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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
add rax, 0x178
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0
mov rax, qword [rsp + 0xc8]
mov dword [rax + 4], 0
mov eax, dword [rsp + 0xb8]
dec eax
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xc0]
dec eax
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0xb8], eax
jae 0x1800bb8d5
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0xc0], eax
jb 0x1800bb8da
jmp 0x1800bbeb4
mov eax, dword [rsp + 0xb8]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xb0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xc0]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xb0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
shl eax, 0x10
movzx ecx, word [rsp + 0x3c]
or eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x50], rax
jmp 0x1800bb95c
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800bb984
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x40], eax
jb 0x1800bb982
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x40], eax
ja 0x1800bb982
jmp 0x1800bb989
jmp 0x1800bb94f
jmp 0x1800bbeb4
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
call fcn.1800574e0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1800bb9cf
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
mov rcx, qword [rsp + 0x48]
imul eax, dword [rcx + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1800578a0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1800bb9d4
jmp 0x1800bbeb4
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x5c], eax
mov ecx, dword [rsp + 0x58]
call fcn.1800bae40
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
imul eax, dword [rsp + 0x5c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
and eax, 1
test eax, eax
je 0x1800bba57
mov byte [rsp + 0x94], 1
jmp 0x1800bba5f
mov byte [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x78], al
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
and eax, 2
test eax, eax
je 0x1800bba85
mov byte [rsp + 0x95], 1
jmp 0x1800bba8d
mov byte [rsp + 0x95], 0
movzx eax, byte [rsp + 0x95]
mov byte [rsp + 0x79], al
cmp dword [rsp + 0x68], 0
jbe 0x1800bbbfb
mov eax, dword [rsp + 0x68]
imul eax, dword [rsp + 0x5c]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1800bbb53
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1800bbb9d
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1800bbbaf
jmp 0x1800bbe32
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jae 0x1800bbbfb
movzx eax, byte [rsp + 0x79]
test eax, eax
je 0x1800bbbdb
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x1800bbbee
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x64], eax
jbe 0x1800bbd3d
mov eax, dword [rsp + 0x64]
shr eax, 1
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1800bbcbb
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1800bbd05
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1800bbd17
jmp 0x1800bbe32
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jae 0x1800bbd38
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800bbbfb
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1800bbddb
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1800bbe25
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1800bbeaa
movzx eax, byte [rsp + 0x79]
test eax, eax
je 0x1800bbe74
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
cwde
mov dword [rsp + 0x8c], eax
jmp 0x1800bbe90
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0xa]
add eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
call fcn.180057b70
mov eax, dword [rsp + 0x28]
add rsp, 0xa0
pop rdi
ret