Function at 0x140074010
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x830
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + CException::Delete], rax
mov rbx, rcx
cmp qword [rcx + 0x20], 0
ja 0x140074055
mov eax, 1
jmp 0x140074855
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]
xor r12d, r12d
mov dword [rsp + 0x468], r12d
cmp qword [rbx + 0x28], 0x10
jb 0x14007407b
mov rdx, qword [rbx + 0x10]
jmp 0x14007407f
lea rdx, [rbx + 0x10]
test rdx, rdx
je 0x140074092
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, 8
cmp qword [rsp + 0x458], 0x20
jne 0x14007454f
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 + 0x38]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor r11d, r11d
mov qword [rsp + AfxProcessWndProcException], r11
mov edi, r12d
mov r9d, r12d
lea r10, [rsp + 0x40]
nop
mov edx, r9d
shl edx, 0x18
mov ecx, r12d
mov r8, rbp
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x140074164
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x140074166
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x140074150
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140074140
lea r9, [rsp + 0x4a2]
mov r10, rbp
nop dword [rax]
movzx ecx, byte [r9 - 2]
mov eax, edi
shr rax, 0x18
xor rcx, rax
shl edi, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, edi
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 edi, dword [rsp + rcx*4 + 0x40]
xor edi, edx
add r9, 4
sub r10, 1
jne 0x140074190
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], edi
jne 0x14007454f
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 edi, 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 edi, r11d
xor esi, r11d
cmp di, 0x1e
jne 0x14007454f
shr edi, 0x10
cmp di, 1
jne 0x14007454f
cmp esi, 0x9a
je 0x1400743e5
lea eax, [rsi - 0x99]
cmp eax, 4
ja 0x14007454f
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 edi, 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 edi, dword [rsp + 0x20]
cmp edi, 0x9a
je 0x14007454f
cmp edi, 0x99
jne 0x14007454f
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]
xor eax, eax
jmp 0x140074855
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 [rbx + 0x28], 0x10
jb 0x140074572
mov rdi, qword [rbx + 0x10]
jmp 0x140074576
lea rdi, [rbx + 0x10]
call fcn.140007060
test rdi, rdi
jne 0x140074585
mov rdi, r12
jmp 0x14007459b
lea r8, [rsp + 0x470]
mov rdx, rdi
mov rcx, rax
call fcn.1400070e0
mov rdi, rax
cmp dword [rbx + 0x30], 0
je 0x1400745cc
cmp qword [rbx + 0x28], 0x10
jb 0x1400745ae
mov rdi, qword [rbx + 0x10]
jmp 0x1400745b2
lea rdi, [rbx + 0x10]
call fcn.140007060
lea r8, [rbx + 0x998]
mov rdx, rdi
mov rcx, rax
call fcn.140007f30
mov rdi, rax
test rdi, rdi
je 0x140074833
cmp qword [rdi + 0x18], 0x20
jne 0x140074833
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 [rdi + 0x20], 0x10
jb 0x140074648
lea rsi, [rdi + 8]
mov r8, qword [rsi]
jmp 0x14007464f
lea rsi, [rdi + 8]
mov r8, rsi
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 + rax]
mov edx, r9d
shl edx, 0x18
mov ecx, r12d
mov r8, rbp
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x1400746a4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x1400746a6
add ecx, ecx
add edx, edx
sub r8, 1
jne 0x140074690
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x140074680
lea r9, [rsp + 0x4a2]
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 rbp, 1
jne 0x1400746d0
cmp qword [rdi + 0x20], 0x10
jb 0x140074744
mov rsi, qword [rsi]
mov r8, rsi
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 0x140074833
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 0x140074833
shr ebx, 0x10
cmp bx, 1
jne 0x140074833
cmp edi, 0x9a
je 0x140074812
lea eax, [rdi - 0x99]
cmp eax, 4
ja 0x140074833
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]
xor eax, eax
jmp 0x140074855
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 eax, 1
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140077470
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret