Function at 0x140005390
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
cmp dword [rcx + 0x154], 8
jne 0x1400053d5
mov eax, 1
jmp 0x1400063e9
call fcn.140004fb0
xor edi, edi
mov dword [rsp + 0x38], edi
lea rbp, [0x140000000]
bt dword [rbx + 0x170], 0xf
jb 0x140006222
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2c20]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2c28]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2c30]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005468
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400054c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400054c5
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400054a1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400054c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400054c5
cmp word [rsp + 0x40], 0x13
je 0x1400054c9
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400054c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x1400054e9
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400054e9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
mov r8d, dword [rsp + 0x38]
test eax, eax
cmove r8d, edi
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x140005529
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2c38]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2c40]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2c48]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400055a3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005627
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005627
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400055dc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005627
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005627
cmp word [rsp + 0x40], 0x13
je 0x140005602
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005627
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005627
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005622
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp esi, 0xa
jbe 0x140005629
mov esi, edi
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
je 0x140005650
mov r8d, dword [rsp + 0x38]
cmp r8d, 0xa
jbe 0x140005657
mov r8d, edi
mov dword [rsp + 0x38], edi
cmp esi, r8d
je 0x14000566f
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2b30]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2b38]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2b40]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400056e2
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000573f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000573f
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x14000571b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000573f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000573f
cmp word [rsp + 0x40], 0x13
je 0x140005743
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000573f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x140005763
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005763
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
mov r8d, dword [rsp + 0x38]
test eax, eax
cmove r8d, edi
cmp esi, r8d
je 0x14000579e
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2b48]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2b50]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2b58]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005818
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400058a0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400058a0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005851
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400058a0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400058a0
cmp word [rsp + 0x40], 0x13
je 0x140005877
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400058a0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400058a0
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005897
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test esi, esi
je 0x1400058a2
cmp esi, 1
je 0x1400058a2
mov esi, edi
cmp dword [rbx + 0x154], 3
je 0x1400058bd
cmp dword [rbx + 0x14c], 3
je 0x1400058bd
mov r8d, edi
mov dword [rsp + 0x38], edi
jmp 0x1400058c8
mov r8d, 1
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x1400058e0
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2b60]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2b68]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2b70]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000595a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400059e1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400059e1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005993
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400059e1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400059e1
cmp word [rsp + 0x40], 0x13
je 0x1400059b9
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400059e1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400059e1
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400059d9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp esi, 0x40000000
jbe 0x1400059e3
mov esi, edi
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
je 0x140005a0d
mov r8d, dword [rsp + 0x38]
cmp r8d, 0x40000000
jbe 0x140005a14
mov r8d, edi
mov dword [rsp + 0x38], edi
cmp esi, r8d
je 0x140005a2c
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2b78]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2b80]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2b88]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005aa6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005b2f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005b2f
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005adf
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005b2f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005b2f
cmp word [rsp + 0x40], 0x13
je 0x140005b05
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005b2f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005b2f
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005b25
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp esi, 0x1e
ja 0x140005b2f
cmp esi, 5
jae 0x140005b34
mov esi, SafeArrayGetDim
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
je 0x140005b61
mov r8d, dword [rsp + 0x38]
cmp r8d, 0x1e
ja 0x140005b61
cmp r8d, 5
jae 0x140005b6c
mov r8d, SafeArrayGetDim
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x140005b84
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2b90]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2b98]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2ba0]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005bf7
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005c54
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005c54
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005c30
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005c54
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005c54
cmp word [rsp + 0x40], 0x13
je 0x140005c58
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005c54
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x140005c78
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005c78
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
mov r8d, dword [rsp + 0x38]
test eax, eax
cmove r8d, edi
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x140005cb8
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2ba8]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2bb0]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2bb8]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005d2b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005d88
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005d88
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005d64
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005d88
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005d88
cmp word [rsp + 0x40], 0x13
je 0x140005d8c
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005d88
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x140005dac
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005dac
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
mov r8d, dword [rsp + 0x38]
test eax, eax
cmove r8d, edi
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x140005dec
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2bc0]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2bc8]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2bd0]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005e5f
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005ebc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005ebc
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005e98
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005ebc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140005ebc
cmp word [rsp + 0x40], 0x13
je 0x140005ec0
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005ebc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x140005ee0
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005ee0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
mov r8d, dword [rsp + 0x38]
test eax, eax
cmove r8d, edi
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x140005f20
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2bd8]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2be0]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2be8]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005f9a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000601e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000601e
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140005fd3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000601e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000601e
cmp word [rsp + 0x40], 0x13
je 0x140005ff9
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000601e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000601e
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140006019
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp esi, 0xa
jbe 0x140006020
mov esi, edi
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
je 0x140006047
mov r8d, dword [rsp + 0x38]
cmp r8d, 0xa
jbe 0x14000604e
mov r8d, edi
mov dword [rsp + 0x38], edi
cmp esi, r8d
je 0x140006066
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2bf0]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2bf8]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2c00]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400060e0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000616c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000616c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x140006119
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000616c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000616c
cmp word [rsp + 0x40], 0x13
je 0x14000613f
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000616c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000616c
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000615f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp esi, 0x190
ja 0x14000616c
cmp esi, 0x32
jae 0x140006171
mov esi, 0x64
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
je 0x1400061a1
mov r8d, dword [rsp + 0x38]
cmp r8d, 0x190
ja 0x1400061a1
cmp r8d, 0x32
jae 0x1400061ac
mov r8d, 0x64
mov dword [rsp + 0x38], r8d
cmp esi, r8d
je 0x1400061c4
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2c08]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2c10]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2c18]
mov dword [rcx + 0x10], eax
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
mov r8d, dword [rsp + 0x38]
test eax, eax
cmove r8d, edi
mov dword [rsp + 0x38], r8d
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
test byte [rbx + 0x172], 1
jne 0x1400063e4
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2ab8]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2ac0]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2ac8]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c31f8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400c31c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400062a2
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400062ff
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400062ff
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov rdx, qword [rbx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400062db
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400062ff
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400062ff
cmp word [rsp + 0x40], 0x13
je 0x140006303
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400062ff
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x140006323
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140006323
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp dword [rbx + 0x154], 1
jne 0x14000635d
cmp dword [rbx + 0x14c], 1
jne 0x14000635d
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
jne 0x140006357
mov dword [rsp + 0x38], edi
jmp 0x140006361
mov edi, dword [rsp + 0x38]
jmp 0x140006361
mov dword [rsp + 0x38], edi
cmp esi, edi
je 0x14000637b
mov r9d, 1
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0xc2ad0]
mov qword [rcx], rax
mov rax, qword [rbp + 0xc2ad8]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0xc2ae0]
mov dword [rcx + 0x10], eax
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140005200
test eax, eax
je 0x1400063cb
mov r8d, dword [rsp + 0x38]
cmp r8d, 0xa
ja 0x1400063cb
cmp r8d, 4
jae 0x1400063d1
mov r8d, 7
mov r9d, 1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004040
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008f240
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret