Function at 0x1400a2660
Capabilities:
Encode data using xor
Execute command
Read .ini file
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1406f6480]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rbx
mov r8, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400a26a6
mov r8, qword [rcx]
mov dword [rsp + 0x30], 0xe0e7ffe7
mov word [rsp + 0x34], 0x100
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x57]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x1400a26c0
mov byte [rsp + 0x35], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400a26e2
mov rdx, qword [rbx]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400a26ef
mov rcx, qword [rdi]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 0x64
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rsp + 0x38], 0xe0e7ffe7
mov word [rsp + 0x3c], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x57]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x1400a2720
mov byte [rsp + 0x3d], 0
lea rax, [rbp - 0x50]
lea r8, [rsp + 0x38]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400a2754
inc rax
test ecx, ecx
jne 0x1400a2741
test edx, edx
je 0x1400a28ca
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400a2782
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140078470
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400b2370
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a27ea
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a27e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a27e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015590c
mov rax, qword [rbp - 0x60]
mov r10, qword [rbp - 0x68]
sub rax, r10
sar rax, 2
movsxd rdx, dword [rbp + 0x80]
cmp rax, rdx
jne 0x1400a29cb
xor r11d, r11d
cmp rdx, 4
jl 0x1400a285f
lea rcx, [r14 + 4]
mov r8, r10
sub r8, r14
lea r9, [rdx - 4]
shr r9, 2
inc r9
lea r11, [r9*4]
nop
mov eax, dword [r8 + rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8 + rcx]
mov dword [rcx], eax
mov eax, dword [r8 + rcx + 4]
mov dword [rcx + 4], eax
mov eax, dword [r8 + rcx + 8]
mov dword [rcx + 8], eax
lea rcx, [rcx + 0x10]
sub r9, 1
jne 0x1400a2830
cmp r11, rdx
jl 0x1400a2864
jmp 0x1400a2881
test rdx, rdx
jle 0x1400a2881
lea rcx, [r14 + r11*4]
mov r8, r10
sub r8, r14
sub rdx, r11
mov eax, dword [r8 + rcx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400a2871
test r10, r10
je 0x1400a28ca
mov rax, qword [rbp - 0x58]
sub rax, r10
sar rax, 2
lea rdx, [rax*4]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400a28c1
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a28c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.14015590c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400a2904
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a28ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a2a9f
mov rcx, r8
call fcn.14015590c
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400a2951
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a294c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a2aa6
mov rcx, r8
call fcn.14015590c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400a299e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400a2999
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a2aad
mov rcx, r8
call fcn.14015590c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140155770
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0xd8c6ca
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x30]
call fcn.1400b3690
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x30], 0x100f189
lea rcx, [rsp + 0x30]
call fcn.1400b3660
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f100
mov rbx, rax
mov dword [rsp + 0x40], 0x8cf9f8ec
mov dword [rsp + 0x44], 0x859e8e80
mov word [rsp + 0x48], 0x100
lea rcx, [rsp + 0x40]
call fcn.1400b3780
mov rdx, rax
mov rcx, rbx
call fcn.14003f100
mov rbx, rax
movdqa xmm0, xmmword [0x1401655e0]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401655a0]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0xa2a4baa4
mov dword [rsp + 0x74], 0xa3bba0a8
mov word [rsp + 0x78], 0xff
mov byte [rsp + 0x7a], 1
lea rcx, [rsp + 0x50]
call fcn.1400b38a0
mov rdx, rax
mov rcx, rbx
call fcn.14003f100
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3