Function at 0x1403a8cb8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, reloc.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Find
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + CDaoDatabase::FillRelationInfo], rax
xor esi, esi
mov rbx, r9
mov r12, r8
xor ebp, ebp
lea rdx, str..PhysicalDrive_d
lea rcx, [rsp + 0x690]
mov r8d, ebp
call sub.MSVCR90.dll_sprintf
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
xor r9d, r9d
lea rcx, [rsp + 0x690]
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x1403a8f08
and dword [rsp + 0x40], 0
xor eax, eax
xor r9d, r9d
and qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov edx, 0x74080
mov rcx, r13
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dl, byte [rsp + 0x4b]
test dl, dl
je 0x1403a8eff
mov cl, bpl
shr dl, cl
lea rcx, [rsp + 0x460]
and dl, 0x10
neg dl
sbb dil, dil
xor edx, edx
lea r8d, [rdx + 0x21]
and dil, 0xb5
add dil, 0xec
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x790]
xor edx, edx
mov r8d, CPrintDialog::CPrintDialog
call sub.MSVCR90.dll_memset
lea r11, [rsp + 0x40]
lea r8, [rsp + 0x790]
mov qword [rsp + 0x28], r11
lea rdx, [rsp + 0x460]
mov r9b, dil
mov rcx, r13
mov byte [rsp + 0x20], bpl
call fcn.1403a8910
test eax, eax
je 0x1403a8eff
xor ecx, ecx
movzx eax, word [rsp + rcx*2 + 0x7a0]
add rcx, 1
cmp rcx, 0x100
mov dword [rsp + rcx*4 + 0x5c], eax
jl 0x1403a8e00
mov edx, 0xa
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 9]
call fcn.1403a8984
lea rdx, [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
mov cl, byte [rax]
add rax, 1
mov byte [rdx], cl
add rdx, 1
test cl, cl
jne 0x1403a8e34
mov edx, 0x1b
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x13]
call fcn.1403a8984
lea rdx, [rsp + 0x490]
mov cl, byte [rax]
add rax, 1
mov byte [rdx], cl
add rdx, 1
test cl, cl
jne 0x1403a8e5f
or r8, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x490]
mov rcx, r8
xor edx, edx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
test ecx, ecx
movsxd rdi, ecx
jle 0x1403a8ea9
movsx ecx, byte [rsp + rdx + 0x490]
add rdx, 1
add word [rbx], cx
xor byte [rbx + 1], cl
cmp rdx, rdi
jl 0x1403a8e92
lea rdi, [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
mov rcx, r8
xor edx, edx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
test ecx, ecx
movsxd rdi, ecx
jle 0x1403a8eed
mov cl, byte [rsp + rax + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
test cl, cl
je 0x1403a8ee4
cmp cl, 0x20
je 0x1403a8ee4
mov byte [r12 + rdx], cl
add rdx, 1
cmp rdx, 0x14
jge 0x1403a8eed
add rax, 1
cmp rax, rdi
jl 0x1403a8ec6
cmp byte [r12], 0
je 0x1403a8eff
add esi, 1
add rbx, 2
add r12, 0x14
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add ebp, 1
cmp ebp, 4
jl 0x1403a8ce7
neg esi
sbb eax, eax
and eax, 0xffffffae
add eax, 0x53
mov rcx, qword [rsp + 0x9a0]
xor rcx, rsp
call fcn.1403addc0
mov rbx, qword [rsp + 0x9e0]
add rsp, reloc.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Find
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret