Function at 0x1400070e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x550
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + CDragListBox::CancelDrag], rbx
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r15, r8
mov r13, rdx
mov qword [rsp + 0x28], rdx
mov rbp, rcx
mov dword [rcx], 0
add rcx, 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_char_const____ptr64____ptr64]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
dec rcx
lea r14d, [rax + 8]
cmp rcx, 0x40
ja 0x140007165
mov r8, r15
mov rdx, r13
mov rcx, rbp
call fcn.140007aa0
mov r12, rax
jmp 0x140007440
cmp qword [r15 + 0x18], rax
jne 0x1400071b9
lea rcx, [rsp + 0x20]
call fcn.1400045c0
nop
xor edx, edx
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
lea rcx, [rsp + 0x440]
call fcn.140034610
nop
mov rdx, rax
mov rcx, r15
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]
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]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov r8, r15
mov rdx, r13
mov rcx, rbp
call fcn.140007f30
mov r12, rax
test rax, rax
je 0x140007449
cmp qword [rax + 0x18], 0x20
jne 0x140007440
mov byte [rsp + 0x440], 0
xor eax, eax
mov qword [rsp + 0x441], rax
mov qword [rsp + AfxFailMaxChars], rax
mov qword [rsp + AfxFormatString1], rax
mov qword [rsp + 0x459], rax
mov qword [rsp + 0x461], rax
mov qword [rsp + 0x469], rax
mov qword [rsp + 0x471], rax
mov dword [rsp + AfxHookWindowCreate], eax
mov word [rsp + reloc.mfc90u.dll_AfxHookWindowCreate], ax
mov byte [rsp + 0x47f], al
cmp qword [r12 + 0x20], 0x10
jb 0x140007248
lea rbx, [r12 + 8]
mov r8, qword [rbx]
jmp 0x140007250
lea rbx, [r12 + 8]
mov r8, rbx
mov edx, 0x40
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor edx, edx
mov qword [rsp + 0x458], rdx
xor r13d, r13d
xor esi, esi
lea r8, [rsp + 0x40]
nop word [rax + rax]
mov edx, esi
shl edx, 0x18
xor ecx, ecx
mov rdi, r14
nop word [rax + rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x1400072a4
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x1400072a6
add ecx, ecx
add edx, edx
sub rdi, 1
jne 0x140007290
mov dword [r8], ecx
inc esi
add r8, 4
cmp esi, 0x100
jb 0x140007280
lea rsi, [rsp + 0x442]
mov r8, r14
nop word [rax + rax]
movzx ecx, byte [rsi - 2]
mov eax, r13d
shr rax, 0x18
xor rcx, rax
shl r13d, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, r13d
movzx ecx, byte [rsi - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov edi, dword [rsp + rcx*4 + 0x40]
xor edi, edx
mov ecx, edi
shr rcx, 0x18
movzx eax, byte [rsi]
xor rcx, rax
shl edi, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, edi
movzx ecx, byte [rsi + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov r13d, dword [rsp + rcx*4 + 0x40]
xor r13d, edx
add rsi, 4
sub r8, 1
jne 0x1400072d0
cmp qword [r12 + 0x20], 0x10
jb 0x140007341
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x40
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x458]
call fcn.1400040c0
cmp eax, r13d
jne 0x14000743b
mov byte [rsp + 0x4c0], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x4c1]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x440]
mov edx, 0x80
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + 0x4c8], 0
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov edi, dword [rsp + 0x20]
lea rcx, [rsp + 0x448]
call fcn.1400040c0
mov esi, eax
lea rcx, [rsp + 0x450]
call fcn.1400040c0
xor edi, eax
xor esi, eax
cmp di, 0x1e
jne 0x140007434
shr edi, 0x10
cmp di, 1
jne 0x14000742d
cmp esi, 0x9a
je 0x140007413
lea eax, [rsi - 0x99]
cmp eax, 4
ja 0x140007426
mov r13, qword [rsp + 0x28]
mov rdx, r13
mov rcx, r15
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]
jmp 0x140007440
mov r13, qword [rsp + 0x28]
jmp 0x140007440
mov r13, qword [rsp + 0x28]
jmp 0x140007440
mov r13, qword [rsp + 0x28]
jmp 0x140007440
mov r13, qword [rsp + 0x28]
test r12, r12
jne 0x14000770a
cmp qword [rbp + 0x58], 0x10
jb 0x140007456
mov rdi, qword [rbp + 0x40]
jmp 0x14000745a
lea rdi, [rbp + 0x40]
lea rsi, str.08097CDE08087CF908087CC057519E5B
mov ecx, 0x21
repe cmpsb byte [rsi], byte [rdi]
je 0x14000770a
lea rcx, [rsp + 0x28]
call fcn.1400045c0
nop
xor edx, edx
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
lea rcx, [rsp + 0x440]
call fcn.140034610
nop
mov r8, rax
mov rdx, r13
mov rcx, rbp
call fcn.140007f30
mov r12, rax
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]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
test r12, r12
je 0x14000770a
cmp qword [r12 + 0x18], 0x20
jne 0x14000770a
mov byte [rsp + 0x4c0], 0
xor eax, eax
mov qword [rsp + 0x4c1], rax
mov qword [rsp + 0x4c9], rax
mov qword [rsp + reloc.mfc90u.dll_AfxSetModuleState], rax
mov qword [rsp + 0x4d9], rax
mov qword [rsp + AfxThrowResourceException], rax
mov qword [rsp + 0x4e9], rax
mov qword [rsp + 0x4f1], rax
mov dword [rsp + 0x4f9], eax
mov word [rsp + 0x4fd], ax
mov byte [rsp + 0x4ff], al
cmp qword [r12 + 0x20], 0x10
jb 0x140007540
lea rbp, [r12 + 8]
mov r8, qword [rbp]
jmp 0x140007548
lea rbp, [r12 + 8]
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor edx, edx
mov qword [rsp + 0x4d8], rdx
xor ebx, ebx
xor esi, esi
lea r8, [rsp + 0x40]
nop
mov edx, esi
shl edx, 0x18
xor ecx, ecx
mov rdi, r14
nop word [rax + rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x140007594
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x140007596
add ecx, ecx
add edx, edx
sub rdi, 1
jne 0x140007580
mov dword [r8], ecx
inc esi
add r8, 4
cmp esi, 0x100
jb 0x140007570
lea rsi, [rsp + 0x4c2]
nop word [rax + rax]
movzx ecx, byte [rsi - 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 [rsi - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov edi, dword [rsp + rcx*4 + 0x40]
xor edi, edx
mov ecx, edi
shr rcx, 0x18
movzx eax, byte [rsi]
xor rcx, rax
shl edi, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, edi
movzx ecx, byte [rsi + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov ebx, dword [rsp + rcx*4 + 0x40]
xor ebx, edx
add rsi, 4
sub r14, 1
jne 0x1400075c0
cmp qword [r12 + 0x20], 0x10
jb 0x14000762d
mov rbp, qword [rbp]
mov r8, rbp
mov edx, 0x40
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x4d8]
call fcn.1400040c0
cmp eax, ebx
jne 0x14000770a
mov byte [rsp + 0x440], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x441]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x4c0]
mov edx, 0x80
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + AfxFailMaxChars], 0
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov edi, dword [rsp + 0x20]
lea rcx, [rsp + 0x4c8]
call fcn.1400040c0
mov esi, eax
lea rcx, [rsp + 0x4d0]
call fcn.1400040c0
xor esi, eax
xor eax, edi
cmp ax, 0x1e
jne 0x14000770a
shr eax, 0x10
cmp ax, 1
jne 0x14000770a
cmp esi, 0x9a
je 0x1400076fe
lea eax, [rsi - 0x99]
cmp eax, 4
ja 0x14000770a
mov rdx, r13
mov rcx, r15
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 rax, r12
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140077470
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret