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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x78], 1
mov eax, dword [rsp + 0x78]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e11d
xor r9d, r9d
lea r8, [0x1800d1754]
lea rdx, [0x1800d175c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e15c
movsx rax, word [rsp + 0x38]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x38]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
mov eax, 4
mov word [rsp + 0x50], ax
movsx rax, word [rsp + 0x50]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e19b
movsx rax, word [rsp + 0x50]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x50]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
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 + 0x7c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x7c]
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 dword [rsp + 0x6c], 1
mov eax, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e239
xor r9d, r9d
lea r8, [0x1800d1760]
lea rdx, [0x1800d1768]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x84], 1
mov eax, dword [rsp + 0x84]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e26e
xor r9d, r9d
lea r8, [0x1800d176c]
lea rdx, [0x1800d1774]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
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 + 0xa4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0xa4]
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, SafeArrayGetDim
mov word [rsp + 0x40], ax
movsx rax, word [rsp + 0x40]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e322
movsx rax, word [rsp + 0x40]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x40]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
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 + 0x8c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x8c]
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 dword [rsp + 0xb4], 1
mov eax, dword [rsp + 0xb4]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e3cc
xor r9d, r9d
lea r8, [0x1800d1778]
lea rdx, [0x1800d1780]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x94], 1
mov eax, dword [rsp + 0x94]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e401
xor r9d, r9d
lea r8, [0x1800d1784]
lea rdx, [0x1800d178c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0xac], 1
mov eax, dword [rsp + 0xac]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e436
xor r9d, r9d
lea r8, [0x1800d1790]
lea rdx, [0x1800d1798]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x74], 1
mov eax, dword [rsp + 0x74]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e465
xor r9d, r9d
lea r8, [0x1800d179c]
lea rdx, [0x1800d17a4]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, SafeArrayGetDim
mov word [rsp + 0x5c], ax
movsx rax, word [rsp + 0x5c]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e4a4
movsx rax, word [rsp + 0x5c]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x5c]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
mov eax, 9
mov word [rsp + 0x48], ax
movsx rax, word [rsp + 0x48]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e4e3
movsx rax, word [rsp + 0x48]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x48]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
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 + 0x70], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x70]
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 + 0x100]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xc0], 0xffffffff
mov eax, dword [rsp + 0x108]
and eax, 1
test eax, eax
je 0x18000e5cb
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x14]
and eax, 0xffff0000
test eax, eax
je 0x18000e5cb
mov rax, qword [rsp + 0x100]
movzx eax, word [rax + 0xe]
shl rax, 3
lea r9, [rsp + 0xc0]
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18000e5cb
mov dword [rsp + 0xc0], 0xffffffff
mov dword [rsp + 0x68], 0
jmp 0x18000e5ed
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x100]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x68], eax
jae 0x18000e783
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x14]
shr eax, 0x10
mov dword [rsp + 0xc8], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0x108]
and eax, 0x40
test eax, eax
je 0x18000e652
lea rdx, [rsp + 0xc4]
lea rcx, [rsp + 0xc8]
call fcn.18000b740
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 + 0x80], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x80]
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, dword [rsp + 0x108]
and eax, 2
test eax, eax
jne 0x18000e6f3
mov eax, dword [rsp + 0x108]
and eax, 1
test eax, eax
je 0x18000e741
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xc8]
cmp dword [rax], ecx
jne 0x18000e741
mov eax, dword [rsp + 0x108]
or eax, 2
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.18000d4f0
cmp dword [rsp + 0xc0], 0xffffffff
je 0x18000e73f
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xc4]
mov dword [rax], ecx
jmp 0x18000e77e
mov eax, dword [rsp + 0x108]
and eax, 1
test eax, eax
jne 0x18000e77e
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x108]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.18000d4f0
jmp 0x18000e5d5
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x88]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e7b8
xor r9d, r9d
lea r8, [0x180090e5c]
lea rdx, [0x180090e64]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e7ed
xor r9d, r9d
lea r8, [0x180090e68]
lea rdx, [0x180090e70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x98], 1
mov eax, dword [rsp + 0x98]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e822
xor r9d, r9d
lea r8, [0x180090e74]
lea rdx, [0x180090e7c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 9
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e861
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 dword [rsp + 0xa0], 1
mov eax, dword [rsp + 0xa0]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e896
xor r9d, r9d
lea r8, [0x180090e80]
lea rdx, [0x180090e88]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xa
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e8d5
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 eax, 8
mov word [rsp + 0x3c], ax
movsx rax, word [rsp + 0x3c]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e914
movsx rax, word [rsp + 0x3c]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x3c]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
mov word [rsp + 0x44], ax
movsx rax, word [rsp + 0x44]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e953
movsx rax, word [rsp + 0x44]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x44]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
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 + 0xa8], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0xa8]
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 dword [rsp + 0xb0], 1
mov eax, dword [rsp + 0xb0]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e9fd
xor r9d, r9d
lea r8, [0x180090ea4]
lea rdx, [0x180090eac]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0xb8], 1
mov eax, dword [rsp + 0xb8]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000ea32
xor r9d, r9d
lea r8, [0x180090eb0]
lea rdx, [0x180090eb8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 9
mov word [rsp + 0x4c], ax
movsx rax, word [rsp + 0x4c]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000ea71
movsx rax, word [rsp + 0x4c]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x4c]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
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 + 0xbc], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0xbc]
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, reloc.OLEAUT32.dll_SafeArrayDestroy
mov word [rsp + 0x54], ax
movsx rax, word [rsp + 0x54]
lea rcx, [0x1800876b0]
cmp dword [rcx + rax*4], 1
jne 0x18000eb25
movsx rax, word [rsp + 0x54]
lea rcx, [0x1800876b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x54]
lea rdx, [0x1800876b0]
mov dword [rdx + rcx*4], eax
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 + 0x9c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800876b0]
movsxd rdx, dword [rsp + 0x9c]
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
cmp dword [rsp + 0xc0], 0xffffffff
je 0x18000ec1c
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x100]
movzx eax, word [rax + 0xe]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*8]
movzx r8d, byte [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.18000b680
mov rax, qword [rsp + 0x100]
movzx eax, word [rax + 0xe]
shl rax, 3
lea r9, [rsp + 0xc0]
mov r8d, dword [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18004d370
add rsp, 0xe0
pop rdi
ret