Function at 0x1400a82c0
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 [0x140479900]
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 0x1400a8306
mov r8, qword [rcx]
mov dword [rsp + 0x30], 0x3e3d2521
mov word [rsp + 0x34], 0x100
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x6f]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x1400a8320
mov byte [rsp + 0x35], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400a8342
mov rdx, qword [rbx]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400a834f
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], 0x3e3d2521
mov word [rsp + 0x3c], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x6f]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x1400a8380
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 0x1400a83b4
inc rax
test ecx, ecx
jne 0x1400a83a1
test edx, edx
je 0x1400a852a
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 0x1400a83e2
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14003c860
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400b88f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400a844a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a8445
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a8445
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012c44c
mov rax, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
sub rax, r9
sar rax, 2
movsxd rdx, dword [rbp + 0x80]
cmp rax, rdx
jne 0x1400a862b
xor r11d, r11d
cmp rdx, 4
jl 0x1400a84bf
lea rcx, [r14 + 4]
mov r8, r9
sub r8, r14
lea r10, [rdx - 4]
shr r10, 2
inc r10
lea r11, [r10*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 r10, 1
jne 0x1400a8490
cmp r11, rdx
jl 0x1400a84c4
jmp 0x1400a84e1
test rdx, rdx
jle 0x1400a84e1
lea rcx, [r14 + r11*4]
mov r8, r9
sub r8, r14
sub rdx, r11
mov eax, dword [rcx + r8]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400a84d1
test r9, r9
je 0x1400a852a
mov rax, qword [rbp - 0x58]
sub rax, r9
sar rax, 2
lea rdx, [rax*4]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400a8521
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a8521
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.14012c44c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400a8564
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a855f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a86ff
mov rcx, r8
call fcn.14012c44c
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 0x1400a85b1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a85ac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a8706
mov rcx, r8
call fcn.14012c44c
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 0x1400a85fe
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400a85f9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a870d
mov rcx, r8
call fcn.14012c44c
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.14012c2b0
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0x21c0c
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x30]
call fcn.1400bdbe0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x30], 0x1002b4f
lea rcx, [rsp + 0x30]
call fcn.1400bdbb0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14008fe60
mov rbx, rax
mov dword [rsp + 0x40], 0x5223222a
mov dword [rsp + 0x44], 0x4344545e
mov word [rsp + 0x48], 0x100
lea rcx, [rsp + 0x40]
call fcn.1400bdcd0
mov rdx, rax
mov rcx, rbx
call fcn.14008fe60
mov rbx, rax
movdqa xmm0, xmmword [0x14013c6e0]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14013c820]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0xfcfee0e2
mov dword [rsp + 0x74], 0xe5e1faf6
mov word [rsp + 0x78], 0xb9
mov byte [rsp + 0x7a], 1
lea rcx, [rsp + 0x50]
call fcn.1400bddf0
mov rdx, rax
mov rcx, rbx
call fcn.14008fe60
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