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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x180065060]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x4000000
lea rax, [0x180065b60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.HTTP_1.1
mov r8, qword [rdx]
lea rdx, [0x180059374]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rbx + 0x38], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne cl
mov byte [rbx + 0x40], cl
test eax, eax
je 0x180001e4e
mov dword [rbp - 0x35], esi
mov dword [rbp - 0x31], 4
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x35]
mov edx, 0x20000013
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x180001d92
mov dword [rbx + 0x44], 2
lea rdx, [rbp - 0x29]
call fcn.180002680
lea rcx, [rbx + 0x48]
mov rdx, rax
call fcn.180004e00
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x180001e4e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020f9
jmp 0x180001e49
mov r8d, dword [rbp - 0x35]
cmp r8d, 0xc8
je 0x180001e6f
mov dword [rbx + 0x44], 3
lea r9, [rbp + 0xc]
nop
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180001db0
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 0xf
lea rax, [rbp + 0xc]
cmp r9, rax
je 0x180001e06
lea r8, [rbp + 0xc]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x29]
call fcn.180004ef0
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x29]
call fcn.180004e00
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x180001e4e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020f3
call fcn.18002aab0
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18002aa90
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x180001ed7
lea rdx, [rbp - 0x29]
call fcn.180002680
lea rcx, [rbx + 0x48]
mov rdx, rax
call fcn.180004e00
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x180001e4e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020ff
jmp 0x180001e49
mov eax, dword [rbp - 0x39]
test eax, eax
jne 0x180001eea
mov dword [rbx + 0x44], 4
jmp 0x180001e4e
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], sil
nop
mov ecx, eax
call fcn.18002b10c
mov rdi, rax
lea r9, [rbp - 0x2d]
mov r8d, dword [rbp - 0x39]
mov rdx, rax
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000205e
mov eax, dword [rbp - 0x2d]
cmp eax, dword [rbp - 0x39]
jne 0x180002055
mov r8d, eax
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.180004ef0
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.180005050
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x180001fae
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001fa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000210b
call fcn.18002aab0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x180002004
mov rcx, rdi
call fcn.18002aab0
mov eax, dword [rbp - 0x39]
test eax, eax
jne 0x180001f00
lea rcx, [rbx + 0x48]
lea rax, [rbp + 0x17]
cmp rcx, rax
je 0x180001ffd
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rdx, qword [rbp + 0x17]
mov r8, qword [rbp + 0x27]
call fcn.180004ef0
mov bl, 1
jmp 0x1800020b4
lea rdx, [rbp - 0x29]
call fcn.180002680
lea rcx, [rbx + 0x48]
mov rdx, rax
call fcn.180004e00
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1800020aa
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002105
jmp 0x1800020a5
mov dword [rbx + 0x44], 1
jmp 0x1800020aa
lea rdx, [rbp - 0x29]
call fcn.180002680
lea rcx, [rbx + 0x48]
mov rdx, rax
call fcn.180004e00
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1800020aa
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002111
call fcn.18002aab0
mov rcx, rdi
call fcn.18002aab0
xor bl, bl
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1800020eb
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020f3
call fcn.18002aab0
movzx eax, bl
jmp 0x180001e50
call fcn.1800322fc
int3
call fcn.1800322fc
int3
call fcn.1800322fc
nop
call fcn.1800322fc
int3
call fcn.1800322fc
int3
call fcn.1800322fc
int3