Function at 0x180009e70
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 [0x1800b4788]
test eax, eax
jne 0x18000a2d6
mov byte [0x1800b4788], 1
call fcn.180006620
mov qword [rsp + 0x28], rax
call fcn.180006570
lea rdx, str.LoadLibraryA
mov rcx, rax
call fcn.180006430
mov qword [rsp + 0xa8], rax
call fcn.180006570
lea rdx, [0x180090600]
mov rcx, rax
call fcn.180006430
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 0x18000a08e
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x8c], 0
jbe 0x18000a08e
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 0x18000a08e
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 0x180009fd2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jge 0x18000a071
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
and eax, 0xf000
cdqe
cmp rax, 0x3000
je 0x18000a01a
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
and eax, 0xf000
cdqe
cmp rax, 0xa000
jne 0x18000a06c
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 0x180009fc8
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 0x180009f7f
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 0x18000a28c
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 0x18000a15a
xor eax, eax
jmp 0x18000a2d8
mov dword [rsp + 0x20], 0
jmp 0x18000a16e
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 0x18000a184
jmp 0x18000a279
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 0x18000a1f7
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax*8]
and rax, 0xffff
test rax, rax
je 0x18000a1f5
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 0x18000a250
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 0x18000a250
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 0x18000a270
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rdx
jmp 0x18000a274
xor eax, eax
jmp 0x18000a2d8
jmp 0x18000a164
mov rax, qword [rsp + 0x48]
add rax, 0x14
mov qword [rsp + 0x48], rax
jmp 0x18000a0cc
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