Function at 0x18000da30
Capabilities:
Check http status code
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1098]
mov eax, 0x1198
call fcn.18001b4a0
sub rsp, rax
mov rax, qword [0x18003b2e0]
xor rax, rsp
mov qword [rbp + 0x1080], rax
xor r12d, r12d
mov rbx, rcx
lea rax, [0x18002a6e4]
mov r15, r8
mov r13, rdx
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0xc1f
mov qword [rsp + 0x50], rax
mov esi, r9d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x48], pe_nt_image_headers64
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x40], r12d
mov edi, r12d
mov byte [rsp + 0x60], r12b
call fcn.18001b160
lea rcx, [rbp + 0xc81]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0xc80], r12b
call fcn.18001b160
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x60]
call fcn.180015880
lea r8, [0x18002a6d4]
lea rcx, [rbp + 0x760]
mov r9, rbx
mov edx, 0x400
call fcn.18001a12c
lea ecx, [r12 + 0xc]
call fcn.180016a94
mov r9d, dword [r13 + 4]
lea r8, [r13 + 8]
lea rdx, [rsp + 0x60]
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call fcn.180015128
or r14, 0xffffffffffffffff
mov rax, r14
lea rcx, [rbp + 0x360]
inc rax
cmp byte [rcx + rax], r12b
jne 0x18000db2a
lea r9, [rbp + 0x760]
mov edx, 0x400
lea rcx, [rbp + 0xc80]
test rax, rax
jne 0x18000db59
lea r8, [0x18002a6d4]
call fcn.18001a12c
jmp 0x18000db71
lea rax, [rbp + 0x360]
lea r8, [0x18002a6ec]
mov qword [rsp + 0x20], rax
call fcn.18001a12c
mov ecx, 1
call fcn.180016ac8
mov ecx, 0x1a
and al, 8
neg al
sbb ebx, ebx
and ebx, 0x803000
add ebx, 0x84680200
call fcn.180016a94
mov rcx, qword [0x18003c6f8]
mov qword [rsp + 0x38], r12
mov rdx, rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0xc80]
xor r9d, r9d
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rbx, rax
call fcn.18000dd0c
lea rax, [rsp + 0x60]
mov r8, r14
inc r8
cmp byte [rax + r8], r12b
jne 0x18000dbdc
mov eax, dword [rbp + 0xb68]
mov r9, qword [rbp + 0xb60]
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x60]
call fcn.180015840
lea r9, [rsp + 0x48]
lea r8, [rbp + 0xb80]
mov edx, reloc.WS2_32.dll_send
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x18000dc46
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, r14d
jmp 0x18000dce9
lea rcx, [rbp + 0xb80]
call fcn.18001b4f0
cmp eax, 0xc8
jne 0x18000dc35
lea rdx, [rsp + 0x44]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000dcde
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x18000dcde
cmp eax, esi
jae 0x18000dcde
test esi, esi
je 0x18000dcd6
mov edx, edi
lea r9, [rsp + 0x40]
mov r8d, 0x1000
add rdx, r15
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000dcac
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18000dcac
add edi, eax
cmp edi, esi
jb 0x18000dc81
cmp edi, esi
jae 0x18000dcd6
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.180016a94
mov r9d, esi
mov r8d, edi
mov rcx, rax
mov rdx, r15
call fcn.180015954
jmp 0x18000dce9
mov r14d, r12d
jmp 0x18000dc35
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x1080]
xor rcx, rsp
call fcn.18001ac30
add rsp, 0x1198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret