Function at 0x14002229d
Capabilities:
Check http status code

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x190
lea rax, [0x140094c5d]
xor edi, edi
mov qword [rsp + 0x58], rax
xor eax, eax
mov rbx, rcx
mov ecx, 0x19
mov dword [rsp + 0x54], edi
lea rdi, [rsp + 0xac]
mov qword [rsp + 0x60], rax
xor eax, eax
cmp qword [0x140110f80], 0
rep stosd dword [rdi], eax
lea rax, [rsp + 0x68]
mov dword [rsp + 0xa8], 0x68
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x110]
mov dword [rsp + 0xb8], 1
mov dword [rsp + 0xc8], 0x40
mov dword [rsp + 0xd8], 1
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xe8], pe_nt_image_headers64
mov dword [rsp + 0xf8], 1
jne 0x140022365
call fcn.14001f455
lea rsi, str.InternetCrackUrlA
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelA]
mov qword [0x140110f80], rax
test rax, rax
je 0x140022453
cmp qword [0x140110f78], 0
jne 0x140022397
call fcn.14001f455
lea rsi, str.InternetConnectA
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelA]
mov qword [0x140110f78], rax
test rax, rax
je 0x140022453
cmp qword [0x140110f70], 0
jne 0x1400223c9
call fcn.14001f455
lea rsi, str.InternetCloseHandle
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelA]
mov qword [0x140110f70], rax
test rax, rax
je 0x140022453
cmp qword [0x140110f68], 0
jne 0x1400223f7
call fcn.14001f455
lea rsi, str.HttpOpenRequestA
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelA]
mov qword [0x140110f68], rax
test rax, rax
je 0x140022453
cmp qword [0x140110f60], 0
jne 0x140022425
call fcn.14001f455
lea rsi, str.HttpSendRequestA
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelA]
mov qword [0x140110f60], rax
test rax, rax
je 0x140022453
cmp qword [0x140110f58], 0
jne 0x140022476
call fcn.14001f455
lea rsi, str.HttpQueryInfoA
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_SetVolumeLabelA]
mov qword [0x140110f58], rax
test rax, rax
jne 0x140022476
call fcn.14003893c
lea r8, str.WinInet
mov rdx, rsi
lea rcx, [0x140094b2c]
mov r9, rax
call fcn.140038472
jmp 0x140022639
xor eax, eax
test rbx, rbx
je 0x140022643
mov rax, qword [0x1400b5de0]
xor esi, esi
mov rcx, rbx
mov dword [0x140110f50], 0x194
mov dword [rax], esi
call fcn.1400797e8
xor r8d, r8d
lea r9, [rsp + 0xa8]
mov rcx, rbx
mov edx, eax
call qword [0x140110f80]
test eax, eax
je 0x140022639
cmp qword [rsp + 0xc0], 0
je 0x140022639
cmp qword [rsp + 0xf0], 0
je 0x140022639
xor edx, edx
xor ecx, ecx
mov byte [rsp + 0xa7], 0
call fcn.14001f551
mov rsi, rax
test rax, rax
je 0x140022639
xor r10d, r10d
xor r11d, r11d
xor ebx, ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x38], r10
xor r9d, r9d
mov rcx, rax
movzx r8d, word [rsp + 0xcc]
mov dword [rsp + 0x30], r11d
mov rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rbx
call qword [0x140110f78]
mov rdi, rax
test rax, rax
je 0x140022630
cmp dword [rsp + 0xbc], 4
mov r10, qword [0x140110f68]
mov eax, 0x408c600
jne 0x14002255a
mov eax, 0x488c600
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], r8
lea rdx, [0x140094d72]
mov r8, qword [rsp + 0xf0]
mov rcx, rdi
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov qword [rsp + 0x28], rax
call r10
mov rbx, rax
test rax, rax
je 0x140022627
xor ecx, ecx
xor r9d, r9d
lea rdx, str.Accept_Encoding:_gzip__deflate
or r8d, 0xffffffff
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [0x140110f60]
test eax, eax
je 0x14002261e
xor edx, edx
lea r9, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rdx
lea r8, [0x140110f50]
mov edx, 0x20000013
mov qword [rsp + 0x48], r9
call qword [0x140110f58]
cmp dword [0x140110f50], 0xc8
jne 0x14002261e
xor eax, eax
mov r9, qword [rsp + 0x48]
lea r8, [rsp + 0x54]
mov rcx, rbx
mov dword [rsp + 0x50], 4
mov edx, 0x20000005
mov qword [rsp + 0x20], rax
call qword [0x140110f58]
mov rcx, rbx
call qword [0x140110f70]
mov rcx, rdi
call qword [0x140110f70]
mov rcx, rsi
call qword [0x140110f70]
xor eax, eax
cmp dword [rsp + 0x54], 0
setne al
add rsp, 0x190
pop rbx
pop rsi
pop rdi
ret