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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
movzx eax, byte [rsp + 0x90]
and eax, 1
test eax, eax
je 0x18008f381
mov dword [rsp + 0x3c], 0x4d
jmp 0x18008f389
mov dword [rsp + 0x3c], 0x4e
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x18008f3ca
movzx eax, byte [rsp + 0x90]
and eax, 0xfffffffd
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x18008f3fa
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x18008f5d4
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x90]
and eax, 4
test eax, eax
je 0x18008f495
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x18008f495
movzx eax, byte [rsp + 0x90]
and eax, 8
test eax, eax
je 0x18008f45d
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x18008f490
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x88]
lea ecx, [rcx + rdx - 1]
movzx edx, byte [rsp + 0x20]
mov r9d, eax
mov r8d, ecx
mov rcx, qword [rsp + 0x58]
call fcn.180067940
jmp 0x18008f5cf
movzx eax, byte [rsp + 0x90]
and eax, 2
test eax, eax
je 0x18008f4d8
mov rcx, qword [rsp + 0x50]
call fcn.18008a1f0
test eax, eax
je 0x18008f4d8
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.18008ef80
jmp 0x18008f5cf
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.18008d470
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x38], eax
je 0x18008f5cf
movzx eax, byte [rsp + 0x20]
cmp eax, 0x4d
jne 0x18008f5a7
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.180068e80
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 0x4d
jne 0x18008f5a7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
lea eax, [rax + rcx + 1]
cmp eax, dword [rsp + 0x38]
jne 0x18008f5a7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
lea eax, [rax + rcx + 1]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x80]
add edx, ecx
mov ecx, edx
cmp eax, ecx
jne 0x18008f5a7
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 2]
test eax, eax
jne 0x18008f5a7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0xc], eax
jmp 0x18008f5cf
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
mov r9d, eax
mov r8d, dword [rsp + 0x38]
mov edx, ecx
mov rcx, qword [rsp + 0x58]
call fcn.180067940
jmp 0x18008f3e2
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret