Function at 0x14005f5a0
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 [0x14029f200]
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 0x14005f5e6
mov r8, qword [rcx]
mov dword [rsp + 0x30], 0x71f07
mov word [rsp + 0x34], 0x100
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x14005f600
mov byte [rsp + 0x35], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005f622
mov rdx, qword [rbx]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005f62f
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], 0x71f07
mov word [rsp + 0x3c], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x14005f660
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 0x14005f694
inc rax
test ecx, ecx
jne 0x14005f681
test edx, edx
je 0x14005f80a
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 0x14005f6c2
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14004a790
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140068c50
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14005f72a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f725
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140074d64
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 0x14005f90b
xor r11d, r11d
cmp rdx, 4
jl 0x14005f79f
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 0x14005f770
cmp r11, rdx
jl 0x14005f7a4
jmp 0x14005f7c1
test rdx, rdx
jle 0x14005f7c1
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 0x14005f7b1
test r10, r10
je 0x14005f80a
mov rax, qword [rbp - 0x58]
sub rax, r10
sar rax, 2
lea rdx, [rax*4]
mov rax, r10
cmp rdx, 0x1000
jb 0x14005f801
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f801
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.140074d64
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14005f844
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14005f83f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f9df
mov rcx, r8
call fcn.140074d64
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14005f891
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14005f88c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f9e6
mov rcx, r8
call fcn.140074d64
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005f8de
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005f8d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f9ed
mov rcx, r8
call fcn.140074d64
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140074e80
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0x38262a
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x30]
call fcn.140069ae0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x30], 0x1001169
lea rcx, [rsp + 0x30]
call fcn.140069ab0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004a4e0
mov rbx, rax
mov dword [rsp + 0x40], 0x6c19180c
mov dword [rsp + 0x44], 0x657e6e60
mov word [rsp + 0x48], 0x100
lea rcx, [rsp + 0x40]
call fcn.140069bd0
mov rdx, rax
mov rcx, rbx
call fcn.14004a4e0
mov rbx, rax
movdqa xmm0, xmmword [0x140080f30]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [str.48_.19_]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0x2041a04
mov dword [rsp + 0x74], 0x31b0008
mov word [rsp + 0x78], 0x5f
mov byte [rsp + 0x7a], 1
lea rcx, [rsp + 0x50]
call fcn.140069c60
mov rdx, rax
mov rcx, rbx
call fcn.14004a4e0
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