Function at 0x140071260
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x830
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + CException::Delete], rax
mov r15, rdx
mov r14, rcx
xor r12d, r12d
cmp qword [rcx + 0x20], r12
ja 0x1400712b3
lea ebx, [r12 + 0x78]
jmp 0x140071dba
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
mov dword [rsp + 0x468], r12d
cmp qword [r14 + 0x28], 0x10
jb 0x1400712d6
mov rdx, qword [r14 + 0x10]
jmp 0x1400712da
lea rdx, [r14 + 0x10]
test rdx, rdx
je 0x1400712ed
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
mov ebp, 0x9a
mov r13d, 8
cmp qword [rsp + 0x458], 0x20
jne 0x1400717a5
mov byte [rsp + 0x4a0], 0
xor eax, eax
mov qword [rsp + 0x4a1], rax
mov qword [rsp + 0x4a9], rax
mov qword [rsp + 0x4b1], rax
mov qword [rsp + reloc.mfc90u.dll_AfxOleUnregisterServerClass], rax
mov qword [rsp + 0x4c1], rax
mov qword [rsp + 0x4c9], rax
mov qword [rsp + reloc.mfc90u.dll_AfxSetModuleState], rax
mov dword [rsp + 0x4d9], eax
mov word [rsp + 0x4dd], ax
mov byte [rsp + 0x4df], al
lea r8, [rsp + 0x448]
cmp qword [rsp + 0x460], 0x10
cmovae r8, qword [rsp + 0x448]
lea edx, [rbp - 0x5a]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + AfxProcessWndProcException], r11
mov ebx, r12d
mov r9d, r12d
lea r10, [rsp + 0x40]
mov edx, r9d
shl edx, 0x18
mov ecx, r12d
mov r8, r13
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x1400713c4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x1400713c6
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x1400713b0
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x1400713a0
lea r9, [rsp + 0x4a2]
mov r10, r13
nop dword [rax]
movzx ecx, byte [r9 - 2]
mov eax, ebx
shr rax, 0x18
xor rcx, rax
shl ebx, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, ebx
movzx ecx, byte [r9 - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x40]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [r9]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, r8d
movzx ecx, byte [r9 + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov ebx, dword [rsp + rcx*4 + 0x40]
xor ebx, edx
add r9, 4
sub r10, 1
jne 0x1400713f0
lea r8, [rsp + 0x448]
cmp qword [rsp + 0x460], 0x10
cmovae r8, qword [rsp + 0x448]
lea edx, [r10 + 0x40]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CDHtmlDialog::DDX_DHtml_ElementText], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x7a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4b8]
mov edx, 0x80
lea rcx, [rsp + 0x7a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CDHtmlDialog::DDX_DHtml_ElementTextWithFormat], 0
mov dword [rsp + 0x34], r12d
lea r8, [rsp + 0x34]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x7a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
cmp dword [rsp + 0x34], ebx
jne 0x1400717a5
mov byte [rsp + CMiniFrameWnd::Create], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x6a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4a0]
mov edx, 0x80
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x6a8], 0
mov dword [rsp + 0x2c], r12d
lea r8, [rsp + 0x2c]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x2c]
mov byte [rsp + 0x5a0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x5a1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4a8]
mov edx, 0x80
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CDragListBox::CancelDrag], 0
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x30]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov esi, dword [rsp + 0x30]
mov byte [rsp + 0x720], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x721]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4b0]
mov edx, 0x80
lea rcx, [rsp + 0x720]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x728], 0
mov dword [rsp + 0x24], r12d
lea r8, [rsp + 0x24]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x720]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov r11d, dword [rsp + 0x24]
xor ebx, r11d
xor esi, r11d
cmp bx, 0x1e
jne 0x1400717a5
shr ebx, 0x10
cmp bx, 1
jne 0x1400717a5
cmp esi, ebp
je 0x140071641
lea eax, [rsi - 0x99]
cmp eax, 4
ja 0x1400717a5
mov byte [rsp + AfxThrowResourceException], 0
xor eax, eax
mov qword [rsp + AfxThrowResourceException], rax
mov qword [rsp + 0x4e9], rax
mov qword [rsp + 0x4f1], rax
mov qword [rsp + 0x4f9], rax
mov qword [rsp + CDaoRecordset::AllocDatabase], rax
mov qword [rsp + 0x509], rax
mov qword [rsp + 0x511], rax
mov dword [rsp + COleControl::AmbientTextAlign], eax
mov word [rsp + COleControl::AmbientTextAlign], ax
mov byte [rsp + 0x51f], al
lea r8, [rsp + 0x448]
cmp qword [rsp + 0x460], 0x10
cmovae r8, qword [rsp + 0x448]
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CFtpFileFind::CloseContext], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x621]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4e8]
mov edx, 0x80
lea rcx, [rsp + 0x620]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + reloc.mfc90u.dll_CThemeHelper::CloseThemeData], 0
mov dword [rsp + 0x28], r12d
lea r8, [rsp + 0x28]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x620]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x28]
mov byte [rsp + 0x520], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x521]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4f0]
mov edx, 0x80
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x528], 0
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x20]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_sscanf]
xor ebx, dword [rsp + 0x20]
cmp ebx, ebp
je 0x1400717a5
cmp ebx, 0x99
jne 0x1400717a5
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x140071dba
lea rdx, [0x14008ac97]
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64____ptr64]
nop
cmp qword [r14 + 0x28], 0x10
jb 0x1400717c8
mov rbx, qword [r14 + 0x10]
jmp 0x1400717cc
lea rbx, [r14 + 0x10]
call fcn.140007060
test rbx, rbx
jne 0x1400717db
mov rsi, r12
jmp 0x140071808
lea r8, [rsp + 0x470]
mov rdx, rbx
mov rcx, rax
call fcn.1400070e0
mov rsi, rax
test rax, rax
je 0x140071808
lea rdx, [rsp + 0x470]
lea rcx, [r14 + 8]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
cmp dword [r14 + 0x30], 0
je 0x14007183a
cmp qword [r14 + 0x28], 0x10
jb 0x14007181c
mov rbx, qword [r14 + 0x10]
jmp 0x140071820
lea rbx, [r14 + 0x10]
call fcn.140007060
lea r8, [r14 + 0x998]
mov rdx, rbx
mov rcx, rax
call fcn.140007f30
mov rsi, rax
test rsi, rsi
je 0x140071d98
cmp qword [rsi + 0x18], 0x20
jne 0x140071d98
mov byte [rsp + 0x4a0], 0
xor eax, eax
mov qword [rsp + 0x4a1], rax
mov qword [rsp + 0x4a9], rax
mov qword [rsp + 0x4b1], rax
mov qword [rsp + reloc.mfc90u.dll_AfxOleUnregisterServerClass], rax
mov qword [rsp + 0x4c1], rax
mov qword [rsp + 0x4c9], rax
mov qword [rsp + reloc.mfc90u.dll_AfxSetModuleState], rax
mov dword [rsp + 0x4d9], eax
mov word [rsp + 0x4dd], ax
mov byte [rsp + 0x4df], al
cmp qword [rsi + 0x20], 0x10
jb 0x1400718b7
lea rbp, [rsi + 8]
mov r8, qword [rbp]
jmp 0x1400718be
lea rbp, [rsi + 8]
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + AfxProcessWndProcException], r11
mov ebx, r12d
mov r9d, r12d
lea r10, [rsp + 0x40]
nop word [rax + rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r12d
mov r8, r13
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x140071914
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x140071916
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x140071900
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x1400718f0
lea r9, [rsp + 0x4a2]
mov r10, r13
nop dword [rax]
movzx ecx, byte [r9 - 2]
mov eax, ebx
shr rax, 0x18
xor rcx, rax
shl ebx, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, ebx
movzx ecx, byte [r9 - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x40]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [r9]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, r8d
movzx ecx, byte [r9 + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov ebx, dword [rsp + rcx*4 + 0x40]
xor ebx, edx
add r9, 4
sub r10, 1
jne 0x140071940
cmp qword [rsi + 0x20], 0x10
jb 0x1400719b7
mov r8, qword [rbp]
jmp 0x1400719ba
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x4b8]
call fcn.1400040c0
cmp eax, ebx
jne 0x140071d98
mov byte [rsp + 0x520], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x521]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4a0]
mov edx, 0x80
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x528], 0
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x20]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x20]
lea rcx, [rsp + 0x4a8]
call fcn.1400040c0
mov edi, eax
lea rcx, [rsp + 0x4b0]
call fcn.1400040c0
xor ebx, eax
xor edi, eax
cmp bx, 0x1e
jne 0x140071d98
shr ebx, 0x10
cmp bx, 1
jne 0x140071d98
cmp edi, 0x9a
je 0x140071a91
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x140071d98
cmp qword [rsi + 0x18], 0x20
jne 0x140071d74
mov byte [rsp + 0x4a0], 0
xor eax, eax
mov qword [rsp + 0x4a1], rax
mov qword [rsp + 0x4a9], rax
mov qword [rsp + 0x4b1], rax
mov qword [rsp + reloc.mfc90u.dll_AfxOleUnregisterServerClass], rax
mov qword [rsp + 0x4c1], rax
mov qword [rsp + 0x4c9], rax
mov qword [rsp + reloc.mfc90u.dll_AfxSetModuleState], rax
mov dword [rsp + 0x4d9], eax
mov word [rsp + 0x4dd], ax
mov byte [rsp + 0x4df], al
cmp qword [rsi + 0x20], 0x10
jb 0x140071b01
mov r8, qword [rbp]
jmp 0x140071b04
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + AfxProcessWndProcException], r11
mov ebx, r12d
mov r9d, r12d
lea r10, [rsp + 0x40]
nop dword [rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r12d
mov r8, r13
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x140071b54
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x140071b56
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x140071b40
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140071b30
lea r9, [rsp + 0x4a2]
nop dword [rax]
mov ecx, ebx
shr rcx, 0x18
movzx eax, byte [r9 - 2]
xor rcx, rax
shl ebx, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, ebx
mov ecx, edx
shr rcx, 0x18
movzx eax, byte [r9 - 1]
xor rcx, rax
shl edx, 8
mov r8d, dword [rsp + rcx*4 + 0x40]
xor r8d, edx
mov ecx, r8d
shr rcx, 0x18
movzx eax, byte [r9]
xor rcx, rax
shl r8d, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, r8d
mov ecx, edx
shr rcx, 0x18
movzx eax, byte [r9 + 1]
xor rcx, rax
shl edx, 8
mov ebx, dword [rsp + rcx*4 + 0x40]
xor ebx, edx
add r9, 4
sub r13, 1
jne 0x140071b80
cmp qword [rsi + 0x20], 0x10
jb 0x140071bf7
mov r8, qword [rbp]
jmp 0x140071bfa
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x4b8]
call fcn.1400040c0
cmp eax, ebx
jne 0x140071d74
mov byte [rsp + 0x520], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x521]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4a0]
mov edx, 0x80
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x528], 0
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x20]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov ebx, dword [rsp + 0x20]
lea rcx, [rsp + 0x4a8]
call fcn.1400040c0
mov edi, eax
lea rcx, [rsp + 0x4b0]
call fcn.1400040c0
xor ebx, eax
xor edi, eax
cmp bx, 0x1e
jne 0x140071d74
shr ebx, 0x10
cmp bx, 1
jne 0x140071d74
mov r13d, 0x9a
cmp edi, r13d
je 0x140071cd4
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x140071d74
mov byte [rsp + AfxThrowResourceException], 0
xor eax, eax
mov qword [rsp + AfxThrowResourceException], rax
mov qword [rsp + 0x4e9], rax
mov qword [rsp + 0x4f1], rax
mov qword [rsp + 0x4f9], rax
mov qword [rsp + CDaoRecordset::AllocDatabase], rax
mov qword [rsp + 0x509], rax
mov qword [rsp + 0x511], rax
mov dword [rsp + COleControl::AmbientTextAlign], eax
mov word [rsp + COleControl::AmbientTextAlign], ax
mov byte [rsp + 0x51f], al
cmp qword [rsi + 0x20], 0x10
jb 0x140071d37
mov rbp, qword [rbp]
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x4e8]
call fcn.1400040c0
mov ebx, eax
lea rcx, [rsp + 0x4f0]
call fcn.1400040c0
xor ebx, eax
cmp ebx, r13d
cmove ebx, r13d
jmp 0x140071d79
mov ebx, 0x9e
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x140071dba
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov ebx, 0x78
mov eax, dword [0x1400cf030]
test al, 1
jne 0x140071de3
or eax, 1
mov dword [0x1400cf030], eax
mov dword [0x1400cf034], 0x99
lea rcx, [0x140088af0]
call fcn.140077554
cmp dword [0x1400cf034], 0x9e
je 0x140071e27
mov eax, dword [0x1400cf1e8]
test al, 1
jne 0x140071e1b
or eax, 1
mov dword [0x1400cf1e8], eax
lea rcx, [0x1400cf050]
call fcn.140014e50
lea rcx, [0x140088b00]
call fcn.140077554
nop
cmp dword [0x1400cf18c], 0x108
jne 0x140071e33
cmp ebx, 0x9d
jne 0x140071e33
xor eax, eax
jmp 0x140071e57
lea eax, [rbx - 0x9a]
cmp eax, 3
ja 0x140071e45
mov eax, 1
jmp 0x140071e57
mov rcx, r14
call fcn.1400704a0
cmp rax, r15
setae r12b
mov eax, r12d
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140077470
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret