Function at 0x1401d75ec
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rdx
xor r12d, r12d
mov dword [rbp + 0x77], r12d
lea rax, [0x1402d5d20]
mov qword [rbp + 0x5f], rax
xorps xmm0, xmm0
movdqa xmmword [0x1402d5d30], xmm0
mov qword [0x1402d5d48], r12
lea ebx, [r12 + 0xf]
mov qword [0x1402d5d50], rbx
mov qword [0x1402d5d58], r12
mov qword [0x1402d5d70], rbx
mov qword [0x1402d5d68], r12
xor r8d, r8d
lea rdx, [0x140290df0]
lea rcx, [0x1402d5d58]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [0x1402d5d58], r12b
mov qword [0x1402d5d78], r12
mov qword [0x1402d5d88], r12
mov qword [0x1402d5d90], rbx
mov byte [0x1402d5d98], 1
mov qword [0x1402d5da0], r12
cmp qword [rdi + 0x18], 0x10
jb 0x1401d76b3
mov r14, qword [rdi]
mov rcx, r14
jmp 0x1401d76b9
mov rcx, rdi
mov r14, rdi
mov r15, qword [rdi + 0x10]
add r15, rcx
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401d76cd
mov rbx, qword [rdi]
cmp rbx, r15
je 0x1401d76ea
sub r14, rbx
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r15
jne 0x1401d76d5
mov rdx, rdi
lea rcx, [0x1402d5d38]
call fcn.1400bbf84
mov rdx, rsi
lea rcx, [0x1402d5d78]
call fcn.1400bbf84
mov qword [rbp - 0x11], r12
mov ebx, 0xf
mov qword [rbp + 7], rbx
lea r14d, [rbx - 0xe]
mov qword [rbp - 1], r14
mov r8d, r14d
lea rdx, [0x140290e30]
lea rcx, [rbp - 0x11]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp - 0x10], r12b
lea r8, [rbp - 0x11]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.1400c4abc
nop
mov rdx, qword [rax + 8]
sub rdx, 0x20
lea rcx, [0x1402d5d58]
call fcn.1400bbf84
nop
lea rcx, [rbp - 0x31]
call fcn.1400bc9e0
mov r8, rsi
mov rdx, rdi
call fcn.1400bc8bc
test rax, rax
je 0x1401d7780
mov qword [0x1402d5d28], rax
jmp 0x1401d7bfd
mov rdx, rdi
call fcn.1400bc5b8
mov qword [0x1402d5d30], rax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
cmp dword [0x1402d0c80], r12d
jne 0x1401d77d6
test rax, rax
je 0x1401d77cf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1402d0a10]
call rbx
mov dword [0x1402d0c80], r14d
cmp dword [0x1402d0a10], r12d
setne cl
movzx eax, byte [0x1402d5d98]
test cl, cl
cmovne eax, r12d
mov byte [0x1402d5d98], al
lea rcx, [0x1402d5d20]
call fcn.14020b154
mov dword [rbp - 0x61], 0x56
mov eax, dword [rbp - 0x61]
xor al, 0x47
mov byte [rbp - 0x5d], al
mov eax, dword [rbp - 0x61]
add al, r14b
xor al, 0x6c
mov byte [rbp - 0x5c], al
mov eax, dword [rbp - 0x61]
add al, 2
xor al, 0x6f
mov byte [rbp - 0x5b], al
mov eax, dword [rbp - 0x61]
add al, 3
xor al, 0x62
mov byte [rbp - 0x5a], al
mov eax, dword [rbp - 0x61]
add al, 4
xor al, 0x61
mov byte [rbp - 0x59], al
mov eax, dword [rbp - 0x61]
add al, 5
xor al, 0x6c
mov byte [rbp - 0x58], al
mov eax, dword [rbp - 0x61]
add al, 6
xor al, 0x41
mov byte [rbp - 0x57], al
mov eax, dword [rbp - 0x61]
add al, 7
xor al, 0x64
mov byte [rbp - 0x56], al
mov eax, dword [rbp - 0x61]
add al, 8
xor al, 0x64
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x61]
add al, 9
xor al, 0x41
mov byte [rbp - 0x54], al
mov eax, dword [rbp - 0x61]
add al, 0xa
xor al, 0x74
mov byte [rbp - 0x53], al
mov eax, dword [rbp - 0x61]
add al, 0xb
xor al, 0x6f
mov byte [rbp - 0x52], al
mov eax, dword [rbp - 0x61]
add al, 0xc
xor al, 0x6d
mov byte [rbp - 0x51], al
xor eax, eax
mov byte [rbp - 0x50], al
mov al, byte [rbp - 0x5d]
mov r15d, r14d
mov rdx, r12
mov al, byte [rbp + rdx - 0x5d]
mov ecx, dword [rbp - 0x61]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x5d], cl
add rdx, r14
cmp rdx, 0xd
jb 0x1401d7895
mov byte [rbp - 0x50], r12b
xor r8d, r8d
lea rdx, [rbp - 0x5d]
mov rcx, rsi
call fcn.1400c277c
or rbx, 0xffffffffffffffff
test rax, rax
je 0x1401d795a
mov dword [rbp - 0x4d], 0x61
mov byte [rbp - 0x49], 0x26
mov byte [rbp - 0x48], 0xd
mov byte [rbp - 0x47], 0xe
mov byte [rbp - 0x46], 3
mov byte [rbp - 0x45], r12b
mov byte [rbp - 0x44], 0xd
mov byte [rbp - 0x43], 0x26
mov byte [rbp - 0x42], 4
mov byte [rbp - 0x41], 0x15
mov byte [rbp - 0x40], 0x20
mov byte [rbp - 0x3f], 0x15
mov byte [rbp - 0x3e], 0xe
mov byte [rbp - 0x3d], 0xc
mov byte [rbp - 0x3c], 0x2f
mov byte [rbp - 0x3b], r12b
mov byte [rbp - 0x3a], 0xc
mov byte [rbp - 0x39], 4
xor eax, eax
mov byte [rbp - 0x38], al
mov al, byte [rbp - 0x49]
lea r15d, [rbx + 4]
mov rdx, r12
mov al, byte [rbp + rdx - 0x49]
mov ecx, dword [rbp - 0x4d]
xor cl, al
mov byte [rbp + rdx - 0x49], cl
add rdx, r14
cmp rdx, 0x11
jb 0x1401d7927
mov byte [rbp - 0x38], r12b
mov r8, rbx
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.1400c277c
test rax, rax
je 0x1401d795a
mov r14b, r12b
jmp 0x1401d7960
test r15b, 2
je 0x1401d7970
xor edx, edx
lea r8d, [rdx + 0x12]
lea rcx, [rbp - 0x49]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rbp - 0x5d]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test r14b, r14b
je 0x1401d7ad8
mov dword [rbp - 0x71], 0x4a
mov eax, dword [rbp - 0x71]
xor al, 0x75
mov byte [rbp - 0x6d], al
mov eax, dword [rbp - 0x71]
inc al
xor al, 0x73
mov byte [rbp - 0x6c], al
mov eax, dword [rbp - 0x71]
add al, 2
xor al, 0x65
mov byte [rbp - 0x6b], al
mov eax, dword [rbp - 0x71]
add al, 3
xor al, 0x72
mov byte [rbp - 0x6a], al
mov eax, dword [rbp - 0x71]
add al, 4
xor al, 0x33
mov byte [rbp - 0x69], al
mov eax, dword [rbp - 0x71]
add al, 5
xor al, 0x32
mov byte [rbp - 0x68], al
mov eax, dword [rbp - 0x71]
add al, 6
xor al, 0x2e
mov byte [rbp - 0x67], al
mov eax, dword [rbp - 0x71]
add al, 7
xor al, 0x64
mov byte [rbp - 0x66], al
mov eax, dword [rbp - 0x71]
add al, 8
xor al, 0x6c
mov byte [rbp - 0x65], al
mov eax, dword [rbp - 0x71]
add al, 9
xor al, 0x6c
mov byte [rbp - 0x64], al
xor eax, eax
mov byte [rbp - 0x63], al
mov al, byte [rbp - 0x6d]
mov rdx, r12
mov al, byte [rbp + rdx - 0x6d]
mov ecx, dword [rbp - 0x71]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x6d], cl
inc rdx
cmp rdx, 0xa
jb 0x1401d79fd
mov byte [rbp - 0x63], r12b
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], r12b
lea rax, [rbp - 0x6d]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1401d7a31
lea rcx, [rbp - 0x31]
cmp rbx, 0xf
ja 0x1401d7a5c
mov qword [rbp - 0x21], rbx
mov r8, rbx
lea rdx, [rbp - 0x6d]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp + rbx - 0x31], r12b
jmp 0x1401d7a69
lea r9, [rbp - 0x6d]
mov rdx, rbx
call fcn.1400ada10
nop
xor edx, edx
lea r8d, [rdx + 0xb]
lea rcx, [rbp - 0x6d]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, rax
lea rdx, [rbp - 0x31]
call fcn.1400bc1a0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1401d7ad8
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d7ad3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d7ad3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
mov rcx, qword [0x1402d5d30]
test rcx, rcx
je 0x1401d7ca6
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401d7af5
mov rdx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [0x1402d5d20], rax
cmp byte [0x1402d5d98], r12b
je 0x1401d7b4a
lea rcx, [0x1402d5d20]
call fcn.140209ed8
mov r14, rax
mov rbx, qword [0x1402d5d30]
mov r15, qword [0x1402d5d20]
sub r15, rbx
lea rcx, [0x1402d5d20]
call fcn.14020b154
mov rax, qword [0x1402d5d30]
cmp rax, rbx
je 0x1401d7b4a
lea r14, [rax + r15]
test r14, r14
jne 0x1401d7bb8
mov r14, qword [0x1402d5d20]
test r14, r14
jne 0x1401d7bb1
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401d7b68
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1401d7b8f
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401d7b80
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1401d7ca6
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401d7b9c
mov rdx, qword [rsi]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1401d7ca6
mov byte [0x1402d5d98], r12b
cmp byte [0x1402d5d98], r12b
je 0x1401d7be3
mov rdx, r14
call fcn.14020b5c0
test al, al
jne 0x1401d7bdb
mov r14, qword [0x1402d5d20]
mov byte [0x1402d5d98], r12b
mov rdx, r14
call fcn.140209a64
mov r9, r14
mov r8, rsi
mov rdx, rdi
call fcn.1400bc6bc
mov qword [0x1402d5d28], r14
mov ebx, 0xf
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1401d7c33
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1401d7c2e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401d7c98
mov rcx, r8
call fcn.14027b384
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rbx
mov byte [rdi], r12b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1401d7c74
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1401d7c6f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401d7c9f
mov rcx, r8
call fcn.14027b384
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], rbx
mov byte [rsi], r12b
lea rax, [0x1402d5d20]
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
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 fcn.140173fa4
int3