Function at 0x1401db230
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 r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xb8
mov qword [rbp - 1], 0xfffffffffffffffe
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rbp + 0x77], ebx
mov qword [rcx + 0x10], rbx
lea r13, [rcx + 0x18]
mov qword [r13], rbx
mov qword [r13 + 0x10], rbx
lea r12d, [rbx + 0xf]
mov qword [r13 + 0x18], r12
mov byte [r13], bl
lea r14, [rcx + 0x38]
mov qword [r14], rbx
mov qword [r14 + 0x18], r12
mov byte [r14], bl
mov qword [r14 + 0x10], rbx
xor r8d, r8d
lea rdx, [0x140290df0]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [r14], bl
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x68], rbx
mov qword [rdi + 0x70], r12
mov byte [rdi + 0x58], bl
mov byte [rdi + 0x78], 1
mov qword [rdi + 0x80], rbx
cmp qword [rsi + 0x18], 0x10
jb 0x1401db2d9
mov r12, qword [rsi]
mov rcx, r12
jmp 0x1401db2df
mov rcx, rsi
mov r12, rsi
mov rax, qword [rsi + 0x10]
add rax, rcx
mov rbx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401db2f3
mov rbx, qword [rsi]
cmp rbx, rax
je 0x1401db317
sub r12, rbx
mov r14, rax
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r12 + rbx], al
inc rbx
cmp rbx, r14
jne 0x1401db2fe
lea r14, [rdi + 0x38]
mov rdx, rsi
mov rcx, r13
call fcn.1400bbf84
mov rdx, r15
lea rcx, [rdi + 0x58]
call fcn.1400bbf84
xor r13d, r13d
mov qword [rbp - 0x21], r13
lea ebx, [r13 + 0xf]
mov qword [rbp - 9], rbx
lea eax, [rbx - 0xe]
mov qword [rbp - 0x11], rax
mov r8d, eax
lea rdx, [0x140290e30]
lea rcx, [rbp - 0x21]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp - 0x20], r13b
lea r8, [rbp - 0x21]
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.1400c4abc
nop
mov rdx, qword [rax + 8]
sub rdx, 0x20
mov rcx, r14
call fcn.1400bbf84
nop
lea rcx, [rbp - 0x41]
call fcn.1400bc9e0
mov r8, r15
mov rdx, rsi
call fcn.1400bc8bc
test rax, rax
je 0x1401db3a0
mov qword [rdi + 8], rax
jmp 0x1401db7f2
mov rdx, rsi
call fcn.1400bc5b8
mov qword [rdi + 0x10], 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 [0x1402d0fe0], r13d
jne 0x1401db3f6
test rax, rax
je 0x1401db3ec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1402d0c3c]
call rbx
mov dword [0x1402d0fe0], 1
cmp dword [0x1402d0c3c], r13d
setne al
test al, al
je 0x1401db408
mov byte [rdi + 0x78], r13b
mov rcx, rdi
call fcn.1402111e0
mov dword [rbp - 0x71], 0x56
mov eax, dword [rbp - 0x71]
xor al, 0x47
mov byte [rbp - 0x6d], al
mov eax, dword [rbp - 0x71]
inc al
xor al, 0x6c
mov byte [rbp - 0x6c], al
mov eax, dword [rbp - 0x71]
add al, 2
xor al, 0x6f
mov byte [rbp - 0x6b], al
mov eax, dword [rbp - 0x71]
add al, 3
xor al, 0x62
mov byte [rbp - 0x6a], al
mov eax, dword [rbp - 0x71]
add al, 4
xor al, 0x61
mov byte [rbp - 0x69], al
mov eax, dword [rbp - 0x71]
add al, 5
xor al, 0x6c
mov byte [rbp - 0x68], al
mov eax, dword [rbp - 0x71]
add al, 6
xor al, 0x41
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, 0x64
mov byte [rbp - 0x65], al
mov eax, dword [rbp - 0x71]
add al, 9
xor al, 0x41
mov byte [rbp - 0x64], al
mov eax, dword [rbp - 0x71]
add al, 0xa
xor al, 0x74
mov byte [rbp - 0x63], al
mov eax, dword [rbp - 0x71]
add al, 0xb
xor al, 0x6f
mov byte [rbp - 0x62], al
mov eax, dword [rbp - 0x71]
add al, 0xc
xor al, 0x6d
mov byte [rbp - 0x61], al
xor eax, eax
mov byte [rbp - 0x60], al
mov al, byte [rbp - 0x6d]
mov r12d, 1
mov rdx, r13
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, 0xd
jb 0x1401db4a8
mov byte [rbp - 0x60], r13b
xor r8d, r8d
lea rdx, [rbp - 0x6d]
mov rcx, r15
call fcn.1400c277c
or rbx, 0xffffffffffffffff
test rax, rax
je 0x1401db56d
mov dword [rbp - 0x5d], 0x61
mov byte [rbp - 0x59], 0x26
mov byte [rbp - 0x58], 0xd
mov byte [rbp - 0x57], 0xe
mov byte [rbp - 0x56], 3
mov byte [rbp - 0x55], r13b
mov byte [rbp - 0x54], 0xd
mov byte [rbp - 0x53], 0x26
mov byte [rbp - 0x52], 4
mov byte [rbp - 0x51], 0x15
mov byte [rbp - 0x50], 0x20
mov byte [rbp - 0x4f], 0x15
mov byte [rbp - 0x4e], 0xe
mov byte [rbp - 0x4d], 0xc
mov byte [rbp - 0x4c], 0x2f
mov byte [rbp - 0x4b], r13b
mov byte [rbp - 0x4a], 0xc
mov byte [rbp - 0x49], 4
xor eax, eax
mov byte [rbp - 0x48], al
mov al, byte [rbp - 0x59]
lea r12d, [rbx + 4]
mov rdx, r13
mov al, byte [rbp + rdx - 0x59]
mov ecx, dword [rbp - 0x5d]
xor cl, al
mov byte [rbp + rdx - 0x59], cl
inc rdx
cmp rdx, 0x11
jb 0x1401db53a
mov byte [rbp - 0x48], r13b
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r15
call fcn.1400c277c
test rax, rax
je 0x1401db56d
mov r14b, r13b
jmp 0x1401db576
mov r14b, 1
test r12b, 2
je 0x1401db586
xor edx, edx
lea r8d, [rdx + 0x12]
lea rcx, [rbp - 0x59]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rbp - 0x6d]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test r14b, r14b
je 0x1401db6fa
mov dword [rsp + 0x20], 0x4a
mov eax, dword [rsp + 0x20]
xor al, 0x75
mov byte [rbp - 0x7d], al
mov eax, dword [rsp + 0x20]
inc al
xor al, 0x73
mov byte [rbp - 0x7c], al
mov eax, dword [rsp + 0x20]
add al, 2
xor al, 0x65
mov byte [rbp - 0x7b], al
mov eax, dword [rsp + 0x20]
add al, 3
xor al, 0x72
mov byte [rbp - 0x7a], al
mov eax, dword [rsp + 0x20]
add al, 4
xor al, 0x33
mov byte [rbp - 0x79], al
mov eax, dword [rsp + 0x20]
add al, 5
xor al, 0x32
mov byte [rbp - 0x78], al
mov eax, dword [rsp + 0x20]
add al, 6
xor al, 0x2e
mov byte [rbp - 0x77], al
mov eax, dword [rsp + 0x20]
add al, 7
xor al, 0x64
mov byte [rbp - 0x76], al
mov eax, dword [rsp + 0x20]
add al, 8
xor al, 0x6c
mov byte [rbp - 0x75], al
mov eax, dword [rsp + 0x20]
add al, 9
xor al, 0x6c
mov byte [rbp - 0x74], al
xor eax, eax
mov byte [rbp - 0x73], al
mov al, byte [rbp - 0x7d]
mov rdx, r13
mov al, byte [rbp + rdx - 0x7d]
mov ecx, dword [rsp + 0x20]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x7d], cl
inc rdx
cmp rdx, 0xa
jb 0x1401db61e
mov byte [rbp - 0x73], r13b
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], r13b
lea rax, [rbp - 0x7d]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x1401db653
lea rcx, [rbp - 0x41]
cmp rbx, 0xf
ja 0x1401db67e
mov qword [rbp - 0x31], rbx
mov r8, rbx
lea rdx, [rbp - 0x7d]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp + rbx - 0x41], r13b
jmp 0x1401db68b
lea r9, [rbp - 0x7d]
mov rdx, rbx
call fcn.1400ada10
nop
xor edx, edx
lea r8d, [rdx + 0xb]
lea rcx, [rbp - 0x7d]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, rax
lea rdx, [rbp - 0x41]
call fcn.1400bc1a0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1401db6fa
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401db6f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401db6f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1401db899
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1401db714
mov rdx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rdi], rax
cmp byte [rdi + 0x78], r13b
je 0x1401db750
mov rcx, rdi
call fcn.1400beb44
mov r14, rax
mov rbx, qword [rdi + 0x10]
mov r12, qword [rdi]
sub r12, rbx
mov rcx, rdi
call fcn.1402111e0
mov rax, qword [rdi + 0x10]
cmp rax, rbx
je 0x1401db750
lea r14, [rax + r12]
test r14, r14
jne 0x1401db7b7
mov r14, qword [rdi]
test r14, r14
jne 0x1401db7b3
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401db76a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1401db791
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401db782
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1401db899
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1401db79e
mov rdx, qword [r15]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1401db899
mov byte [rdi + 0x78], r13b
cmp byte [rdi + 0x78], r13b
je 0x1401db7db
mov rdx, r14
call fcn.14021160c
test al, al
jne 0x1401db7d0
mov r14, qword [rdi]
mov byte [rdi + 0x78], r13b
mov rdx, r14
mov rcx, rdi
call fcn.1400be708
mov r9, r14
mov r8, r15
mov rdx, rsi
call fcn.1400bc6bc
mov qword [rdi + 8], r14
mov ebx, 0xf
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1401db828
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1401db823
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401db88b
mov rcx, r8
call fcn.14027b384
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], rbx
mov byte [rsi], r13b
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1401db869
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1401db864
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401db892
mov rcx, r8
call fcn.14027b384
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], rbx
mov byte [r15], r13b
mov rax, rdi
add rsp, 0xb8
pop r15
pop r14
pop r13
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