Function at 0x180015564
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x318
xor r15d, r15d
mov dword [rsp + 0x44], 4
mov rbx, rdx
mov dword [rsp + 0x50], r15d
mov r13d, ecx
mov dword [rsp + 0x54], 1
mov r14d, 0xff
mov byte [rbp + 0x10], r15b
mov r8d, r14d
lea rcx, [rbp + 0x11]
xor edx, edx
mov edi, r15d
mov esi, r15d
call sub.msvcrt.dll_memset
mov r8d, r14d
mov byte [rbp + 0x110], r15b
xor edx, edx
lea rcx, [rbp + 0x111]
call sub.msvcrt.dll_memset
mov ecx, 0x672
call fcn.18000de50
mov ecx, 0x792
mov qword [rsp + 0x58], rax
call fcn.18000de50
mov ecx, 0x787
mov qword [rsp + 0x60], rax
call fcn.18000de50
mov ecx, 0x595
mov qword [rsp + 0x68], rax
call fcn.18000de50
mov ecx, 0x585
mov qword [rsp + 0x70], rax
call fcn.18000de50
lea r14d, [r15 + 0x68]
mov qword [rsp + 0x78], rax
mov r8d, r14d
mov qword [rbp - 0x80], r15
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rbp]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x58], rax
mov ecx, 0x100
mov dword [rbp - 0x50], ecx
lea rax, [rbp + 0x110]
mov qword [rbp - 0x28], rax
mov edx, r15d
mov dword [rbp - 0x20], ecx
mov dword [rbp - 0x70], r14d
test rbx, rbx
je 0x18001568c
cmp byte [rbx], r15b
je 0x18001568c
mov rax, rbx
inc rax
inc edx
cmp byte [rax], r15b
jne 0x180015682
mov rax, qword [0x18002b108]
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x50]
test eax, eax
jne 0x1800156ae
mov eax, 0xfffffffc
jmp 0x180015a7b
mov r12, r15
mov r15, qword [rbp + 0x298]
mov rax, qword [0x18002b108]
xor r9d, r9d
mov edx, dword [rsp + r12*4 + 0x50]
xor r8d, r8d
mov rcx, qword [0x18002c688]
mov r14d, 0x8404f700
and dword [rsp + 0x20], 0
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x1800156f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800159ab
mov eax, 3
lea r8, [rbp + 0x268]
mov dword [rbp + 0x268], eax
mov edx, eax
mov rcx, rbx
lea edi, [rax + 1]
mov rax, qword [0x18002b108]
mov r9d, edi
call qword [rax + 0x28]
mov rax, qword [0x18002b108]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0x3a98
lea edx, [rdi - 2]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x18002b108]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0xea60
lea edx, [rdi + 2]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x18002b108]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0xea60
lea edx, [rdi + 1]
mov rcx, rbx
call qword [rax + 0x28]
movzx r8d, word [rbp - 0x4c]
lea rdx, [rbp + 0x10]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
mov rax, qword [0x18002b108]
call qword [rax + 0x38]
mov rdi, rax
test r15, r15
je 0x1800157c5
mov rcx, r15
call fcn.180010f84
test rdi, rdi
jne 0x1800157e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x18002b108]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1800159a9
cmp dword [rbp - 0x5c], 4
lea rdx, [0x18002550c]
mov eax, 0x8484f700
lea r8, [rbp + 0x110]
cmove r14d, eax
mov rcx, rdi
lea rax, str.POST
cmp r13d, 2
cmove rdx, rax
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rax, qword [0x18002b108]
and qword [rsp + 0x20], 0
call qword [rax + 0x40]
mov rsi, rax
test r15, r15
je 0x180015847
mov rcx, r15
call fcn.180010f84
test rsi, rsi
jne 0x180015873
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x18002b108]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [0x18002b108]
xor edi, edi
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1800159a9
mov r14d, 4
cmp dword [rbp - 0x5c], r14d
jne 0x1800158ce
mov rax, qword [0x18002b108]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x48], r14d
lea edx, [r14 + 0x1b]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x1800158c8
mov rax, qword [0x18002b108]
lea r8, [rsp + 0x40]
or dword [rsp + 0x40], 0x3380
lea edx, [r14 + 0x1b]
mov r9d, r14d
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
jne 0x1800158ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r13d, 2
jne 0x180015942
mov ecx, 0xa39
call fcn.18000de50
xor r8d, r8d
mov qword [rbp + 0x268], rax
mov r14, rax
test rax, rax
je 0x180015900
cmp byte [rax], r8b
je 0x180015900
inc rax
inc r8d
cmp byte [rax], 0
jne 0x1800158f5
mov eax, dword [rbp + 0x278]
mov rdx, r14
mov r9, qword [rbp + 0x270]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov rax, qword [0x18002b108]
call qword [rax + 0x48]
mov r13d, eax
lea rax, [0x18002bb7c]
cmp r14, rax
je 0x18001595f
or rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x268]
call fcn.18000c864
jmp 0x18001595f
mov rax, qword [0x18002b108]
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x48]
mov r13d, eax
test r15, r15
je 0x18001596c
mov rcx, r15
call fcn.180010f84
test r13d, r13d
jne 0x1800159c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [0x18002b108]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [0x18002b108]
mov rcx, rdi
xor esi, esi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [0x18002b108]
xor edi, edi
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r13d, dword [rbp + 0x260]
xor ebx, ebx
inc r12
mov rcx, rsi
cmp r12, 2
jl 0x1800156b8
test rcx, rcx
jne 0x1800159c6
lea r14d, [rsi - 2]
jmp 0x180015a32
mov rax, qword [0x18002b108]
lea r9, [rsp + 0x44]
and qword [rbp + 0x268], 0
lea r8, [rbp + 0x268]
and qword [rsp + 0x20], 0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov rcx, rsi
mov dword [rsp + 0x44], 8
call qword [rax + SafeArrayPutElement]
test eax, eax
jne 0x180015a0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, 0xfffffff8
jmp 0x180015a25
lea rcx, [rbp + 0x268]
call fcn.180010e74
mov r14d, eax
cmp eax, 0xc8
je 0x180015a5b
neg r14d
mov rax, qword [0x18002b108]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rdi, rdi
je 0x180015a44
mov rdx, qword [0x18002b108]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rbx, rbx
je 0x180015a56
mov rdx, qword [0x18002b108]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, r14d
jmp 0x180015a7b
mov rax, qword [rbp + 0x290]
mov qword [rax], rsi
mov rax, qword [rbp + 0x280]
mov qword [rax], rbx
mov rax, qword [rbp + 0x288]
mov qword [rax], rdi
xor eax, eax
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret