Function at 0x18012e724
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1e0
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
xor esi, esi
mov eax, esi
mov qword [rbp + 0x140], rax
mov rcx, qword [rcx]
mov qword [rbp - 0x80], rcx
lea r14d, [rsi + 2]
cmp edx, 1
jne 0x18012eb5c
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea ebx, [rsi + 0xa]
mov esi, 0x1000
lea r12d, [r14 + 2]
lea r15d, [r14 + 4]
lea r13d, [r14 + 5]
lea edi, [rbx + 0x15]
mov eax, dword [rdx + rax]
cmp dword [0x1801a22f0], eax
jle 0x18012ea99
lea rcx, [0x1801a22f0]
call fcn.180157af0
or rbx, 0xffffffffffffffff
cmp dword [0x1801a22f0], ebx
jne 0x18012ea94
lea rax, [rbp + 0x30]
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x54], 0x65
mov eax, dword [rsp + 0x54]
xor al, 0x4e
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x54]
inc al
mov dl, 0x74
xor al, dl
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x54]
add al, r14b
xor al, 0x41
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x54]
add al, 3
mov cl, 0x6c
xor al, cl
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x54]
add al, r12b
xor al, cl
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x54]
add al, 5
lea r12d, [r14 + 0x6d]
xor al, r12b
mov byte [rsp + 0x5d], al
mov eax, dword [rsp + 0x54]
add al, r15b
xor al, 0x63
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x54]
add al, r13b
xor al, 0x61
mov byte [rsp + 0x5f], al
mov eax, dword [rsp + 0x54]
add al, 8
xor al, dl
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x54]
add al, 9
xor al, 0x65
mov byte [rsp + 0x61], al
mov eax, dword [rsp + 0x54]
add al, 0xa
xor al, 0x56
mov byte [rsp + 0x62], al
mov eax, dword [rsp + 0x54]
add al, 0xb
xor al, 0x69
mov byte [rsp + 0x63], al
mov eax, dword [rsp + 0x54]
add al, 0xc
xor al, 0x72
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x54]
add al, 0xd
xor al, dl
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x54]
add al, 0xe
xor al, 0x75
mov byte [rsp + 0x66], al
mov eax, dword [rsp + 0x54]
add al, 0xf
xor al, 0x61
mov byte [rsp + 0x67], al
mov eax, dword [rsp + 0x54]
add al, 0x10
xor al, cl
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x54]
add al, 0x11
xor al, 0x4d
mov byte [rsp + 0x69], al
mov eax, dword [rsp + 0x54]
add al, 0x12
xor al, 0x65
mov byte [rsp + 0x6a], al
mov eax, dword [rsp + 0x54]
add al, 0x13
xor al, 0x6d
mov byte [rsp + 0x6b], al
mov eax, dword [rsp + 0x54]
add al, 0x14
xor al, r12b
mov byte [rsp + 0x6c], al
mov eax, dword [rsp + 0x54]
add al, 0x15
xor al, 0x72
mov byte [rsp + 0x6d], al
mov eax, dword [rsp + 0x54]
add al, 0x16
xor al, 0x79
mov byte [rsp + 0x6e], al
xor eax, eax
mov byte [rsp + 0x6f], al
mov al, byte [rsp + 0x58]
xor r12d, r12d
mov edx, r12d
mov al, byte [rsp + rdx + 0x58]
mov ecx, dword [rsp + 0x54]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x58], cl
inc rdx
cmp rdx, 0x17
jb 0x18012e90d
mov byte [rsp + 0x6f], r12b
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
lea rax, [rsp + 0x58]
mov r8, rbx
inc r8
cmp byte [rax + r8], r12b
jne 0x18012e942
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.18000c7ac
nop
mov byte [rbp + 0x120], 0x74
mov byte [rbp + 0x121], 0x7a
mov byte [rbp + 0x122], 0x6a
mov byte [rbp + 0x123], 0x72
mov byte [rbp + 0x124], 0x72
mov byte [rbp + 0x125], r12b
mov al, byte [rbp + 0x120]
mov rcx, r12
mov al, byte [rbp + rcx + 0x120]
sub al, r15b
mov byte [rbp + rcx + 0x120], al
inc rcx
cmp rcx, 5
jb 0x18012e98d
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rbp + 0x120]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x18012e9bd
mov r8, rbx
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x10]
call fcn.18000c7ac
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xa0]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], r12
mov r9b, 1
lea r8, [rbp + 0x30]
mov rdx, rax
lea rcx, [0x1801a1a00]
call fcn.1800f46e8
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x18012ea40
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, rsi
jb 0x18012ea3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, rdi
jbe 0x18012ea3b
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 [rbp], xmm0
mov byte [rbp - 0x10], r12b
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x120]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163d2c]
call fcn.1801579fc
nop
lea rcx, [0x1801a22f0]
call fcn.180157a84
mov r12d, 4
mov ebx, 0xa
lea rcx, [0x1801a1a10]
cmp qword [0x1801a1a28], 0x10
cmovae rcx, qword [0x1801a1a10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18012eaee
lea rcx, [0x1801a1a10]
cmp qword [0x1801a1a28], 0x10
cmovae rcx, qword [0x1801a1a10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1801a1a08], rax
mov r8, rax
lea rdx, [0x1801a1a10]
call fcn.1800150f8
mov eax, dword [rbp + 0x138]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0x130]
xor r8d, r8d
lea rdx, [rbp + 0x140]
mov rcx, qword [rbp - 0x80]
call qword [0x1801a1a00]
test eax, eax
je 0x18012eb3a
cmp byte [0x180190184], 0
jne 0x18012ef9a
cmp byte [0x18019018a], 0
jne 0x18012ef9a
jmp 0x18012eef1
mov rax, qword [rbp + 0x140]
mov rbx, qword [rsp + 0x228]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edx, r14d
jne 0x18012eb41
mov dword [rbp - 0x7c], eax
shr r8d, 0xc
inc r8d
shl r8d, 0xc
mov dword [rbp - 0x80], r8d
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov edi, 0x64
lea r12d, [rdi + 0xb]
mov eax, dword [rdx + rax]
cmp dword [0x1801a15a0], eax
jle 0x18012ee4d
lea rcx, [0x1801a15a0]
call fcn.180157af0
or rbx, 0xffffffffffffffff
cmp dword [0x1801a15a0], ebx
jne 0x18012ee4d
lea rax, [rbp + 0x50]
mov qword [rbp - 0x18], rax
mov dword [rsp + 0x40], 0x5c
mov eax, dword [rsp + 0x40]
xor al, 0x5a
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x40]
inc al
xor al, 0x77
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x40]
add al, r14b
xor al, 0x43
mov byte [rsp + 0x46], al
mov eax, dword [rsp + 0x40]
add al, 3
xor al, 0x72
mov byte [rsp + 0x47], al
mov eax, dword [rsp + 0x40]
add al, 4
xor al, 0x65
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x40]
add al, 5
xor al, 0x61
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x40]
lea r15d, [rdi - 0x5e]
add al, r15b
mov dil, 0x74
xor al, dil
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x40]
add al, 7
xor al, 0x65
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x40]
add al, 8
xor al, 0x53
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x40]
add al, 9
xor al, 0x65
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x40]
add al, 0xa
xor al, 0x63
mov byte [rsp + 0x4e], al
mov eax, dword [rsp + 0x40]
add al, 0xb
xor al, dil
mov byte [rsp + 0x4f], al
mov eax, dword [rsp + 0x40]
add al, 0xc
xor al, 0x69
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x40]
add al, 0xd
xor al, r12b
mov byte [rsp + 0x51], al
mov eax, dword [rsp + 0x40]
add al, 0xe
xor al, 0x6e
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
mov al, byte [rsp + 0x44]
mov rdx, rsi
mov al, byte [rsp + rdx + 0x44]
mov ecx, dword [rsp + 0x40]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x44], cl
inc rdx
cmp rdx, 0xf
jb 0x18012ec9a
mov byte [rsp + 0x53], sil
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rsi
lea rax, [rsp + 0x44]
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x18012eccf
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x50]
call fcn.18000c7ac
nop
mov dword [rsp + 0x70], 0x54
mov eax, dword [rsp + 0x70]
xor al, 0x6e
mov byte [rsp + 0x74], al
mov eax, dword [rsp + 0x70]
inc al
xor al, dil
mov byte [rsp + 0x75], al
mov eax, dword [rsp + 0x70]
add al, r14b
mov edi, 0x64
xor al, dil
mov byte [rsp + 0x76], al
mov eax, dword [rsp + 0x70]
add al, 3
mov cl, 0x6c
xor al, cl
mov byte [rsp + 0x77], al
mov eax, dword [rsp + 0x70]
add al, 4
xor al, cl
mov byte [rsp + 0x78], al
xor eax, eax
mov byte [rsp + 0x79], al
mov al, byte [rsp + 0x74]
mov rdx, rsi
mov al, byte [rsp + rdx + 0x74]
mov ecx, dword [rsp + 0x70]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x74], cl
inc rdx
cmp rdx, 5
jb 0x18012ed40
mov byte [rsp + 0x79], sil
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rsp + 0x74]
inc rbx
cmp byte [rax + rbx], sil
jne 0x18012ed72
mov r8, rbx
lea rdx, [rsp + 0x74]
lea rcx, [rbp + 0x10]
call fcn.18000c7ac
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xc0]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rsi
mov r9b, 1
lea r8, [rbp + 0x50]
mov rdx, rax
lea rcx, [0x1801a2380]
call fcn.1800f2c08
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x18012ee01
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
mov esi, 0x1000
cmp rdx, rsi
jb 0x18012edfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
mov edi, 0x1f
cmp rax, rdi
ja 0x18012eef8
mov edi, 0x64
call fcn.180157a14
xor esi, esi
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], sil
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x74]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163d20]
call fcn.1801579fc
nop
lea rcx, [0x1801a15a0]
call fcn.180157a84
lea rbx, [0x1801a2390]
mov rcx, rbx
cmp qword [0x1801a23a8], 0x10
cmovae rcx, qword [0x1801a2390]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18012ee9d
mov rcx, rbx
cmp qword [0x1801a23a8], 0x10
cmovae rcx, qword [0x1801a2390]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1801a2388], rax
mov r8, rax
mov rdx, rbx
call fcn.1800150f8
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0xf001f
lea rcx, [rbp + 0x140]
call qword [0x1801a2380]
test eax, eax
jne 0x18012eedf
mov rax, qword [rbp + 0x140]
test rax, rax
jne 0x18012eb41
cmp byte [0x180190184], sil
jne 0x18012eeff
cmp byte [0x18019018a], sil
jne 0x18012eeff
xor eax, eax
jmp 0x18012eb41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov word [rbp - 0x78], di
mov eax, 0x81
mov word [rbp - 0x76], ax
lea ecx, [rax - 0x34]
mov word [rbp - 0x74], cx
lea eax, [rcx + 0x2f]
mov word [rbp - 0x72], ax
mov word [rbp - 0x70], r12w
lea eax, [rcx + 0x1e]
mov word [rbp - 0x6e], ax
lea edx, [rcx + 0x31]
mov word [rbp - 0x6c], dx
mov word [rbp - 0x6a], r12w
lea eax, [rcx + 0x10]
mov word [rbp - 0x68], ax
mov word [rbp - 0x66], r12w
lea ecx, [rdx - 0x11]
mov word [rbp - 0x64], cx
mov word [rbp - 0x62], dx
lea eax, [rdx - 0xb]
mov word [rbp - 0x60], ax
lea ecx, [rdx - 5]
mov word [rbp - 0x5e], cx
lea eax, [rdx - 6]
mov word [rbp - 0x5c], ax
mov word [rbp - 0x5a], si
movzx eax, word [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.180145a1c
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.18000bdf0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rbp - 0x58]
call fcn.18012e674
lea rdx, [0x18018c308]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov eax, 0x6b
mov dword [rbp - 0x58], eax
mov eax, 0x25
mov word [rbp - 0x54], ax
mov word [rbp - 0x52], di
mov eax, 0x2a
mov word [rbp - 0x50], ax
mov word [rbp - 0x4e], r13w
mov word [rbp - 0x4c], r13w
mov word [rbp - 0x4a], r12w
mov eax, 8
mov word [rbp - 0x48], ax
mov word [rbp - 0x46], bx
mov word [rbp - 0x44], di
mov eax, 0xe
mov word [rbp - 0x42], ax
lea ecx, [rax + 0x2f]
mov word [rbp - 0x40], cx
mov word [rbp - 0x3e], r14w
lea edx, [rax + 0xb]
mov word [rbp - 0x3c], dx
mov word [rbp - 0x3a], di
lea ecx, [rax + 0x10]
mov word [rbp - 0x38], cx
mov word [rbp - 0x36], bx
mov word [rbp - 0x34], r13w
lea ecx, [rax + 0x18]
mov word [rbp - 0x32], cx
mov word [rbp - 0x30], ax
mov word [rbp - 0x2e], r15w
mov word [rbp - 0x2c], r12w
mov word [rbp - 0x2a], dx
lea eax, [rdx - 7]
mov word [rbp - 0x28], ax
xor eax, eax
mov word [rbp - 0x26], ax
movzx eax, word [rbp - 0x54]
lea rcx, [rbp - 0x58]
call fcn.18005d258
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.18000bdf0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x78]
call fcn.18012e674
lea rdx, [0x18018c308]
lea rcx, [rbp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3