Function at 0x140003528
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov r13, r8
mov r15, rdx
mov rbx, rcx
mov edi, 0x68
mov r8d, edi
lea rcx, [rbp - 0x30]
xor edx, edx
call sub.msvcrt.dll_memset
mov edx, dword [rbx + 0x10]
lea r12d, [rdi - 0x61]
or eax, 0xffffffff
mov dword [rbp - 0x30], edi
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x10], eax
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x30], eax
mov rax, qword [0x140019198]
mov r10, qword [rax + 0x10]
cmp qword [rbx + 0x18], r12
jbe 0x140003592
mov rbx, qword [rbx]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rcx, rbx
call r10
xor r14d, r14d
test eax, eax
je 0x140003be9
mov r8d, dword [rbp - 0x10]
lea rcx, [rsp + 0x60]
mov rdx, qword [rbp - 0x18]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
call fcn.140008ec8
mov r8d, dword [rbp + 0x20]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbp + 0x18]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call fcn.140008ec8
mov rax, qword [0x140019198]
lea rcx, str.A_WinHTTP_Example_Program_1.0
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
xor edx, edx
mov r10, qword [rax + 0x48]
call r10
mov rdi, rax
test rax, rax
jne 0x14000366a
mov rdx, qword [rsp + 0x58]
mov r15d, 0x1000
cmp rdx, r12
jbe 0x14000365d
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140003658
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
call fcn.14000bfec
mov rdx, qword [rsp + 0x78]
cmp rdx, r12
jmp 0x140003b90
mov rax, qword [0x140019198]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], r12
mov rcx, rdi
movzx r8d, word [rbp - 0xc]
cmova rdx, qword [rsp + 0x60]
xor r9d, r9d
mov r10, qword [rax + 0x18]
call r10
mov rsi, rax
test rax, rax
jne 0x1400036ad
mov rax, qword [0x140019198]
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x14000361a
cmp qword [rsp + 0x58], r12
lea r8, [rsp + 0x40]
movabs rax, 0x2a002f002a
mov qword [rbp - 0x38], r14
cmova r8, qword [rsp + 0x40]
lea rdx, [0x140013cb8]
cmp dword [rbp - 0x1c], 2
mov ecx, 0x800000
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x40], rax
mov rax, qword [0x140019198]
mov r10, qword [rax + 0x30]
mov eax, r14d
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, rsi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call r10
mov rbx, rax
mov qword [rsp + 0x30], r14
mov rax, qword [0x140019198]
lea rdx, str.Cache_Control:_no_cache_r_n
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rcx, rbx
mov r10, qword [rax + 0x20]
call r10
test eax, eax
jne 0x14000376b
test rbx, rbx
je 0x140003759
mov rax, qword [0x140019198]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x140019198]
mov rcx, rsi
call qword [rax + 0x28]
jmp 0x14000369b
mov rax, qword [0x140019198]
xor edx, edx
mov rcx, rbx
mov r8, qword [rax + 0x50]
call r8
test eax, eax
je 0x140003747
mov rax, qword [0x140019198]
lea r9, [rbp + 0x98]
mov dword [rbp + 0x98], r14d
xor r8d, r8d
mov dword [rbp - 0x74], 4
mov edx, 0x20000005
mov qword [rsp + 0x28], r14
mov rcx, rbx
mov r10, qword [rax + 0x40]
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
call r10
test eax, eax
jne 0x1400037c9
mov dword [rbp + 0x98], r14d
mov ecx, 0x2027
call fcn.14000bd68
test rax, rax
je 0x140003c09
lea r14, [rax + 0x27]
xor edx, edx
and r14, 0xffffffffffffffe0
mov r8d, 0x2000
mov rcx, r14
mov qword [rbp - 0x60], r14
lea r12, [r14 + 0x2000]
mov qword [r14 - 8], rax
mov qword [rbp - 0x50], r12
call sub.msvcrt.dll_memset
cmp qword [r15 + 0x18], 0xf
mov rax, r15
mov qword [rbp - 0x58], r12
jbe 0x140003818
mov rax, qword [r15]
xor ecx, ecx
mov qword [r15 + 0x10], rcx
xor r15d, r15d
mov byte [rax], r15b
mov rax, qword [0x140019198]
lea rdx, [rbp - 0x7c]
mov dword [rbp - 0x80], r15d
mov rcx, rbx
mov dword [rbp - 0x7c], r15d
mov r8, qword [rax + 8]
call r8
test eax, eax
je 0x140003ae0
mov rcx, qword [rbp - 0x58]
mov r15d, dword [rbp - 0x7c]
mov rdx, rcx
sub rdx, r14
cmp r15, rdx
jae 0x140003862
lea rcx, [r15 + r14]
jmp 0x14000389d
jbe 0x1400038a1
mov rax, r12
sub rax, r14
cmp r15, rax
jbe 0x140003889
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.14000a6ec
mov rcx, qword [rbp - 0x58]
mov r12, qword [rbp - 0x50]
mov r14, qword [rbp - 0x60]
jmp 0x1400038a1
sub r15, rdx
xor edx, edx
mov r8, r15
call sub.msvcrt.dll_memset
mov rcx, qword [rbp - 0x58]
add rcx, r15
mov qword [rbp - 0x58], rcx
mov rax, qword [0x140019198]
lea r9, [rbp - 0x80]
mov r8d, ecx
mov rdx, r14
sub r8d, r14d
mov rcx, rbx
mov r10, qword [rax + 0x38]
call r10
test eax, eax
je 0x140003ae0
mov r15, qword [rbp + 0x88]
mov r9d, dword [rbp - 0x80]
mov rcx, r15
add r9, r14
cmp qword [r15 + 0x18], 0xf
jbe 0x1400038e2
mov rcx, qword [r15]
mov rdx, qword [r15 + 0x10]
mov rax, r15
add rdx, rcx
cmp qword [r15 + 0x18], 0xf
jbe 0x1400038f6
mov rax, qword [r15]
sub r9, r14
sub rdx, rax
mov r8, r14
mov rcx, r15
call fcn.14000972c
mov edx, dword [rbp + 0x98]
xor r15d, r15d
test edx, edx
je 0x140003942
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x140003942
mov eax, dword [rbp - 0x80]
lea r8, [rbp + 0x80]
mov dword [rbp - 0x70], edx
lea rdx, [rbp - 0x70]
mov dword [rbp + 0x80], eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x140003ae0
cmp dword [rbp - 0x7c], r15d
ja 0x140003824
mov rax, qword [0x140019198]
lea r9, [rbp - 0x78]
mov dword [rbp - 0x78], r15d
xor r8d, r8d
mov dword [rbp - 0x68], 4
mov edx, 0x20000013
mov qword [rsp + 0x28], r15
mov rcx, rbx
mov r10, qword [rax + 0x40]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
call r10
mov r15d, 0x1000
test eax, eax
je 0x140003ae6
cmp dword [rbp - 0x78], 0xc8
sete byte [rbp + 0x80]
test r14, r14
je 0x1400039d2
sub r12, r14
mov rax, r14
cmp r12, r15
jb 0x1400039c7
mov r14, qword [r14 - 8]
add r12, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
mov rdx, r12
mov rcx, r14
call fcn.14000bfec
xor r14d, r14d
test rbx, rbx
je 0x1400039e7
mov rax, qword [0x140019198]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x140019198]
mov rcx, rsi
call qword [rax + 0x28]
mov rax, qword [0x140019198]
mov rcx, rdi
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140003a3f
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140003a3a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
call fcn.14000bfec
mov rdx, qword [rsp + 0x78]
movdqa xmm0, xmmword [0x140014210]
mov word [rsp + 0x40], r14w
movdqu xmmword [rsp + 0x50], xmm0
cmp rdx, 7
jbe 0x140003a91
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140003a8c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
call fcn.14000bfec
mov rcx, qword [r13 + 0x38]
movdqa xmm0, xmmword [0x140014210]
mov word [rsp + 0x60], r14w
movdqu xmmword [rsp + 0x70], xmm0
test rcx, rcx
je 0x140003abf
mov r8, qword [rcx]
cmp rcx, r13
setne dl
call qword [r8 + 0x20]
mov qword [r13 + 0x38], r14
mov al, byte [rbp + 0x80]
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15d, 0x1000
test r14, r14
je 0x140003b1a
sub r12, r14
mov rax, r14
cmp r12, r15
jb 0x140003b0f
mov r14, qword [r14 - 8]
add r12, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
mov rdx, r12
mov rcx, r14
call fcn.14000bfec
xor r14d, r14d
test rbx, rbx
je 0x140003b2f
mov rax, qword [0x140019198]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x140019198]
mov rcx, rsi
call qword [rax + 0x28]
mov rax, qword [0x140019198]
mov rcx, rdi
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140003b87
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140003b82
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
call fcn.14000bfec
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
movdqa xmm0, xmmword [0x140014210]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
jbe 0x140003bd5
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140003bd0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c09
call fcn.14000bfec
movdqa xmm0, xmmword [0x140014210]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x140003c02
mov rax, qword [rcx]
cmp rcx, r13
setne dl
call qword [rax + 0x20]
mov qword [r13 + 0x38], r14
xor al, al
jmp 0x140003ac5
call fcn.14000ce90
int3