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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c8]
sub rsp, 0x4c8
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov rsi, rcx
mov edx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
xor r15d, r15d
mov eax, dword [rcx + rax]
cmp dword [0x1801a163c], eax
jle 0x180131477
lea rcx, [0x1801a163c]
call fcn.180157af0
or rbx, 0xffffffffffffffff
cmp dword [0x1801a163c], ebx
jne 0x180131477
lea rax, [rsp + 0x78]
mov qword [rbp + 0x420], rax
mov dword [rsp + 0x30], 0x47
mov eax, dword [rsp + 0x30]
xor al, 0x56
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x69
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x72
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
mov cl, 0x74
xor al, cl
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x75
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x61
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x6c
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x50
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x72
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0x6f
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, cl
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x65
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, 0x63
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x30]
add al, 0xd
xor al, cl
mov byte [rsp + 0x41], al
xor eax, eax
mov byte [rsp + 0x42], al
mov al, byte [rsp + 0x34]
mov edx, r15d
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 0xe
jb 0x1801312e2
mov byte [rsp + 0x42], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
lea rax, [rsp + 0x34]
mov r8, rbx
inc r8
cmp byte [rax + r8], r15b
jne 0x180131318
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x78]
call fcn.18000c7ac
nop
mov dword [rsp + 0x44], 4
mov byte [rsp + 0x48], 0x6f
mov byte [rsp + 0x49], 0x61
mov byte [rsp + 0x4a], 0x76
mov byte [rsp + 0x4b], 0x6a
mov byte [rsp + 0x4c], 0x61
mov byte [rsp + 0x4d], 0x68
mov byte [rsp + 0x4e], 0x37
mov byte [rsp + 0x4f], 0x36
xor eax, eax
mov byte [rsp + 0x50], al
mov al, byte [rsp + 0x48]
mov rdx, r15
mov al, byte [rsp + rdx + 0x48]
mov ecx, dword [rsp + 0x44]
xor cl, al
mov byte [rsp + rdx + 0x48], cl
inc rdx
cmp rdx, 8
jb 0x18013136e
mov byte [rsp + 0x50], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x48]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1801313a0
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.18000c7ac
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], r15
mov r9b, 1
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [0x1801a1ba0]
call fcn.1800c4208
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180131428
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180131423
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180131423
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r15b
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xf]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163d98]
call fcn.1801579fc
nop
lea rcx, [0x1801a163c]
call fcn.180157a84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
mov r14, rsi
sub r14, rax
lea rsi, [fcn.180131a58]
add rsi, 0x2000
mov qword [rbp + 0x420], rsi
lea r13, [fcn.1801311a8]
sub r13, rax
mov rbx, r15
lea rax, [rbp - 0x40]
mov ecx, 0x40
mov dword [rax], r15d
mov qword [rax + 8], r15
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1801314b3
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memset]
movsxd r12, dword [rdi + 0x3c]
xor eax, eax
mov r11d, eax
cmp ax, word [r12 + rdi + 6]
jae 0x180131579
lea rdx, [rdi + 0x118]
add rdx, r12
lea r10, [rbp - 0x40]
test byte [rdx + 0x14], 0x20
je 0x180131534
mov r9d, dword [rdx - 4]
lea rax, [fcn.1801311a8]
sub eax, edi
cmp eax, r9d
jbe 0x180131534
mov r8d, dword [rdx]
test r8d, r8d
je 0x180131534
lea rcx, [fcn.1801311a8]
sub rcx, r9
sub rcx, rdi
cmp rcx, r8
jge 0x180131534
lea ebx, [r9 + r8]
add rbx, rdi
jmp 0x180131560
mov r8d, dword [rdx - 4]
cmp r14, r8
jbe 0x180131547
mov eax, dword [rdx]
add eax, r8d
cmp r14, rax
jb 0x180131560
cmp r15, 0x40
jae 0x180131560
mov ecx, dword [rdx]
mov rax, r10
inc r15
add r10, 0x10
mov dword [rax], r8d
mov qword [rax + 8], rcx
inc r11
add rdx, 0x28
movzx eax, word [r12 + rdi + 6]
cmp r11, rax
jb 0x1801314f9
mov rsi, qword [rbp + 0x420]
lea r14, [r13 - 0x2100]
lea r15, [0x1801a0b68]
mov r13d, 0x100
xor r12d, r12d
test r14, r14
je 0x18013160c
mov r15, rdi
dec r14
shr r14, 8
inc r14
lea rsi, [0x1801a0b68]
mov qword [rsp + 0x20], rsi
mov r9d, 0x40
mov r8, r13
mov rdx, r15
lea rcx, [0x1801a1ba0]
call fcn.1800c3b6c
test eax, eax
je 0x1801315f5
mov r8, r13
xor edx, edx
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
mov r8, r13
mov rdx, r15
lea rcx, [0x1801a1ba0]
call fcn.1800c3b6c
add r15, r13
sub r14, 1
jne 0x1801315a9
mov rsi, qword [rbp + 0x420]
lea r15, [0x1801a0b68]
cmp rbx, rsi
jbe 0x180131681
sub rbx, rsi
mov rax, rsi
sub rax, rdi
cmp rax, rbx
jae 0x180131681
sub rbx, rax
dec rbx
shr rbx, 8
inc rbx
mov qword [rsp + 0x20], r15
mov r9d, 0x40
mov r8, r13
mov rdx, rsi
lea rcx, [0x1801a1ba0]
call fcn.1800c3b6c
test eax, eax
je 0x180131678
mov r8, r13
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov qword [rsp + 0x20], r15
mov r9d, 0x20
mov r8, r13
mov rdx, rsi
lea rcx, [0x1801a1ba0]
call fcn.1800c3b6c
add rsi, r13
sub rbx, 1
jne 0x18013162c
mov esi, r12d
lea rbx, [rbp - 0x40]
mov r8, qword [rbx + 8]
test r8, r8
je 0x1801316d0
inc esi
cmp esi, 3
je 0x1801316d0
mov edx, dword [rbx]
add rdx, rdi
lea rax, [rbp + 0x418]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea rcx, [0x1801a1ba0]
call fcn.1800c3b6c
test eax, eax
je 0x1801316d0
mov ecx, dword [rbx]
add rcx, rdi
mov r8, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.VCRUNTIME140.dll_memset]
add rbx, 0x10
lea rax, [rbp + 0x3c0]
cmp rbx, rax
jne 0x180131688
call qword [rbp + 0x410]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]