Function at 0x140015980
Capabilities:
Encode data using xor
Terminate process

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 - 0x220]
sub rsp, 0x320
mov rax, qword [0x140238b80]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x48], r13d
cmp byte [0x140239b78], r13b
jne 0x1400159d5
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x70], 0xb1a9b2fa
mov dword [rsp + 0x74], 0x878b9385
mov word [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_217
mov byte [rsp + 0x7a], 1
mov dword [rsp + 0x48], 0xb2bfb3fa
mov dword [rsp + 0x4c], 0x100dc85
mov dword [rsp + 0x60], 0xacbbaefa
mov dword [rsp + 0x64], 0x8d8d8893
mov dword [rsp + 0x68], 0xdb818d
mov byte [rsp + 0x6c], 1
mov dword [rsp + 0x50], 0xbaaea4a8
mov dword [rsp + 0x54], 0x868a82dd
mov dword [rsp + 0x58], 0x1008e87
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xb
jb 0x140015a40
mov byte [rsp + 0x6c], r13b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x6b]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14000ab50
nop
cmp byte [rsp + 0x5b], 0
je 0x140015a95
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x140015a80
mov byte [rsp + 0x5b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14000ab50
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x60]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140011fd0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140015b04
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015afe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015afe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140015b43
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015b3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015b3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140015b59
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
call fcn.14000a790
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14000b2e0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140015ba2
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14000a790
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.14000b4a0
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140015bf3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000a790
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140015c5d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015c58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
movdqa xmm0, xmmword [0x14007ac30]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140015cad
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015ca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015ca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140015ceb
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015ce6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015ce6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
movdqa xmm0, xmmword [0x14007ac30]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x140015d3b
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015d35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140015d79
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015d74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
movdqa xmm0, xmmword [0x14007ac30]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x40], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400035f0
mov rbx, rax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x60]
call fcn.1400035f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.140022b40
nop
mov qword [rbp + 0x80], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x88]
call fcn.14000f700
nop
mov dword [rsp + 0x38], 0xacadb8b1
mov dword [rsp + 0x3c], 0x878681
mov byte [rsp + 0x40], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140015e10
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.14000ab50
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x88]
test cl, cl
jne 0x140015e6a
mov byte [rbp + 0x88], 1
call fcn.14000dd70
mov qword [rbp + 0x90], rax
movzx ecx, byte [rbp + 0x88]
jmp 0x140015e71
mov rax, qword [rbp + 0x90]
cmp cl, 1
jne 0x140015e85
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140013eb0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
movdqa xmm1, xmmword [0x14007ac30]
movdqu xmmword [rbp + 0xc8], xmm1
mov byte [rbp + 0xb8], 0
mov dword [rsp + 0x48], 0x1fb6
cmp byte [rbx], 3
jne 0x140015ec5
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xb8]
cmp rax, rdx
je 0x140015ee3
jmp 0x140015ec8
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140015ed6
mov rdx, qword [rdx]
lea rcx, [rbp + 0xb8]
call fcn.1400088f0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140015f21
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015f1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015f1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
movdqa xmm0, xmmword [0x14007ac30]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14007b5f8]
mov qword [rbp + 0x110], rax
lea rax, [0x14007b600]
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x48], 0x1fee
xor r8d, r8d
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x110], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x190], r13
mov dword [rbp + 0x198], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140075060
mov rsi, rax
mov qword [rbp + 0xd8], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0xe8], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xe0], r14
lea r8, [rbp + 0x98]
cmp qword [rbp + 0xb0], 0xf
cmova r8, qword [rbp + 0x98]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0xf
jbe 0x14001604e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xa8]
mov rdx, qword [r12 + 0x268]
call fcn.14002a1f0
mov r15, rsi
cmp rsi, r14
je 0x1400160ea
nop dword [rax + rax]
movzx edi, byte [r15]
lea rdx, [0x14001cda0]
lea rcx, [rbp + 0x120]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rsp + 0x60]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
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___int____ptr64]
inc r15
cmp r15, r14
jne 0x140016080
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.140011d60
mov rdx, rax
mov rcx, r12
call fcn.140020dd0
nop
test rsi, rsi
je 0x140016140
sub r14, rsi
cmp r14, 0x1000
jb 0x140016134
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400161d1
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14007509c
nop
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.140012f50
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x1400161dd
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400161d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400161d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14007509c
movdqa xmm0, xmmword [0x14007ac30]
movdqu xmmword [rbp + 0xc8], xmm0
mov byte [rbp + 0xb8], 0
movzx edx, byte [rbp + 0x88]
lea rcx, [rbp + 0x90]
call fcn.140018ad0
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x14001624c
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016247
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x1400162a9
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400162a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400162a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007509c
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140075040
lea r11, [rsp + 0x320]
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