Function at 0x1403bd128
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 [0x1404f5550]
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 0x1403bd378
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 0x1403bd36f
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.1403bcd80
test eax, eax
je 0x1403bd36f
xor ecx, ecx
movzx eax, word [rsp + rcx*2 + 0x7a0]
add rcx, 1
cmp rcx, 0x100
mov dword [rsp + rcx*4 + 0x5c], eax
jl 0x1403bd270
mov edx, 0xa
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 9]
call fcn.1403bcdf4
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 0x1403bd2a4
mov edx, 0x1b
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x13]
call fcn.1403bcdf4
lea rdx, [rsp + 0x490]
mov cl, byte [rax]
add rax, 1
mov byte [rdx], cl
add rdx, 1
test cl, cl
jne 0x1403bd2cf
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 0x1403bd319
movsx ecx, byte [rsp + rdx + 0x490]
add rdx, 1
add word [rbx], cx
xor byte [rbx + 1], cl
cmp rdx, rdi
jl 0x1403bd302
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 0x1403bd35d
mov cl, byte [rsp + rax + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
test cl, cl
je 0x1403bd354
cmp cl, 0x20
je 0x1403bd354
mov byte [r12 + rdx], cl
add rdx, 1
cmp rdx, 0x14
jge 0x1403bd35d
add rax, 1
cmp rax, rdi
jl 0x1403bd336
cmp byte [r12], 0
je 0x1403bd36f
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 0x1403bd157
neg esi
sbb eax, eax
and eax, 0xffffffae
add eax, 0x53
mov rcx, qword [rsp + 0x9a0]
xor rcx, rsp
call fcn.1403c2380
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