Function at 0x1400a2350
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 [0x1406f54c0]
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 0x1400a2396
mov r8, qword [rcx]
mov dword [rsp + 0x30], 0xb0a100a
mov word [rsp + 0x34], 0x100
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x44]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x1400a23b0
mov byte [rsp + 0x35], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400a23d2
mov rdx, qword [rbx]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400a23df
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], 0xb0a100a
mov word [rsp + 0x3c], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x44]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x1400a2410
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 0x1400a2444
inc rax
test ecx, ecx
jne 0x1400a2431
test edx, edx
je 0x1400a25ba
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 0x1400a2472
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140078470
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400b1a20
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a24da
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a24d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a24d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140154c3c
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 0x1400a26bb
xor r11d, r11d
cmp rdx, 4
jl 0x1400a254f
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 0x1400a2520
cmp r11, rdx
jl 0x1400a2554
jmp 0x1400a2571
test rdx, rdx
jle 0x1400a2571
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 0x1400a2561
test r10, r10
je 0x1400a25ba
mov rax, qword [rbp - 0x58]
sub rax, r10
sar rax, 2
lea rdx, [rax*4]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400a25b1
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a25b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.140154c3c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400a25f4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a25ef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a278f
mov rcx, r8
call fcn.140154c3c
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 0x1400a2641
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a263c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a2796
mov rcx, r8
call fcn.140154c3c
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 0x1400a268e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400a2689
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a279d
mov rcx, r8
call fcn.140154c3c
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.140154aa0
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0x352927
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x30]
call fcn.1400b2d40
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x30], 0x1001e64
lea rcx, [rsp + 0x30]
call fcn.1400b2d10
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], 0x67141701
mov dword [rsp + 0x44], 0x7e7b6965
mov word [rsp + 0x48], 0x100
lea rcx, [rsp + 0x40]
call fcn.1400b2e30
mov rdx, rax
mov rcx, rbx
call fcn.14003f100
mov rbx, rax
movdqa xmm0, xmmword [0x140164540]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [str.973_x6__220]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0x9091509
mov dword [rsp + 0x74], 0x181e070d
mov word [rsp + 0x78], 0x42
mov byte [rsp + 0x7a], 1
lea rcx, [rsp + 0x50]
call fcn.1400b2f50
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