Function at 0x18000dcf0
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, 0x100
mov rax, qword [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov eax, 4
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000dd5d
movsx rax, word [rsp + 0x38]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x38]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
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 + 0x80], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x80]
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 dword [rsp + 0x84], 1
mov eax, dword [rsp + 0x84]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000de07
xor r9d, r9d
lea r8, [0x1800d2ba4]
lea rdx, [0x1800d2bac]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0xb4], 1
mov eax, dword [rsp + 0xb4]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000de3c
xor r9d, r9d
lea r8, [0x1800d2bb0]
lea rdx, [0x1800d2bb8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 3
mov word [rsp + 0x54], ax
movsx rax, word [rsp + 0x54]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000de7b
movsx rax, word [rsp + 0x54]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x54]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
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 + 0x8c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x8c]
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, 0xa
mov word [rsp + 0x40], ax
movsx rax, word [rsp + 0x40]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000df2f
movsx rax, word [rsp + 0x40]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x40]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
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 + 0x74], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x74]
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, 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 + 0x94], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x94]
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, SafeArrayGetDim
mov word [rsp + 0x58], ax
movsx rax, word [rsp + 0x58]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e052
movsx rax, word [rsp + 0x58]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x58]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0xbc], 1
mov eax, dword [rsp + 0xbc]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e087
xor r9d, r9d
lea r8, str.there
lea rdx, [0x1800d2bd0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
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 + 0x9c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x9c]
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, 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 + 0xcc], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xcc]
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, 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 + 0xa4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xa4]
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, 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 + 0xc4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xc4]
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, 3
mov word [rsp + 0x48], ax
movsx rax, word [rsp + 0x48]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e29a
movsx rax, word [rsp + 0x48]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x48]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x68], rax
mov dword [rsp + 0xe0], 0xffffffff
mov eax, dword [rsp + 0x128]
and eax, 1
test eax, eax
je 0x18000e313
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x14]
and eax, 0xffff0000
test eax, eax
je 0x18000e313
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0xe]
shl rax, 3
lea r9, [rsp + 0xe0]
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18000e313
mov dword [rsp + 0xe0], 0xffffffff
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 + 0xac], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xac]
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 dword [rsp + 0x70], 0
jmp 0x18000e3aa
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x70], eax
jae 0x18000e5f3
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x14]
shr eax, 0x10
mov dword [rsp + 0xe8], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov dword [rsp + 0xe4], eax
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 + 0x7c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x7c]
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 + 0x128]
and eax, 0x40
test eax, eax
je 0x18000e47e
lea rdx, [rsp + 0xe4]
lea rcx, [rsp + 0xe8]
call fcn.18000b3d0
mov eax, dword [rsp + 0x128]
and eax, 2
test eax, eax
jne 0x18000e4b2
mov eax, dword [rsp + 0x128]
and eax, 1
test eax, eax
je 0x18000e542
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0xe8]
cmp dword [rax], ecx
jne 0x18000e542
mov eax, dword [rsp + 0x128]
or eax, 2
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.18000cfb0
cmp dword [rsp + 0xe0], 0xffffffff
je 0x18000e4fe
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0xe4]
mov dword [rax], ecx
mov eax, SafeArrayGetDim
mov word [rsp + 0x50], ax
movsx rax, word [rsp + 0x50]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e53d
movsx rax, word [rsp + 0x50]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x50]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
jmp 0x18000e5ee
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 + 0x78], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x78]
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 + 0x128]
and eax, 1
test eax, eax
jne 0x18000e5ee
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x128]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.18000cfb0
jmp 0x18000e392
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 + 0x88], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x88]
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 dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e69d
xor r9d, r9d
lea r8, [0x1800921bc]
lea rdx, [0x1800921c4]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
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 + 0x98], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0x98]
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, 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 + 0xa0], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xa0]
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 dword [rsp + 0xa8], 1
mov eax, dword [rsp + 0xa8]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e7bc
xor r9d, r9d
lea r8, [0x1800921c8]
lea rdx, [0x1800921d0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0xb0], 1
mov eax, dword [rsp + 0xb0]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e7f1
xor r9d, r9d
lea r8, [0x1800921d4]
lea rdx, [0x1800921dc]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, SafeArrayGetElement
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000e830
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
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 + 0xb8], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xb8]
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, 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 + 0xc0], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xc0]
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 dword [rsp + 0xc8], 1
mov eax, dword [rsp + 0xc8]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e94f
xor r9d, r9d
lea r8, [0x1800921f4]
lea rdx, [0x180092200]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0xd4], 1
mov eax, dword [rsp + 0xd4]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000e984
xor r9d, r9d
lea r8, [0x180092204]
lea rdx, [0x18009220c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
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 + 0xdc], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1800886b0]
movsxd rdx, dword [rsp + 0xdc]
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 dword [rsp + 0xd0], 1
mov eax, dword [rsp + 0xd0]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000ea2e
xor r9d, r9d
lea r8, [0x180092210]
lea rdx, [0x180092218]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000ea6d
movsx rax, word [rsp + 0x34]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0xd8], 1
mov eax, dword [rsp + 0xd8]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18000eaa2
xor r9d, r9d
lea r8, [0x18009221c]
lea rdx, [0x180092224]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 6
mov word [rsp + 0x3c], ax
movsx rax, word [rsp + 0x3c]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000eae1
movsx rax, word [rsp + 0x3c]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x3c]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov eax, 1
mov word [rsp + 0x44], ax
movsx rax, word [rsp + 0x44]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000eb20
movsx rax, word [rsp + 0x44]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x44]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
cmp dword [rsp + 0xe0], 0xffffffff
je 0x18000ec63
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x4c], ax
movsx rax, word [rsp + 0x4c]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000eb6d
movsx rax, word [rsp + 0x4c]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x4c]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0xe]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*8]
movzx r8d, byte [rsp + 0x60]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.18000b310
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov word [rsp + 0x5c], ax
movsx rax, word [rsp + 0x5c]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000ebf6
movsx rax, word [rsp + 0x5c]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x5c]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0xe]
shl rax, 3
lea r9, [rsp + 0xe0]
mov r8d, dword [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, SafeArrayGetDim
mov word [rsp + 0x64], ax
movsx rax, word [rsp + 0x64]
lea rcx, [0x1800886b0]
cmp dword [rcx + rax*4], 1
jne 0x18000ec63
movsx rax, word [rsp + 0x64]
lea rcx, [0x1800886b0]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x64]
lea rdx, [0x1800886b0]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.18004e350
add rsp, 0x100
pop rdi
ret