Function at 0x1400012b0
Capabilities:
Contain obfuscated stackstrings
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14014b040]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor r15d, r15d
mov dword [rsp + 0x58], 0x41794d4c
mov rbx, rcx
mov dword [rsp + 0x5c], 0x746e6567
xor r9d, r9d
mov byte [rsp + 0x60], 0
xor r8d, r8d
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 1]
lea rcx, [rsp + 0x59]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x1400014d3
mov cl, 0x3f
mov word [rsp + 0x58], 0x3f
movsx ecx, cl
movzx eax, cx
mov word [rsp + 0x64], r15w
xor ax, 0x7a
mov word [rsp + 0x68], 0x73
mov word [rsp + 0x5a], ax
movzx eax, cx
xor ax, 0x4d
mov word [rbp - 0x5c], r15w
mov word [rsp + 0x5c], ax
xor cx, 0x50
mov word [rsp + 0x5e], ax
mov word [rsp + 0x62], ax
mov word [rsp + 0x60], cx
mov cl, 0x73
movsx edi, cl
movzx r9d, di
movzx eax, di
xor ax, 0x35
xor r9w, 7
mov word [rsp + 0x6a], ax
movzx r8d, di
xor r8w, 0x1f
mov word [rsp + 0x78], r9w
movzx eax, di
mov word [rsp + 0x70], r8w
xor ax, 0x17
mov word [rbp - 0x7c], r9w
mov word [rsp + 0x74], ax
movzx edx, di
xor dx, 0x53
mov word [rbp - 0x76], r8w
movzx eax, di
mov word [rsp + 0x76], dx
xor ax, 0x1c
mov word [rsp + 0x7c], dx
mov word [rsp + 0x7a], ax
lea r8, [rsp + 0x5a]
movzx eax, di
mov word [rbp - 0x6e], dx
xor ax, 9
mov word [rbp - 0x60], r9w
mov word [rbp - 0x72], ax
lea rdx, [rsp + 0x6a]
movzx eax, di
movzx ecx, di
xor ax, 0x24
xor cx, 0x1d
mov word [rbp - 0x6c], ax
movzx r10d, di
movzx eax, di
mov word [rbp - 0x80], cx
xor ax, 0x3a
mov word [rbp - 0x68], cx
mov word [rbp - 0x66], ax
movzx r11d, di
xor r11w, 0x16
movzx eax, di
xor r10w, 0x12
mov word [rsp + 0x72], r11w
movzx ebx, di
mov word [rsp + 0x6c], r10w
xor bx, 0x1a
mov word [rbp - 0x78], r10w
xor ax, 0x3d
mov word [rsp + 0x6e], bx
xor di, 0x52
mov word [rbp - 0x64], ax
xor r9d, r9d
mov word [rsp + 0x7e], bx
xor ecx, ecx
mov word [rbp - 0x7e], bx
mov word [rbp - 0x7a], bx
mov word [rbp - 0x74], bx
mov word [rbp - 0x70], r11w
mov word [rbp - 0x6a], bx
mov word [rbp - 0x62], r11w
mov word [rbp - 0x5e], di
call qword [sym.imp.USER32.dll_MessageBoxW]
movdqa xmm0, xmmword [0x140140810]
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x7a696c61
mov dword [rsp + 0x44], 0x69572065
mov dword [rsp + 0x48], 0x654e496e
mov word [rsp + 0x4c], 0x2174
mov byte [rsp + 0x4e], r15b
call fcn.1400035d0
lea rdx, [0x1400037a0]
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]
xor al, al
jmp 0x1400018ec
cmp qword [rbx + 0x18], 0xf
jbe 0x1400014dd
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x140001685
mov cl, 0x4d
mov word [rsp + 0x30], 0x4d
movsx ecx, cl
xor r9d, r9d
movzx eax, cx
mov word [rsp + 0x3c], r15w
xor ax, 8
mov word [rsp + 0x68], 1
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x3f
mov word [rbp - 0x70], r15w
mov word [rsp + 0x34], ax
xor cx, 0x22
mov word [rsp + 0x36], ax
mov word [rsp + 0x3a], ax
mov word [rsp + 0x38], cx
mov cl, 1
movsx r8d, cl
movzx eax, r8w
movzx edx, r8w
xor ax, 0x47
movzx ecx, r8w
mov word [rsp + 0x6a], ax
xor cx, 0x21
movzx eax, r8w
mov word [rsp + 0x76], cx
xor ax, 0x60
mov word [rsp + 0x7c], cx
mov word [rsp + 0x6c], ax
xor dx, 0x64
movzx eax, r8w
mov word [rsp + 0x72], dx
xor ax, 0x68
mov word [rbp - 0x7e], dx
mov word [rsp + 0x6e], ax
lea rdx, [rsp + 0x6a]
movzx eax, r8w
mov word [rbp - 0x7a], cx
xor ax, 0x6d
xor ecx, ecx
mov word [rsp + 0x70], ax
movzx eax, r8w
xor ax, 0x65
mov word [rsp + 0x74], ax
movzx eax, r8w
xor ax, 0x75
mov word [rsp + 0x78], ax
movzx eax, r8w
xor ax, 0x6e
mov word [rsp + 0x7a], ax
mov word [rsp + 0x7e], ax
movzx eax, r8w
xor ax, 0x71
mov word [rbp - 0x80], ax
movzx eax, r8w
xor ax, 0x6f
mov word [rbp - 0x7c], ax
movzx eax, r8w
xor ax, 0x54
mov word [rbp - 0x78], ax
movzx eax, r8w
xor ax, 0x53
mov word [rbp - 0x76], ax
movzx eax, r8w
xor r8w, 0x20
xor ax, 0x4d
mov word [rbp - 0x72], r8w
lea r8, [rsp + 0x32]
mov word [rbp - 0x74], ax
call qword [sym.imp.USER32.dll_MessageBoxW]
movdqa xmm0, xmmword [0x140140490]
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x214c5255
mov byte [rsp + 0x44], r15b
call fcn.1400035d0
lea rdx, [0x1400037a0]
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]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1400018ec
cmp qword [0x1401637d0], 0xf
lea rdx, [rbp - 0x57]
mov qword [rsp + 0x4e8], r14
lea r14, [0x1401637b8]
mov rcx, r14
mov dword [rbp - 0x58], 0x627728
cmova rcx, qword [0x1401637b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x14000186e
movdqa xmm0, xmmword [0x1401409c0]
lea rdx, [rsp + 0x31]
movdqa xmm1, xmmword [0x140140460]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x50], r15b
movdqu xmmword [rsp + 0x40], xmm1
call fcn.1400035d0
cmp qword [0x1401637d0], 0xf
mov rcx, rax
mov r8, qword [0x1401637c8]
cmova r14, qword [0x1401637b8]
mov rdx, r14
call fcn.140003d00
lea rdx, [0x1400037a0]
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]
mov cl, 8
mov word [rsp + 0x30], 8
movsx ecx, cl
movzx eax, cx
mov word [rsp + 0x3c], r15w
xor ax, 0x4d
mov word [rsp + 0x68], 0x55
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x7a
xor cx, 0x67
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
mov word [rsp + 0x3a], ax
mov word [rsp + 0x38], cx
mov cl, 0x55
movsx ebx, cl
movzx eax, bx
movzx r9d, bx
xor ax, 0x13
xor r9w, 0x34
mov word [rsp + 0x6a], ax
movzx r11d, bx
xor r11w, 0x3c
mov word [rsp + 0x6c], r9w
movzx eax, bx
mov word [rsp + 0x6e], r11w
xor ax, 0x31
mov word [rbp - 0x7c], r9w
mov word [rsp + 0x74], ax
movzx r10d, bx
xor r10w, 0x39
mov word [rbp - 0x72], r11w
movzx eax, bx
mov word [rsp + 0x70], r10w
xor ax, 0x3a
mov word [rbp - 0x70], r10w
mov word [rsp + 0x7a], ax
movzx r8d, bx
xor r8w, 0x30
movzx eax, bx
xor ax, 0x36
mov word [rsp + 0x72], r8w
mov word [rsp + 0x7e], ax
movzx edx, bx
xor dx, 0x75
mov word [rbp - 0x7e], r8w
movzx eax, bx
mov word [rsp + 0x76], dx
xor ax, 0x27
mov word [rsp + 0x7c], dx
mov word [rbp - 0x80], ax
movzx ecx, bx
xor cx, 0x21
mov word [rbp - 0x78], r8w
movzx eax, bx
mov word [rsp + 0x78], cx
xor ax, 0x33
mov word [rbp - 0x7a], cx
xor bx, 0x74
mov word [rbp - 0x76], dx
mov word [rbp - 0x6c], bx
mov word [rbp - 0x74], ax
mov word [rbp - 0x6e], r8w
xor r9d, r9d
mov word [rbp - 0x6a], r15w
lea r8, [rsp + 0x32]
xor ecx, ecx
lea rdx, [rsp + 0x6a]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1400018e4
lea r9, [rbp - 0x54]
mov dword [rbp - 0x54], r15d
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400018c7
nop dword [rax]
mov eax, dword [rbp - 0x54]
test eax, eax
je 0x1400018c7
mov r8d, eax
lea rcx, [rbp - 0x50]
mov r9, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea r9, [rbp - 0x54]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001890
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov r14, qword [rsp + 0x4e8]
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140052720
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret