Function at 0x140001230
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1090
call fcn.140006620
sub rsp, rax
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.WinINet_HTTP_Request
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
mov qword [rsp + 0x40], rax
call fcn.1400011e0
movsx r14d, al
call fcn.1400011d0
movsx ecx, al
imul r14d, ecx
call fcn.140001210
movsx r15d, al
lea r13d, [r15 + r14*8]
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
cmp r8d, eax
je 0x1400015a5
movsx eax, byte [0x14000a046]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x14000a048]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov eax, r12d
test rbp, rbp
sete al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x30], xmm1
lea eax, [r14 + r14*2]
lea ebp, [r15 + rax*2]
movsx eax, byte [0x14000a045]
add eax, ebp
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
cmp r8d, eax
je 0x140001385
call fcn.1400011f0
movsx edx, al
movsx eax, byte [0x14000a750]
imul edx, eax
call fcn.140001220
movsx ecx, al
sub edx, ecx
call fcn.140001200
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14000a048]
add ecx, edx
je 0x140001385
lea r9d, [r12 + 0xa]
jmp 0x1400013ec
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
cmp r8d, eax
je 0x1400013e7
movsx eax, byte [0x14000a045]
add eax, r15d
lea eax, [rax + r14*2]
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
sub r8d, eax
mov eax, r8d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si r9d, xmm0
jmp 0x1400013ec
mov r9d, dword [rsp + 0x50]
lea edx, [r14 + r15]
movsx r8d, byte [0x14000a045]
lea eax, [rdx + r14*2]
add eax, r8d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
sub r8d, eax
imul r8d, r9d
test r8d, r8d
je 0x1400015a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005020
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400051e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea edx, [r14 + r14*4]
movsx eax, byte [0x14000a045]
add eax, r15d
lea eax, [rax + rdx*2]
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
sub r8d, eax
mov eax, r8d
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x14000a046]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x14000a048]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x30], xmm1
movsx eax, byte [0x14000a045]
add eax, ebp
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
cmp r8d, eax
je 0x14000150b
call fcn.1400011f0
movsx edx, al
movsx eax, byte [0x14000a750]
imul edx, eax
call fcn.140001220
movsx ecx, al
sub edx, ecx
call fcn.140001200
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14000a048]
add ecx, edx
jne 0x140001574
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
cmp r8d, eax
je 0x14000156c
movsx eax, byte [0x14000a045]
add eax, r15d
lea eax, [rax + r14*2]
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
mov r8d, eax
movsx eax, byte [0x14000a047]
sub r8d, eax
mov eax, r8d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si eax, xmm0
jmp 0x140001570
mov eax, dword [rsp + 0x50]
test eax, eax
jle 0x1400015a0
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r12b
xor r8d, r8d
lea rdx, [0x1400074f0]
mov rcx, rsi
call fcn.140004e90
mov rax, rsi
jmp 0x140001ba7
mov rbp, qword [rsp + 0x40]
cmp qword [rdi + 0x18], 0x10
jb 0x1400015af
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
mov qword [rsp + 0x38], rax
lea r8d, [r14 + r15]
movsx eax, byte [0x14000a045]
lea ecx, [r8 + r14*4]
add eax, ecx
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x14000184a
movsx eax, byte [0x14000a046]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x14000a048]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mov rax, r12
test rbx, rbx
sete al
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
movsd qword [rsp + 0x30], xmm1
lea eax, [r14 + r14*2]
lea edi, [r15 + rax*2]
movsx eax, byte [0x14000a045]
add eax, edi
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x1400016a2
call fcn.1400011f0
movsx edx, al
movsx eax, byte [0x14000a750]
imul edx, eax
call fcn.140001220
movsx ecx, al
sub edx, ecx
call fcn.140001200
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14000a048]
add ecx, edx
je 0x1400016a2
mov r9d, 0xa
jmp 0x1400016fe
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x1400016f9
movsx eax, byte [0x14000a045]
add eax, r15d
lea eax, [rax + r14*2]
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si r9d, xmm0
jmp 0x1400016fe
mov r9d, dword [rsp + 0x50]
lea edx, [r14 + r14*4]
movsx eax, byte [0x14000a045]
add eax, r15d
lea eax, [rax + rdx*2]
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
imul eax, r9d
test eax, eax
je 0x14000184a
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
imul eax, r14d, 7
movsx ecx, byte [0x14000a045]
add eax, r15d
add eax, ecx
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x14000a046]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x14000a048]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x30], xmm1
movsx eax, byte [0x14000a045]
add eax, edi
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x1400017e8
call fcn.1400011f0
movsx edx, al
movsx eax, byte [0x14000a750]
imul edx, eax
call fcn.140001220
movsx ecx, al
sub edx, ecx
call fcn.140001200
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14000a048]
add ecx, edx
jne 0x140001574
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x14000183e
movsx eax, byte [0x14000a045]
add eax, r15d
lea eax, [rax + r14*2]
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si eax, xmm0
jmp 0x140001842
mov eax, dword [rsp + 0x50]
test eax, eax
jg 0x140001574
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], r12b
lea eax, [r14 + r14*2]
lea esi, [r15 + rax*2]
lea r12d, [r15 + r14*2]
mov ebp, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400018a0
cmp dword [rsp + 0x50], 0
jbe 0x1400018a0
mov edx, 1
jmp 0x1400018a2
xor edx, edx
movsx eax, byte [0x14000a046]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x14000a048]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rdx
mulsd xmm1, xmm0
movsd qword [rsp + 0x30], xmm1
movsx eax, byte [0x14000a045]
add eax, esi
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x140001931
call fcn.1400011f0
movsx edx, al
movsx eax, byte [0x14000a750]
imul edx, eax
call fcn.140001220
movsx ecx, al
sub edx, ecx
call fcn.140001200
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14000a048]
add ecx, edx
je 0x140001931
mov ebp, 0xa
jmp 0x140001981
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x140001981
movsx eax, byte [0x14000a045]
add eax, r12d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si ebp, xmm0
movsx eax, byte [0x14000a045]
add eax, r12d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
imul eax, ebp
test eax, eax
je 0x140001a1a
mov edi, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400019fb
lea rax, [rcx + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, edi
lea rdx, [rsp + 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x38]
jmp 0x140001872
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x80]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140005380
jmp 0x140001872
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea edx, [r14 + r15]
movsx ecx, byte [0x14000a045]
lea eax, [rdx + r14*2]
add eax, ecx
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [0x14000a046]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [0x14000a048]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x38], xmm1
movsx eax, byte [0x14000a045]
add eax, esi
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
mov rsi, qword [rsp + 0x48]
je 0x140001ae0
call fcn.1400011f0
movsx edx, al
movsx eax, byte [0x14000a750]
imul edx, eax
call fcn.140001220
movsx ecx, al
sub edx, ecx
call fcn.140001200
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14000a048]
add ecx, edx
jne 0x140001b3a
movsx eax, byte [0x14000a045]
add eax, r13d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
cmp eax, ecx
je 0x140001b32
movsx eax, byte [0x14000a045]
add eax, r12d
movsx ecx, byte [0x14000a044]
xor edx, edx
div ecx
movsx ecx, byte [0x14000a047]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x38]
cvttsd2si eax, xmm0
jmp 0x140001b36
mov eax, dword [rsp + 0x50]
test eax, eax
jle 0x140001b67
mov qword [rsi], 0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
jmp 0x140001ba7
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140001ba7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ba2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a84
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.140005540
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x1090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret