Function at 0x140001a60
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
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
lea rcx, str.WinHTTP_Example_1.0
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
jne 0x140001b1a
lea rdx, str.error
mov rcx, r13
call fcn.140003930
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140001b11
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140001b0c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400020e2
mov rcx, r8
call fcn.140004f9c
mov qword [rdi + 0x10], r15
jmp 0x1400020aa
cmp qword [rdi + 0x18], 0xf
jbe 0x140001b2d
mov r14, qword [rdi]
mov rsi, r14
add r14, qword [rdi + 0x10]
jmp 0x140001b37
mov r14, qword [rdi + 0x10]
add r14, rdi
mov rsi, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
cmp rsi, r14
jne 0x140001b61
mov r8, r15
mov qword [rsp + 0x40], r15
mov ecx, 7
mov qword [rsp + 0x48], rcx
mov word [rsp + 0x30], r15w
jmp 0x140001c92
mov rax, r14
sub rax, rsi
mov rdx, r15
mov qword [rsp + 0x40], rdx
mov ebx, 7
mov qword [rsp + 0x48], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x1400020ef
cmp rax, rbx
jbe 0x140001c40
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140001bb4
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140001be3
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400020e9
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001c1a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400020e9
mov rcx, rax
call fcn.140004d20
mov rcx, rax
test rax, rax
je 0x140001c13
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x40]
jmp 0x140001c2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001c2b
call fcn.140004d20
mov rdx, qword [rsp + 0x40]
jmp 0x140001c2e
mov rax, r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
cmp rbx, 7
cmova rcx, qword [rsp + 0x30]
movsx eax, byte [rsi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
inc rsi
cmp rsi, r14
je 0x140001c72
mov rbx, qword [rsp + 0x48]
jmp 0x140001c40
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, qword [rsp + 0x30]
mov word [rax + rdx*2], r15w
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rax, rcx
sub rax, r8
cmp rax, 0x39
jb 0x140001d35
lea rax, [r8 + 0x39]
mov qword [rsp + 0x40], rax
lea rsi, [rsp + 0x30]
cmp rcx, 7
cmova rsi, qword [rsp + 0x30]
lea rax, [0x140007802]
lea r14, str.http:__www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com_
cmp rax, rsi
jbe 0x140001ceb
lea rax, [rsi + r8*2]
cmp r14, rax
ja 0x140001ceb
cmp rsi, r14
ja 0x140001ce0
mov rbx, r15
jmp 0x140001cf0
mov rbx, rsi
sub rbx, r14
sar rbx, 1
jmp 0x140001cf0
mov ebx, 0x39
lea rcx, [rsi + 0x72]
lea r8, [r8*2 + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
mov r8d, WSACleanup
sub r8, rbx
lea rdx, [r14 + 0x72]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x140001d4b
mov ebx, 0x39
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140004930
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001dc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f9c
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x140001ec0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.error
mov rcx, r13
call fcn.140003930
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001e68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002051
call fcn.140004f9c
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140001eb7
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140001eb2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400020e2
mov rcx, r8
call fcn.140004f9c
mov qword [rdi + 0x10], rbx
jmp 0x1400020aa
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor esi, esi
mov r14d, esi
mov qword [rbp - 0x68], rsi
mov ebx, 0xf
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], sil
mov dword [rsp + 0x60], esi
lea r9, [rsp + 0x60]
mov r8d, 0x400
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001f81
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140001f7f
mov esi, eax
mov rax, rbx
sub rax, r14
cmp rsi, rax
ja 0x140001f44
lea rax, [rsi + r14]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rbx, 0xf
cmova rax, qword [rbp - 0x78]
lea rbx, [rax + r14]
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140001f59
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140004190
lea r9, [rsp + 0x60]
mov r8d, 0x400
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rbx, qword [rbp - 0x60]
test eax, eax
je 0x140001f7f
mov r14, qword [rbp - 0x68]
jmp 0x140001f01
xor esi, esi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0xf
mov rax, qword [str.unknown]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14000780c]
mov word [rbp - 0x54], ax
movzx eax, byte [0x14000780e]
mov byte [rbp - 0x52], al
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [r13 + 0x10], xmm1
cmp rbx, 0xf
jbe 0x140002019
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002013
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f9c
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14000205d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002058
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002058
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f9c
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400020a6
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400020a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400020e2
mov rcx, r8
call fcn.140004f9c
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov rax, r13
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140004d00
mov rbx, qword [rsp + 0x530]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012d0
nop
call fcn.140001370
int3