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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x140], 0
jne 0x18000fcff
xor eax, eax
jmp 0x1800102e9
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x68]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000fd3e
xor r9d, r9d
lea r8, [0x1800d141c]
lea rdx, [0x1800d1424]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp qword [rsp + 0x160], 0
je 0x18000fd5b
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x90], rax
jmp 0x18000fd7c
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x8c], 0
jne 0x18000fd9e
xor eax, eax
jmp 0x1800102e9
mov eax, 0xa
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000fddd
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x70], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
and eax, 0xf0
cmp eax, 0xf0
je 0x18000feae
mov rcx, qword [rsp + 0x148]
call fcn.18004cb70
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.1800109b0
mov dword [rsp + 0x48], eax
jmp 0x18000ff7e
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x88], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x88]
lea r8, [0x1800876b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x1800876b0]
mov dword [rdx + rcx], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
and eax, 0xf
mov ecx, reloc.OLEAUT32.dll_SafeArrayDestroy
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x3d3d
cdqe
mov rcx, qword [rsp + 0x158]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x158]
mov eax, dword [rcx + rax + 1]
xor eax, edx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x38], 0
jmp 0x18000ff92
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x38], eax
jae 0x1800102e7
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18000ffc2
jmp 0x18000ff88
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18004cb70
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1800109b0
cmp dword [rsp + 0x48], eax
je 0x18000fff9
jmp 0x18000ff88
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x180010038
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
cmp dword [rsp + 0x3c], eax
jb 0x1800102ab
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x8c]
cmp dword [rsp + 0x3c], eax
jae 0x1800102ab
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.1800012b0
xor r8d, r8d
mov dl, 0x2e
lea rcx, [rsp + 0xe8]
call fcn.18000a070
mov qword [rsp + 0x80], rax
mov rax, qword [0x18006f228]
cmp qword [rsp + 0x80], rax
je 0x18001029a
mov r9, qword [rsp + 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0xe8]
call fcn.18000ec90
lea rcx, [rsp + 0x108]
call fcn.180004eb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x58], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x78], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x78]
lea r8, [0x1800876b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x1800876b0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x58], rax
jne 0x1800101a8
lea rcx, [rsp + 0xe8]
call fcn.18000a0b0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18001025b
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x58], rax
je 0x18001025b
mov rax, qword [rsp + 0x80]
inc rax
mov r9, qword [0x18006f228]
mov r8, rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.18000ec90
mov rcx, rax
call fcn.180004eb0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x158]
mov r8d, dword [rsp + 0x150]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.18000fcc0
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xc8]
call fcn.1800023f0
lea rcx, [rsp + 0x108]
call fcn.1800023f0
lea rcx, [rsp + 0xe8]
call fcn.1800023f0
mov rax, qword [rsp + 0xa0]
jmp 0x1800102e9
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x108]
call fcn.1800023f0
lea rcx, [rsp + 0xe8]
call fcn.1800023f0
mov rax, qword [rsp + 0xa8]
jmp 0x1800102e9
lea rcx, [rsp + 0xe8]
call fcn.1800023f0
jmp 0x1800102e7
mov eax, dword [rsp + 0x150]
and eax, 1
test eax, eax
jne 0x1800102ce
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1800102e9
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
jmp 0x1800102e9
xor eax, eax
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x138
ret