Function at 0x140004770
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140155010]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r13d, r13d
mov dword [rbp - 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
lea rax, [rbp + 0x318]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rax
mov r15, qword [rax]
xor r15, rcx
mov qword [rbp + 0xd8], r15
mov qword [rax], r13
mov cl, 2
mov word [rsp + 0x30], 2
movsx edx, cl
movzx eax, dx
xor ax, 0x54
mov word [rsp + 0x32], ax
movzx ecx, dx
xor cx, 0x67
mov word [rsp + 0x34], cx
movzx eax, dx
xor ax, 0x70
mov word [rsp + 0x36], ax
movzx eax, dx
xor ax, 0x71
mov word [rsp + 0x38], ax
movzx eax, dx
xor ax, 0x6b
mov word [rsp + 0x3a], ax
movzx eax, dx
xor ax, 0x6d
mov word [rsp + 0x3c], ax
movzx eax, dx
xor ax, 0x6c
mov word [rsp + 0x3e], ax
movzx eax, dx
xor ax, 0x41
mov word [rsp + 0x40], ax
movzx eax, dx
xor ax, 0x6a
mov word [rsp + 0x42], ax
mov word [rsp + 0x44], cx
movzx eax, dx
xor ax, 0x61
mov word [rsp + 0x46], ax
xor dx, 0x69
mov word [rsp + 0x48], dx
mov word [rsp + 0x4a], r13w
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, [rsp + 0x32]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
je 0x140004e4e
mov cl, 0x4f
mov word [rsp + 0x70], 0x4f
movsx r14d, cl
movzx ebx, r14w
xor bx, 0x27
mov word [rsp + 0x72], bx
movzx r11d, r14w
xor r11w, 0x3b
mov word [rsp + 0x74], r11w
mov word [rsp + 0x76], r11w
movzx eax, r14w
xor ax, 0x3f
mov word [rsp + 0x78], ax
movzx esi, r14w
xor si, 0x3c
mov word [rsp + 0x7a], si
movzx eax, r14w
xor ax, 0x75
mov word [rsp + 0x7c], ax
movzx edi, r14w
xor di, 0x60
mov word [rsp + 0x7e], di
mov word [rbp - 0x80], di
movzx eax, r14w
xor ax, 0x22
mov word [rbp - 0x7e], ax
movzx r9d, r14w
xor r9w, 0x2e
mov word [rbp - 0x7c], r9w
mov word [rbp - 0x7a], r11w
movzx r10d, r14w
xor r10w, 0x26
mov word [rbp - 0x78], r10w
movzx ecx, r14w
xor cx, 0x2c
mov word [rbp - 0x76], cx
mov word [rbp - 0x74], si
movzx eax, r14w
xor ax, 0x24
mov word [rbp - 0x72], ax
movzx eax, r14w
xor ax, 0x36
mov word [rbp - 0x70], ax
movzx eax, r14w
xor ax, 0x61
mov word [rbp - 0x6e], ax
movzx r8d, r14w
xor r8w, 0x21
mov word [rbp - 0x6c], r8w
movzx edx, r14w
xor dx, 0x2a
mov word [rbp - 0x6a], dx
mov word [rbp - 0x68], r11w
mov word [rbp - 0x66], di
mov word [rbp - 0x64], cx
mov word [rbp - 0x62], bx
mov word [rbp - 0x60], dx
mov word [rbp - 0x5e], r9w
mov word [rbp - 0x5c], r11w
mov word [rbp - 0x5a], si
mov word [rbp - 0x58], di
movzx eax, r14w
xor ax, 0x23
mov word [rbp - 0x56], ax
movzx ecx, r14w
xor cx, 0x20
mov word [rbp - 0x54], cx
mov word [rbp - 0x52], r9w
movzx eax, r14w
xor ax, 0x2b
mov word [rbp - 0x50], ax
mov word [rbp - 0x4e], dx
movzx eax, r14w
xor ax, 0x3d
mov word [rbp - 0x4c], ax
mov word [rbp - 0x4a], di
xor r14w, 0x39
mov word [rbp - 0x48], r14w
mov word [rbp - 0x46], dx
mov word [rbp - 0x44], ax
mov word [rbp - 0x42], si
mov word [rbp - 0x40], r10w
mov word [rbp - 0x3e], cx
mov word [rbp - 0x3c], r8w
mov word [rbp - 0x3a], r13w
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x72]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
je 0x140004e44
lea r9, [rbp + 0xd4]
mov r8d, 0x100
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140004e3b
mov ecx, dword [rbp + 0xd4]
test ecx, ecx
je 0x140004e3b
cmp rcx, 0x100
jae 0x140004e97
mov byte [rbp + rcx + 0x1e0], r13b
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
lea rax, [rbp + 0x1e0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004ac0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp - 0x28]
call fcn.140009e00
nop
lea rax, [0x14005e100]
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x30], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xf0], rdi
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0xec], edx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x100], rax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r9d, 2
mov r8, qword [rbp - 0x18]
lea rcx, [rbp + 0x100]
call fcn.140008b50
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140004bd6
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a898
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140004d71
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm0, xmmword [0x140149300]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x60], 0x203a
mov byte [rsp + 0x62], 0
lea rdx, [rsp + 0x51]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400092b0
movss xmm1, dword [0x1401485f4]
mov rcx, rax
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___float____ptr64]
movdqa xmm0, xmmword [0x140149220]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x203a6e6f
mov byte [rsp + 0x44], 0
lea rdx, [rsp + 0x31]
mov rcx, rax
call fcn.1400092b0
movss xmm1, dword [rbp + 0xd0]
mov rcx, rax
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___float____ptr64]
lea rdx, [0x140009480]
mov rcx, rax
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]
movss xmm0, dword [0x1401485f4]
comiss xmm0, dword [rbp + 0xd0]
jb 0x140004d14
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xf0], rdi
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x100]
call fcn.1400074a0
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rbp + 0x318]
mov qword [rax], r15
mov al, 1
jmp 0x140004e67
mov dword [0x14016e360], r13d
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xf0], rdi
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x100]
call fcn.1400074a0
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140004e4e
mov cl, 0x71
mov word [rsp + 0x50], 0x71
movsx ecx, cl
movzx eax, cx
xor ax, 0x34
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 3
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], ax
xor cx, 0x1e
mov word [rsp + 0x58], cx
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], r13w
lea rdx, [rbp]
call fcn.140004ea0
mov r8, r13
lea rdx, [rax + 2]
nop
movsx ecx, byte [rax]
xor word [rdx + r8*2], cx
inc r8
cmp r8, 0x65
jb 0x140004dc0
mov word [rdx + 0xca], r13w
xor r9d, r9d
lea r8, [rsp + 0x52]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xf0], rdi
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x100]
call fcn.1400074a0
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rbp + 0x318]
mov qword [rax], r15
xor al, al
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14005a5a0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005a6c8
nop
int3