Function at 0x18000fe50
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 [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x140], 0
jne 0x18000fe8f
xor eax, eax
jmp 0x1800104a3
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x160], 0
je 0x18000febc
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x88], rax
jmp 0x18000fedd
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x64], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x64]
lea r8, [0x1800886b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x1800886b0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x8c], 0
jne 0x18000ff6e
xor eax, eax
jmp 0x1800104a3
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x80], 1
mov eax, dword [rsp + 0x80]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18001001b
xor r9d, r9d
lea r8, [0x1800d27c4]
lea rdx, [0x1800d27cc]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x68], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
and eax, 0xf0
cmp eax, 0xf0
je 0x1800100b0
mov rcx, qword [rsp + 0x148]
call fcn.18004db50
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.180010d30
mov dword [rsp + 0x3c], eax
mov eax, 0xa
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x1800100ae
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
jmp 0x18001010b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
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 + 0x68]
mov edx, dword [rsp + 0x158]
mov eax, dword [rcx + rax + 1]
xor eax, edx
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 0
jmp 0x18001011f
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x34], eax
jae 0x1800104a1
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18001014f
jmp 0x180010115
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.18004db50
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.180010d30
cmp dword [rsp + 0x3c], eax
je 0x180010186
jmp 0x180010115
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x70], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x70]
lea r8, [0x1800886b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x1800886b0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
cmp dword [rsp + 0x38], eax
jb 0x1800103f6
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x48]
add eax, dword [rcx + 0x8c]
cmp dword [rsp + 0x38], eax
jae 0x1800103f6
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.180001220
xor r8d, r8d
mov dl, 0x2e
lea rcx, [rsp + 0xe0]
call fcn.180009da0
mov qword [rsp + 0x78], rax
mov rax, qword [0x18006ff30]
cmp qword [rsp + 0x78], rax
je 0x1800103df
mov r9, qword [rsp + 0x78]
xor r8d, r8d
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.18000ecd0
lea rcx, [rsp + 0x100]
call fcn.180004d90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x50], rax
jne 0x1800102ed
lea rcx, [rsp + 0xe0]
call fcn.180009de0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18001039d
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x50], rax
je 0x18001039d
mov rax, qword [rsp + 0x78]
inc rax
mov r9, qword [0x18006ff30]
mov r8, rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.18000ecd0
mov rcx, rax
call fcn.180004d90
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x158]
mov r8d, dword [rsp + 0x150]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.18000fe50
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0xc0]
call fcn.180002300
lea rcx, [rsp + 0x100]
call fcn.180002300
lea rcx, [rsp + 0xe0]
call fcn.180002300
mov rax, qword [rsp + 0x98]
jmp 0x1800104a3
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x100]
call fcn.180002300
lea rcx, [rsp + 0xe0]
call fcn.180002300
mov rax, qword [rsp + 0xa0]
jmp 0x1800104a3
lea rcx, [rsp + 0xe0]
call fcn.180002300
jmp 0x1800104a1
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x60], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x60]
lea r8, [0x1800886b0]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x1800886b0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x150]
and eax, 1
test eax, eax
jne 0x180010488
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1800104a3
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
jmp 0x1800104a3
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18004e350
add rsp, 0x138
ret