Function at 0x140094cf8
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140101078]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
mov edx, 0x20000013
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400950ac
cmp dword [rsp + 0x34], 0xc8
jne 0x1400950ac
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
xor r8d, r8d
lea r15d, [r14 + 0x16]
mov edx, r15d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400950ac
lea ecx, [rax + 1]
lea r13d, [r14 + 2]
mov eax, r13d
mul rcx
lea r12, [r14 - 1]
cmovo rax, r12
mov rcx, rax
call fcn.1400b84ac
mov rbx, rax
mov r8d, dword [rsp + 0x30]
inc r8d
add r8, r8
xor edx, edx
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8, rbx
mov edx, r15d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400950ac
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140088428
nop
mov rcx, rbx
call fcn.1400b8460
lea rdi, [0x1400ec7fc]
lea r15d, [r14 + 1]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
setae bl
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r13
mov r9, rdi
mov rdx, qword [rsp + 0x50]
call fcn.140090054
cmp rax, r12
je 0x14009509d
lea rcx, [rsp + 0x40]
test bl, bl
cmovne rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r13
mov r9, rdi
mov rdx, qword [rsp + 0x50]
call fcn.140090054
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14008ecac
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
setae bl
cmovae rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r15
lea r9, [0x1400ec804]
mov rdx, qword [rsp + 0x70]
call fcn.140090054
cmp rax, r12
je 0x140095001
lea rcx, [rsp + 0x60]
test bl, bl
cmovne rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r15
lea r9, [0x1400ec804]
mov rdx, qword [rsp + 0x70]
call fcn.140090054
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14008ecac
nop
lea rcx, [rbp - 0x20]
call fcn.1400a8138
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r15
lea r9, [0x1400ec804]
mov rdx, qword [rsp + 0x70]
call fcn.140090054
lea r8, [rax + 1]
mov r9, r12
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.14008ecac
nop
lea rcx, [rbp - 0x40]
call fcn.1400a8138
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140089e4c
mov rbx, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.140089e4c
nop
mov rdx, rax
mov rcx, rsi
call fcn.140095124
mov rcx, rax
mov rdx, rbx
call fcn.140083cfc
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140094fa2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094f9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009508f
call fcn.1400b8460
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], r14b
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140094fee
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094fe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140095096
call fcn.1400b8460
nop
lea rcx, [rbp - 0x40]
call fcn.14008858c
nop
lea rcx, [rbp - 0x20]
call fcn.14008858c
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r13
mov r9, rdi
mov rdx, qword [rsp + 0x50]
call fcn.140090054
lea r8, [rax + 2]
mov r9, r12
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.14008ecac
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x140095076
lea rcx, [rsp + 0x40]
call fcn.14008858c
nop
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rbp - 0x60]
call fcn.14008858c
nop
lea rcx, [rsp + 0x60]
call fcn.14008858c
jmp 0x140094e14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x40]
call fcn.14008858c
mov al, r15b
jmp 0x1400950ae
xor al, al
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400b8190
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret