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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xf8
movzx eax, byte [0x1800b67c8]
test eax, eax
jne 0x18000beb6
mov byte [0x1800b67c8], 1
call fcn.1800070b0
mov qword [rsp + 0x28], rax
call fcn.180007000
lea rdx, str.LoadLibraryA
mov rcx, rax
call fcn.180006ec0
mov qword [rsp + 0xa8], rax
call fcn.180007000
lea rdx, [0x180092698]
mov rcx, rax
call fcn.180006ec0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x88], 0
jbe 0x18000bc6e
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x8c], 0
jbe 0x18000bc6e
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x38]
add eax, dword [rcx + 4]
test eax, eax
je 0x18000bc6e
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x30], 0
jmp 0x18000bbb2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jge 0x18000bc51
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
and eax, 0xf000
cdqe
cmp rax, 0x3000
je 0x18000bbfa
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
and eax, 0xf000
cdqe
cmp rax, 0xa000
jne 0x18000bc4c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
movzx ecx, word [rdx + rcx*2]
and ecx, 0xfff
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
add rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
jmp 0x18000bba8
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x18000bb5f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0
je 0x18000be6c
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0xb8]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x18000bd3a
xor eax, eax
jmp 0x18000beb8
mov dword [rsp + 0x20], 0
jmp 0x18000bd4e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
cmp qword [rcx + rax*8], 0
jne 0x18000bd64
jmp 0x18000be59
mov qword [rsp + 0x58], 0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movabs rdx, 0x8000000000000000
mov rax, qword [rcx + rax*8]
and rax, rdx
test rax, rax
je 0x18000bdd7
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax*8]
and rax, 0xffff
test rax, rax
je 0x18000bdd5
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc0], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
jmp 0x18000be30
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 2
test rax, rax
je 0x18000be30
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x70]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18000be50
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rdx
jmp 0x18000be54
xor eax, eax
jmp 0x18000beb8
jmp 0x18000bd44
mov rax, qword [rsp + 0x48]
add rax, 0x14
mov qword [rsp + 0x48], rax
jmp 0x18000bcac
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x28]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0x28]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0xe0]
nop
xor eax, eax
add rsp, 0xf8
ret