Function at 0x180025db0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x260], rbx
mov rax, qword [0x18005e030]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov byte [rsp + 0x40], r9b
mov byte [rsp + 0x41], r8b
mov r12, rdx
mov r14, rcx
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x60], rdx
mov rsi, qword [rbp + 0x170]
mov qword [rbp - 0x48], rsi
mov rbx, qword [rbp + 0x178]
mov qword [rbp - 0x30], rbx
mov r15, qword [rbp + 0x180]
mov qword [rbp - 0x40], r15
mov qword [rbp + 0x80], 7
xor eax, eax
mov qword [rbp + 0x78], rax
mov word [rbp + 0x68], ax
or r13, 0xffffffffffffffff
mov r9, r13
xor r8d, r8d
lea rcx, [rbp + 0x68]
call fcn.180001b10
nop
mov eax, 0x5c
mov word [rsp + 0x60], ax
mov r10, qword [rbp + 0x80]
mov r11, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x78]
cmp rdi, 1
jb 0x180025f02
lea rax, [rbp + 0x68]
cmp r10, 8
cmovae rax, r11
lea r9, [rdi - 1]
lea r9, [rax + r9*2]
nop word [rax + rax]
cmp word [r9], 0x5c
sete al
test al, al
je 0x180025eda
mov ecx, 1
lea rdx, [rsp + 0x60]
mov r8, r9
nop dword [rax]
movzx eax, word [rdx]
cmp word [r8], ax
jne 0x180025ec9
add r8, 2
add rdx, 2
sub rcx, 1
je 0x180025eee
jmp 0x180025eb0
mov ecx, 1
cmp word [r8], ax
cmovb ecx, r13d
test ecx, ecx
je 0x180025eee
lea rcx, [rbp + 0x68]
call fcn.1800011f0
cmp r9, rax
je 0x180025f02
sub r9, 2
jmp 0x180025e90
lea rax, [rbp + 0x68]
cmp r10, 8
cmovae rax, r11
sub r9, rax
sar r9, 1
jmp 0x180025f05
mov r9, r13
cmp rdi, r9
jae 0x180025f17
lea rcx, str.invalid_string_position
call fcn.18001339c
int3
mov qword [rbp + 0x78], r9
lea rax, [rbp + 0x68]
cmp r10, 8
cmovae rax, r11
xor edi, edi
mov word [rax + r9*2], di
mov byte [r15], dil
call fcn.180024e40
test eax, eax
je 0x180026070
mov qword [rbp - 0x70], rdi
mov rcx, qword [r14]
test rcx, rcx
jne 0x180025f55
mov ecx, 0x80004003
call fcn.180011d70
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
call qword [rax + 0xa8]
test eax, eax
js 0x180025fe4
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x180025fe4
mov rcx, rbx
call fcn.180002c50
mov r15d, 0x80000000
lea ecx, [rax + r15]
test r15d, ecx
jne 0x180025f95
cmp eax, 0x80004002
je 0x180025f95
mov ecx, eax
call fcn.180011d70
int3
mov r8b, 1
mov rdx, rsi
mov rcx, rbx
call fcn.180025b70
test eax, eax
jns 0x180025fb5
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
mov rax, qword [rbp - 0x40]
mov byte [rax], dil
lea rcx, [rbp + 0x68]
call fcn.1800010b0
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x180025fd5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, r12
call fcn.1800010b0
xor eax, eax
jmp 0x180026b72
mov r9d, eax
mov edx, 0x85
lea ecx, [rdx - 3]
lea r8d, [rdx - 0xf]
call fcn.180025240
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x180026b43
inc rdx
mov rcx, qword [rbp + 0x68]
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
jbe 0x180026026
call fcn.180016dc0
int3
lea rax, [rdx + rdx]
cmp rax, 0x1000
jb 0x180026b3e
test byte [rbp + 0x68], 0x1f
je 0x180026042
call fcn.180016dc0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180026051
call fcn.180016dc0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180026060
call fcn.180016dc0
int3
cmp rcx, 0x27
jbe 0x180026b3b
call fcn.180016dc0
nop
mov qword [rsp + 0x48], rdi
mov rcx, qword [r14]
test rcx, rcx
jne 0x180026088
mov ecx, 0x80004003
call fcn.180011d70
int3
mov qword [rsp + 0x48], rdi
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x90]
test eax, eax
js 0x180026aa9
mov rbx, qword [rsp + 0x48]
test rbx, rbx
sete cl
test cl, cl
jne 0x180026aa9
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x20], rbx
mov r15d, 0x80000000
test rbx, rbx
je 0x18002611c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edi, edi
mov qword [rbp - 0x68], rdi
mov rax, qword [rbx]
lea r8, [rbp - 0x68]
lea rdx, [0x180032958]
mov rcx, rbx
call qword [rax]
mov esi, eax
test eax, eax
cmovns rdi, qword [rbp - 0x68]
mov qword [rsp + 0x70], rdi
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea ecx, [rsi + r15]
test r15d, ecx
jne 0x18002611c
cmp esi, 0x80004002
je 0x18002611c
mov ecx, esi
call fcn.180011d70
nop
test rdi, rdi
jne 0x18002612c
mov ecx, 0x80004003
call fcn.180011d70
int3
lea rsi, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rsi, qword [rbp + 0x68]
mov ecx, 0x18
call fcn.180012024
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x180026185
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x180026181
test rsi, rsi
je 0x180026181
mov ecx, 0x8007000e
call fcn.180011d70
int3
xor esi, esi
jmp 0x180026189
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x78], rbx
test rbx, rbx
jne 0x18002619d
mov ecx, 0x8007000e
call fcn.180011d70
nop
mov rax, qword [rdi]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [rax + 0x20]
mov edi, eax
lock xadd dword [rbx + 0x10], r13d
cmp r13d, 1
jne 0x1800261e7
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800261c8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800261da
call fcn.180012068
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.180012068
test edi, edi
jns 0x18002622b
mov r9d, edi
mov edx, 0x84
lea ecx, [rdx - 2]
lea r8d, [rdx - 0xe]
call fcn.180025240
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18002621d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
lea rax, [0x180032318]
lea rdx, [0x180032328]
cmp byte [rsp + 0x40], 0
cmovne rdx, rax
lea rcx, [rbp - 0x10]
call fcn.180003070
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x180026259
mov rdx, qword [rdx]
jmp 0x18002625c
mov rdx, rsi
mov rdi, qword [rsp + 0x70]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xb0]
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.180002ff0
test ebx, ebx
jns 0x1800262ba
mov r9d, ebx
mov edx, 0x92
lea ecx, [rdx - 0x10]
lea r8d, [rdx - 0x1c]
call fcn.180025240
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800262ac
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
mov qword [rbp + 0xe0], 7
mov qword [rbp + 0xd8], rsi
mov word [rbp + 0xc8], si
mov r8d, SafeArrayGetDim
lea rdx, str.Excel_DNA:
lea rcx, [rbp + 0xc8]
call fcn.1800019c0
nop
mov r8, r12
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xe8]
call fcn.180002570
nop
cmp qword [rax + 0x18], 8
jb 0x18002630e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180003070
nop
lea rcx, [rbp + 0xe8]
call fcn.1800010b0
nop
lea rcx, [rbp + 0xc8]
call fcn.1800010b0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x180026344
mov rdx, qword [rbx]
jmp 0x180026347
mov rdx, rsi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
mov rdx, r12
lea rcx, [rbp + 0x88]
call fcn.1800025d0
nop
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800263cf
test al, 0x10
jne 0x1800263cf
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rdx, qword [rbp + 0x88]
lea rcx, [rbp - 8]
call fcn.180003070
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1800263b4
mov rdx, qword [rdx]
jmp 0x1800263b7
mov rdx, rsi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
nop
lea rcx, [rbp - 8]
call fcn.180002ff0
jmp 0x1800264a7
lea r8, str.CONFIG
lea rdx, [0x180032370]
mov rcx, qword [0x1800734d8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r13, rax
test rax, rax
je 0x1800264a7
mov rdx, rax
mov rcx, qword [0x1800734d8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov rdx, r13
mov rcx, qword [0x1800734d8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [rbp + 0xc0], 7
xor r13d, r13d
mov qword [rbp + 0xb8], r13
mov word [rbp + 0xa8], r13w
lea r8, [rbp + 0xa8]
mov edx, eax
mov rcx, rsi
call fcn.1800250c0
test eax, eax
js 0x180026499
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 8
cmovae rdx, qword [rbp + 0xa8]
lea rcx, [rbp - 0x38]
call fcn.180003070
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x180026482
mov rdx, qword [rdx]
jmp 0x180026485
mov rdx, r13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
nop
lea rcx, [rbp - 0x38]
call fcn.180002ff0
nop
lea rcx, [rbp + 0xa8]
call fcn.1800010b0
xor esi, esi
mov qword [rbp - 0x60], rsi
mov rcx, qword [r14]
test rcx, rcx
jne 0x1800264be
mov ecx, 0x80004003
call fcn.180011d70
int3
test rbx, rbx
je 0x1800264c8
mov rdx, qword [rbx]
jmp 0x1800264cb
mov rdx, rsi
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
mov qword [rsp + 0x20], r8
xor r9d, r9d
mov r8, qword [rsp + 0x48]
call qword [rax + 0x88]
test eax, eax
js 0x180026a53
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x180026a53
mov r13, qword [rbp - 0x30]
mov rcx, r13
call fcn.180002c50
lea ecx, [rax + r15]
test r15d, ecx
jne 0x18002651e
cmp eax, 0x80004002
je 0x18002651e
mov ecx, eax
call fcn.180011d70
int3
xor r8d, r8d
mov rsi, qword [rbp - 0x48]
mov rdx, rsi
mov rcx, r13
call fcn.180025b70
test eax, eax
jns 0x180026575
lea rcx, [rbp + 0x88]
call fcn.1800010b0
nop
lea rcx, [rsp + 0x58]
call fcn.180002ff0
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180026567
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
cmp byte [rsp + 0x41], 0
je 0x180026a11
xor eax, eax
mov qword [rsp + 0x50], rax
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18002659a
mov ecx, 0x80004003
call fcn.180011d70
int3
mov ecx, 0x18
call fcn.180012024
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1800265dd
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
lea rcx, str.ExcelDna.Loader.AppDomainHelper
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1800265e0
mov ecx, 0x8007000e
call fcn.180011d70
int3
mov rbx, rax
mov qword [rbp - 0x28], rbx
test rbx, rbx
jne 0x1800265f4
mov ecx, 0x8007000e
call fcn.180011d70
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180026604
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [rax + 0x88]
mov ebx, eax
lea rcx, [rbp - 0x28]
call fcn.180002ff0
test ebx, ebx
js 0x1800269aa
cmp qword [rsp + 0x50], 0
sete cl
test cl, cl
jne 0x1800269aa
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rbp + 0x50], xmm1
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x180026680
mov ecx, 0x80004003
call fcn.180011d70
int3
mov ecx, 0x18
call fcn.180012024
mov rsi, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1800266b6
xor eax, eax
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], 1
lea rcx, [0x180032388]
call fcn.180011da0
mov qword [rsi], rax
xor edx, edx
jmp 0x1800266ba
xor edx, edx
mov esi, edx
mov qword [rsp + 0x78], rsi
test rsi, rsi
jne 0x1800266cf
mov ecx, 0x8007000e
call fcn.180011d70
nop
mov rax, qword [rbx]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, pe_nt_image_headers64
mov rdx, qword [rsi]
mov rcx, rbx
call qword [rax + 0x1c8]
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.180002ff0
test ebx, ebx
jns 0x18002678b
mov r9d, ebx
mov edx, 0x8a
lea ecx, [rdx - 8]
lea r8d, [rdx - 0x14]
call fcn.180025240
nop
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18002674a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x88]
call fcn.1800010b0
nop
lea rcx, [rsp + 0x58]
call fcn.180002ff0
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18002677d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x18], rbx
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1800267d3
mov qword [rbp - 0x58], rsi
mov rax, qword [rcx]
lea r8, [rbp - 0x58]
lea rdx, [0x180032978]
call qword [rax]
test eax, eax
cmovns rbx, qword [rbp - 0x58]
mov qword [rbp - 0x18], rbx
lea ecx, [rax + r15]
test r15d, ecx
jne 0x1800267d3
cmp eax, 0x80004002
je 0x1800267d3
mov ecx, eax
call fcn.180011d70
nop
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x50], rbx
test rbx, rbx
je 0x1800267f3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.180002ce0
lea ecx, [rax + r15]
test r15d, ecx
jne 0x180026819
cmp eax, 0x80004002
je 0x180026819
mov ecx, eax
call fcn.180011d70
nop
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.180002660
mov rsi, rax
mov rcx, qword [rsp + 0x68]
cmp qword [rax], rcx
jne 0x180026837
mov r15b, 1
jmp 0x18002684d
mov rdx, rcx
mov rcx, rsi
call fcn.1800026c0
test eax, eax
sete r15b
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsi]
test rdx, rdx
je 0x180026863
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18002686e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test r15b, r15b
jne 0x180026973
mov rsi, qword [rbp - 0x48]
mov rcx, qword [rsi]
test rcx, rcx
jne 0x18002688e
mov ecx, 0x80004003
call fcn.180011d70
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor r15d, r15d
mov qword [rsi], r15
mov rcx, qword [r14]
test rcx, rcx
jne 0x1800268ad
mov ecx, 0x80004003
call fcn.180011d70
int3
mov rax, qword [rcx]
mov rdx, qword [r13]
call qword [rax + 0xa0]
mov rcx, qword [r13]
test rcx, rcx
jne 0x1800268ce
mov ecx, 0x80004003
call fcn.180011d70
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r13], r15
test rbx, rbx
je 0x1800268ea
mov qword [r13], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.180025b70
test eax, eax
jns 0x180026973
test rbx, rbx
je 0x18002690b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180026932
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x88]
call fcn.1800010b0
nop
lea rcx, [rsp + 0x58]
call fcn.180002ff0
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180026965
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
test rbx, rbx
je 0x180026982
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180026a11
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x180026a11
mov r9d, ebx
mov edx, 0x89
lea ecx, [rdx - 7]
lea r8d, [rdx - 0x13]
call fcn.180025240
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800269d0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x88]
call fcn.1800010b0
nop
lea rcx, [rsp + 0x58]
call fcn.180002ff0
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180026a03
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
mov rax, qword [rbp - 0x40]
mov byte [rax], 1
lea rcx, [rbp + 0x88]
call fcn.1800010b0
nop
lea rcx, [rsp + 0x58]
call fcn.180002ff0
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180025fbc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x180025fbc
mov r9d, eax
mov edx, 0x85
lea ecx, [rdx - 3]
lea r8d, [rdx - 0xf]
call fcn.180025240
nop
lea rcx, [rbp + 0x88]
call fcn.1800010b0
nop
lea rcx, [rsp + 0x58]
call fcn.180002ff0
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180026a9b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp + 0x68]
call fcn.1800010b0
jmp 0x180026b56
mov r9d, eax
mov edx, 0x83
lea ecx, [rdx - 1]
lea r8d, [rdx - 0xd]
call fcn.180025240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180026acf
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rbp + 0x80]
cmp rax, 8
jb 0x180026b43
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x68]
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
jbe 0x180026af9
call fcn.180016dc0
int3
lea rax, [rdx + rdx]
cmp rax, 0x1000
jb 0x180026b3e
test byte [rbp + 0x68], 0x1f
je 0x180026b11
call fcn.180016dc0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180026b20
call fcn.180016dc0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180026b2f
call fcn.180016dc0
int3
cmp rcx, 0x27
jbe 0x180026b3b
call fcn.180016dc0
int3
mov rcx, rax
call fcn.180012060
mov word [rbp + 0x68], di
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], 7
mov rcx, qword [r14]
test rcx, rcx
je 0x180026b65
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, r12
call fcn.1800010b0
mov eax, 0x80004005
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.180012000
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret