Function at 0x1400831b8
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 8], 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 0x140083696
cmp dword [rsp + 0x34], 0xc8
jne 0x140083696
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
xor r8d, r8d
lea edx, [r14 + 0x16]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140083696
lea ecx, [rax + 1]
lea eax, [r14 + 2]
mul rcx
lea rcx, [r14 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.1400a98bc
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
lea edx, [r14 + 0x16]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140083696
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14007ef18
nop
mov rcx, rbx
call fcn.1400a9870
lea r13, [0x1400e0dcc]
mov r12d, 0x1000
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rsp + 0x68]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x80]
cmp rdi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], rax
mov r9, r13
mov rdx, qword [rsp + 0x78]
call fcn.140081134
cmp rax, 0xffffffffffffffff
je 0x140083658
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, r13
mov rdx, qword [rsp + 0x78]
call fcn.140081134
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14007eb5c
nop
lea rbx, [0x1400e0dd4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov rdx, qword [rsp + 0x58]
call fcn.140081134
or rdi, 0xffffffffffffffff
cmp rax, rdi
je 0x14008356a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov rdx, qword [rsp + 0x58]
call fcn.140081134
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x48]
call fcn.14007eb5c
nop
lea rcx, [rbp - 0x18]
call fcn.14009a378
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov rdx, qword [rsp + 0x58]
call fcn.140081134
lea r8, [rax + 1]
mov r9, rdi
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.14007eb5c
nop
lea rcx, [rbp - 0x78]
call fcn.14009a378
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.14007c300
mov rbx, rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.14007c300
nop
mov rdx, rax
mov rcx, rsi
call fcn.14008370c
mov rcx, rax
mov rdx, rbx
call fcn.140074d10
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140083499
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, r12
jb 0x140083494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008363c
call fcn.1400a9870
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], r14b
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400834e1
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, r12
jb 0x1400834db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008363c
call fcn.1400a9870
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14008351d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r12
jb 0x140083518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083643
call fcn.1400a9870
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14008356a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, r12
jb 0x140083565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083643
call fcn.1400a9870
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, r13
mov rdx, qword [rsp + 0x78]
call fcn.140081134
lea r8, [rax + 2]
mov r9, rdi
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x68]
call fcn.14007eb5c
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14007ee6c
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400835ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, r12
jb 0x1400835ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008364a
call fcn.1400a9870
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400832dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, r12
jb 0x140083632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083651
call fcn.1400a9870
jmp 0x1400832dc
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
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
cmp rdi, 8
jb 0x140083692
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, r12
jb 0x14008368a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008368a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400a9870
mov al, 1
jmp 0x140083698
xor al, al
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400a95a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret