Function at 0x18017d3d0
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12, r9
mov r14, r8
mov r13, rdx
mov rsi, rcx
xor eax, eax
mov r15d, eax
lea rdx, [rcx + 0x18]
lea rcx, [rbp - 0x11]
call fcn.180004aa0
nop
xor ecx, ecx
mov qword [rbp - 0x19], rcx
mov ebx, ecx
mov qword [rbp - 0x19], rcx
lea rdi, [rsi + 0x58]
mov dword [rsi + 0x104], ecx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rcx
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
xor r8d, r8d
lea rdx, [0x1803c8c10]
lea rcx, [rbp - 0x49]
call fcn.1800051f0
nop
mov qword [rsp + 0x30], rdi
lea rax, [rsi + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9, r12
lea r8, [rbp - 0x11]
mov rdx, qword [r14 + 8]
mov rcx, r13
call fcn.180197e20
test al, al
sete dil
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x18017d4cb
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017d4c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18017d632
call fcn.180385c70
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], al
test dil, dil
jne 0x18017d604
mov dword [rbp - 0x1d], eax
mov dword [rbp - 0x21], 4
mov rdi, qword [r13 + 8]
test rdi, rdi
je 0x18017d604
call fcn.18019a670
mov rcx, rax
mov qword [rsp + 0x28], 0
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1d]
mov r8d, 0x20000013
mov rdx, rdi
call fcn.18019a8b0
test eax, eax
je 0x18017d604
mov eax, dword [rbp - 0x1d]
mov dword [rsi + 0x104], eax
cmp eax, 0xc8
je 0x18017d5e9
cmp eax, 0xce
je 0x18017d5e9
cmp eax, 0x12e
jne 0x18017d639
mov eax, 0x400
mov dword [rbp - 0x21], eax
test rbx, rbx
jne 0x18017d57b
mov ecx, 0x800
call fcn.180386168
mov rbx, rax
mov qword [rbp - 0x19], rax
mov eax, dword [rbp - 0x21]
mov r8d, eax
add r8, r8
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [r13 + 8]
test rdi, rdi
je 0x18017d639
call fcn.18019a670
mov rcx, rax
mov qword [rsp + 0x28], 0
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 0x21
mov rdx, rdi
call fcn.18019a8b0
test eax, eax
je 0x18017d639
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x18017d5d0
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.180004e70
jmp 0x18017d622
test r12, r12
je 0x18017d5f5
cmp eax, 0xce
jne 0x18017d610
mov dword [rsi + 0x100], 0
mov dil, 1
jmp 0x18017d63c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x100], eax
cmp qword [r14 + 8], 0
je 0x18017d639
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r15d
cmp r15d, 3
jae 0x18017d639
xor ecx, ecx
jmp 0x18017d42a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor dil, dil
test rbx, rbx
je 0x18017d64a
mov rcx, rbx
call fcn.180385c70
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18017d68d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017d688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017d688
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
xor eax, eax
mov word [rbp - 0x11], ax
movzx eax, dil
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.180385c10
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret