Function at 0x18008bd10
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x258
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x278]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x18008bd6f
mov dword [rsp + 0x70], 1
jmp 0x18008bd77
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x18008bd87
xor al, al
jmp 0x18008c525
lea rdx, str.Ole32.dll
lea rcx, [rsp + 0x120]
call fcn.180003bb0
nop
call fcn.1800a6010
lea rdx, [rsp + 0x120]
mov rcx, rax
call fcn.1800a60e0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x120]
call fcn.180003f40
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0xf0], rax
lea rdx, str.OleAut32.dll
lea rcx, [rsp + 0x100]
call fcn.180003bb0
nop
call fcn.1800a6010
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.1800a60e0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x100]
call fcn.180003f40
nop
lea rax, [rsp + 0x100]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0x80], 0
je 0x18008be37
cmp qword [rsp + 0x60], 0
jne 0x18008be3e
xor al, al
jmp 0x18008c525
lea rdx, [0x18019efb8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
lea rdx, str.CoInitializeSecurity
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
lea rdx, str.VariantInit
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.VariantClear
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.SysAllocString
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, str.SysFreeString
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xc0], 0
je 0x18008bf16
cmp qword [rsp + 0xb8], 0
je 0x18008bf16
cmp qword [rsp + 0x68], 0
je 0x18008bf16
cmp qword [rsp + 0x78], 0
je 0x18008bf16
cmp qword [rsp + 0x98], 0
je 0x18008bf16
cmp qword [rsp + 0xa8], 0
jne 0x18008bf1d
xor al, al
jmp 0x18008c525
lea rcx, [rsp + 0x1c0]
call fcn.1800ae100
nop
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [rsp + 0xb8]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18008bf9a
cmp dword [rsp + 0x50], 0x80010119
je 0x18008bf9a
mov byte [rsp + 0x54], 0
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x54]
jmp 0x18008c525
lea rax, [rsp + 0x1c8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1c8]
call fcn.18008c560
nop
lea rcx, [rsp + 0x1c8]
call fcn.18001c9a0
mov qword [rsp + 0x20], rax
lea r9, [0x1801a12b8]
mov r8d, 1
xor edx, edx
lea rcx, [0x1801a1298]
call qword [rsp + 0xc0]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x18008c00c
xor edx, edx
lea rcx, [rsp + 0x1c8]
call fcn.18008c540
movzx eax, al
test eax, eax
je 0x18008c036
mov byte [rsp + 0x55], 0
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x55]
jmp 0x18008c525
lea rcx, [rsp + 0x1e0]
call qword [rsp + 0x68]
lea rcx, [rsp + 0x1f8]
call qword [rsp + 0x68]
lea rcx, [rsp + 0x210]
call qword [rsp + 0x68]
lea rcx, [rsp + 0x228]
call qword [rsp + 0x68]
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x228]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x1f8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
lea rcx, [rsp + 0x1e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1c8]
call fcn.18001edb0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0xc8]
call qword [rax + 0x50]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x1e0]
call qword [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
call qword [rsp + 0x78]
lea rcx, [rsp + 0x210]
call qword [rsp + 0x78]
lea rcx, [rsp + 0x228]
call qword [rsp + 0x78]
cmp dword [rsp + 0x50], 0
jge 0x18008c18f
mov byte [rsp + 0x56], 0
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x56]
jmp 0x18008c525
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1d0]
call fcn.18008c560
nop
lea rcx, [rsp + 0x1c8]
call fcn.18001edb0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x1d0]
call fcn.18001c9a0
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rsp + 0xd8], rcx
mov r8, rax
lea rdx, [0x18019b328]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0xd8]
call qword [rax + 0x38]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x18008c224
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.18008c540
movzx eax, al
test eax, eax
je 0x18008c25c
mov byte [rsp + 0x57], 0
lea rcx, [rsp + 0x1d0]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x57]
jmp 0x18008c525
lea rax, [rsp + 0x1d8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1d8]
call fcn.18008c560
nop
mov rcx, qword [rsp + 0x278]
call fcn.180003a80
mov rcx, rax
call qword [rsp + StrCmpICW]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x18008c2ee
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x1d8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1d0]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x58]
jmp 0x18008c525
lea rcx, [rsp + 0x1d0]
call fcn.18001edb0
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x1d8]
call fcn.18001c9a0
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0xe0], rcx
mov r8, rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xe0]
call qword [rax + 0x68]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0xa8]
cmp dword [rsp + 0x50], 0
jl 0x18008c371
xor edx, edx
lea rcx, [rsp + 0x1d8]
call fcn.18008c540
movzx eax, al
test eax, eax
je 0x18008c3c5
mov rax, qword [rsp + 0x280]
mov dword [rax], 0
mov byte [rsp + 0x59], 1
lea rcx, [rsp + 0x1d8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1d0]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x59]
jmp 0x18008c525
mov dword [rsp + 0x1c4], 0
lea rcx, [rsp + 0x1d8]
call fcn.18001edb0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
lea rdx, [rsp + 0x1c4]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x48]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18008c454
mov byte [rsp + 0x5a], 0
lea rcx, [rsp + 0x1d8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1d0]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x5a]
jmp 0x18008c525
cmp dword [rsp + 0x1c4], 0
jne 0x18008c46e
mov rax, qword [rsp + 0x280]
mov dword [rax], 0
jmp 0x18008c4e4
cmp dword [rsp + 0x1c4], 1
jne 0x18008c488
mov rax, qword [rsp + 0x280]
mov dword [rax], 1
jmp 0x18008c4e4
cmp dword [rsp + 0x1c4], 2
jne 0x18008c4a2
mov rax, qword [rsp + 0x280]
mov dword [rax], 2
jmp 0x18008c4e4
cmp dword [rsp + 0x1c4], 3
jne 0x18008c4bc
mov rax, qword [rsp + 0x280]
mov dword [rax], 3
jmp 0x18008c4e4
cmp dword [rsp + 0x1c4], 4
jne 0x18008c4d6
mov rax, qword [rsp + 0x280]
mov dword [rax], 4
jmp 0x18008c4e4
mov rax, qword [rsp + 0x280]
mov dword [rax], 9
mov byte [rsp + 0x5b], 1
lea rcx, [rsp + 0x1d8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1d0]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c8]
call fcn.18008c550
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800ae1a0
movzx eax, byte [rsp + 0x5b]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800d8050
add rsp, 0x258
pop rdi
pop rsi
ret