Function at 0x1400a4020
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140300da0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov ebp, r8d
mov edi, edx
mov rbx, rcx
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400a56ab
cmp dword [rax + 0xb8], 8
jne 0x1400a407b
xor eax, eax
jmp 0x1400a56ab
call fcn.140096060
mov rcx, rbx
call fcn.1400a0a20
mov dword [rbx + 0x4c], eax
xor r12d, r12d
mov dword [rsp + 0x38], r12d
lea r13, [0x140000000]
test edi, edi
je 0x1400a532c
mov rax, qword [rbx + 0x30]
bt dword [rax + 0x184], 0xf
jb 0x1400a532c
lea rcx, [rsp + 0x60]
mov rax, qword [r13 + 0x25db30]
mov qword [rcx], rax
mov rax, qword [r13 + 0x25db38]
mov qword [rcx + 8], rax
mov eax, dword [r13 + 0x25db40]
mov dword [rcx + 0x10], eax
lea r9d, [r12 + 1]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401510e0
mov esi, dword [rsp + 0x38]
test eax, eax
cmove esi, r12d
mov dword [rsp + 0x38], esi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov ecx, dword [rbx + 0x48]
imul ecx, ecx, 0x3e8
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x88], ecx
cmp dword [rbx + 0x50], r12d
je 0x1400a4147
mov eax, dword [rbx + 0x4c]
imul eax, eax, 0x2710
add ecx, eax
mov dword [rsp + 0x88], ecx
cmp qword [rbx + 0x30], r12
je 0x1400a422f
mov qword [rsp + 0x30], r12
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, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a41a8
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a422f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a422f
mov rax, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x30]
mov r10, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [r10 + 0x50]
test eax, eax
jns 0x1400a41e7
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a422f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a422f
cmp word [rsp + 0x40], 0x13
je 0x1400a420d
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a422f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a422f
mov edi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a4232
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a4232
mov edi, r12d
cmp esi, edi
je 0x1400a424c
mov r9d, 1
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140151260
lea rcx, [rsp + 0x60]
mov rax, qword [r13 + 0x25db48]
mov qword [rcx], rax
mov rax, qword [r13 + 0x25db50]
mov qword [rcx + 8], rax
mov eax, dword [r13 + 0x25db58]
mov dword [rcx + 0x10], eax
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401510e0
test eax, eax
je 0x1400a4295
mov esi, dword [rsp + 0x38]
cmp esi, 0xa
jbe 0x1400a429d
mov esi, r12d
mov dword [rsp + 0x38], r12d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov ecx, dword [rbx + 0x48]
imul ecx, ecx, 0x3e8
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x88], ecx
cmp dword [rbx + 0x50], 0
je 0x1400a42e7
mov eax, dword [rbx + 0x4c]
imul eax, eax, 0x2710
add ecx, eax
mov dword [rsp + 0x88], ecx
cmp qword [rbx + 0x30], 0
je 0x1400a43d3
mov qword [rsp + 0x30], r12
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, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a4349
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a43d3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a43d3
mov rax, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x30]
mov r10, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [r10 + 0x50]
test eax, eax
jns 0x1400a4388
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a43d3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a43d3
cmp word [rsp + 0x40], 0x13
je 0x1400a43ae
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a43d3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a43d3
mov edi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a43ce
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp edi, 0xa
jbe 0x1400a43d6
mov edi, r12d
cmp esi, edi
je 0x1400a43f0
mov r9d, 1
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140151260
lea rcx, [rsp + 0x60]
mov rax, qword [r13 + 0x25da28]
mov qword [rcx], rax
mov rax, qword [r13 + 0x25da30]
mov qword [rcx + 8], rax
mov eax, dword [r13 + 0x25da38]
mov dword [rcx + 0x10], eax
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401510e0
mov esi, dword [rsp + 0x38]
test eax, eax
cmove esi, r12d
mov dword [rsp + 0x38], esi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov ecx, dword [rbx + 0x48]
imul ecx, ecx, 0x3e8
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x88], ecx
cmp dword [rbx + 0x50], 0
je 0x1400a4484
mov eax, dword [rbx + 0x4c]
imul eax, eax, 0x2710
add ecx, eax
mov dword [rsp + 0x88], ecx
cmp qword [rbx + 0x30], 0
je 0x1400a456d
mov qword [rsp + 0x30], r12
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, [0x140260ad8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140260a78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a44e6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a456d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a456d
mov rax, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x30]
mov r10, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov r8d, 1
mov rdx, qword [rax + 0x28]
call qword [r10 + 0x50]
test eax, eax
jns 0x1400a4525
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a456d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a456d
cmp word [rsp + 0x40], 0x13
je 0x1400a454b
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a456d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a456d
mov edi, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a4570
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400a4570
mov edi, r12d
cmp esi, edi
je 0x1400a458a
mov r9d, 1
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140151260
lea rcx, [rsp + 0x60]
mov rax, qword [r13 + 0x25da40]
mov qword [rcx], rax
mov rax, qword [r13 + 0x25da48]
mov qword [rcx + 8], rax
mov eax, dword [r13 + 0x25da50]
mov dword [rcx + 0x10], eax
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401510e0
test eax, eax
je 0x1400a45d7
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x1400a45de
cmp ecx, 1
je 0x1400a45de
mov ecx, r12d
mov dword [rsp + 0x38], ecx
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0xb8], 3
je 0x1400a45f6
cmp dword [rbx + 0x48], 3
je 0x1400a45f6
mov r8d, r12d
jmp 0x1400a45fc
mov r8d, 1
cmp ecx, r8d
je 0x1400a4614
mov r9d, 1
lea rdx, [rsp + 0x60]