Function at 0x180017eb8
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4890]
mov eax, 0x4990
call fcn.1800193e0
sub rsp, rax
mov rax, qword [0x18003d928]
xor rax, rsp
mov qword [rbp + 0x4880], rax
mov r14, qword [rbp + 0x48f0]
mov rbx, rcx
mov r15b, r8b
mov qword [rsp + 0x48], rdx
lea rcx, [rbp + 0x871]
xor esi, esi
xor edx, edx
mov r8d, 0x4001
mov rdi, r9
mov byte [rbp + 0x870], sil
call fcn.18001a530
lea rcx, [rbp + 0x71]
xor edx, edx
mov r8d, 0x7ff
mov byte [rbp + 0x70], sil
call fcn.18001a530
lea r8, [rsp + 0x34]
lea rdx, [rbp + 0x70]
xor ecx, ecx
mov dword [rsp + 0x34], 0x800
call sub.urlmon.dll_ObtainUserAgentString
lea rcx, [rbp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], esi
call fcn.180018154
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0x84000900
call fcn.1800181d4
xor r13d, r13d
mov r12, rax
test rax, rax
jne 0x180017f97
xor eax, eax
jmp 0x18001812a
xor eax, eax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
and qword [rsp + 0x20], rax
lea edx, [rax + 0x13]
mov rcx, r12
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x51], rax
mov qword [rsp + 0x59], rax
mov qword [rsp + 0x61], rax
mov dword [rsp + 0x69], eax
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
mov dword [rsp + 0x38], 0x20
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
lea rcx, [rsp + 0x50]
call fcn.18001b3f4
cmp eax, 0x190
jl 0x180018046
test r15b, r15b
je 0x180017f90
test rdi, rdi
je 0x180017ffa
mov dword [rdi], eax
test r14, r14
je 0x180018046
mov ebx, 0xff
lea rcx, [rsp + 0x71]
xor edx, edx
mov r8d, ebx
mov byte [rsp + 0x70], sil
call fcn.18001a530
and qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x70]
mov edx, 0x14
mov rcx, r12
mov dword [rsp + 0x3c], ebx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.18001c790
lea r9, [rsp + 0x30]
lea rdx, [rbp + 0x870]
mov r8d, 0x4000
mov rcx, r12
call fcn.180018260
mov r11d, dword [rsp + 0x30]
test r11d, r11d
je 0x18001810d
test rsi, rsi
je 0x1800180dd
mov ecx, r13d
mov ebx, r13d
call fcn.1800189c0
mov r8d, r13d
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.18001bb30
mov rcx, rsi
call fcn.180018adc
mov ecx, dword [rsp + 0x30]
add ecx, r13d
call fcn.1800189c0
mov r8d, r13d
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.18001bb30
mov r8d, dword [rsp + 0x30]
lea rcx, [rbx + rsi]
lea rdx, [rbp + 0x870]
call fcn.18001bb30
add r13d, dword [rsp + 0x30]
mov rcx, rdi
call fcn.180018adc
mov r11d, dword [rsp + 0x30]
jmp 0x180018104
mov rcx, r11
call fcn.1800189c0
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp + 0x870]
mov rcx, rax
mov rsi, rax
call fcn.18001bb30
mov r11d, dword [rsp + 0x30]
mov r13d, r11d
test r11d, r11d
jne 0x180018046
mov rcx, r12
call fcn.1800182d8
mov rcx, qword [rsp + 0x40]
call fcn.1800182d8
mov r11, qword [rsp + 0x48]
mov rax, rsi
mov dword [r11], r13d
mov rcx, qword [rbp + 0x4880]
xor rcx, rsp
call fcn.1800193b0
mov rbx, qword [rsp + 0x49e0]
add rsp, 0x4990
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret