Function at 0x140007f30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe10
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + CWnd::GetScrollInfo], rbx
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + 0xe00], rax
mov rbp, r8
mov rbx, rdx
mov r15, rcx
test rdx, rdx
jne 0x140007f7b
xor eax, eax
jmp 0x1400085d3
xor r14d, r14d
mov byte [rsp + 0x600], r14b
xor edx, edx
mov r8d, CDHtmlElementEventSink::AddRef
lea rcx, [rsp + 0x601]
call sub.MSVCR90.dll_memset
mov byte [rsp + 0xa00], r14b
xor edx, edx
mov r8d, CDHtmlElementEventSink::AddRef
lea rcx, [rsp + 0xa01]
call sub.MSVCR90.dll_memset
mov r13d, CDHtmlElementEventSink::AddRef
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x34]
call fcn.140007030
nop
cmp qword [rax + 0x20], 0x10
jb 0x140007fde
mov rdi, qword [rax + 8]
jmp 0x140007fe2
lea rdi, [rax + 8]
lea rcx, [rsp + 0x4c0]
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]
nop
test rdi, rdi
je 0x140008008
mov rdx, rdi
lea rcx, [rsp + 0x4c0]
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]
nop
lea rcx, [rsp + 0x90]
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 rdx, rbx
lea rcx, [rsp + 0x38]
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]
mov dword [rsp + 0x30], CDHtmlElementEventSink::AddRef
mov r12d, r14d
cmp qword [rax + 0x20], 0x10
jb 0x14000803c
mov rcx, qword [rax + 8]
jmp 0x140008040
lea rcx, [rax + 8]
mov r8b, 1
lea rdx, [rsp + 0x30]
call fcn.140036c30
mov rsi, rax
test rax, rax
je 0x14000808b
mov edi, dword [rsp + 0x30]
cmp edi, 0x400
ja 0x140008083
cmp edi, 1
jbe 0x140008083
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x600]
call sub.MSVCR90.dll_memcpy
lea r13d, [rdi - 1]
mov r12d, 1
mov rcx, rsi
call sub.mfc90u.dll_delete__
test r12d, r12d
sete dil
lea rcx, [rsp + 0x38]
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]
test dil, dil
je 0x1400080e0
mov rdx, rbx
lea rcx, [rsp + 0x38]
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
lea rcx, [r15 + 0x38]
mov rdx, rax
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 + 0x38]
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 + 0x4c0]
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 0x1400085d3
lea rcx, [rsp + 0x4c8]
cmp qword [rsp + 0x4e0], 0x10
cmovae rcx, qword [rsp + 0x4c8]
mov edx, dword [rsp + 0x4d8]
inc edx
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0xa00]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea r8, [rsp + 0x600]
call fcn.1400374d0
test eax, eax
je 0x14000859a
cmp eax, 0xffffffff
je 0x14000859a
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xa00]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 0x20
ja 0x140008167
lea rcx, [rsp + 0x4c0]
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 0x1400085d3
lea rdx, [rsp + 0xa20]
lea rcx, [rsp + 0x38]
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
mov r9d, 0x20
xor r8d, r8d
lea rdx, [rsp + 0x510]
mov rcx, rax
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
nop
lea rcx, [rsp + 0x38]
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]
lea rdx, [rsp + 0xa00]
lea rcx, [rsp + 0x68]
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
mov r9d, 0x20
xor r8d, r8d
lea rdx, [rsp + 0x4e8]
mov rcx, rax
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
nop
lea rcx, [rsp + 0x68]
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]
lea rdi, [rsp + 0x518]
cmp qword [rsp + 0x530], 0x10
cmovae rdi, qword [rsp + 0x518]
cmp qword [rbp + 0x20], 0x10
jb 0x140008202
mov rax, qword [rbp + 8]
jmp 0x140008206
lea rax, [rbp + 8]
sub rdi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x140008222
inc rax
test ecx, ecx
jne 0x140008210
test edx, edx
je 0x140008259
lea rcx, [rsp + 0x4e8]
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 + 0x510]
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 + 0x4c0]
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 0x1400085d3
cmp qword [rsp + 0x508], 0x10
jb 0x140008273
mov rdx, qword [rsp + 0x4f0]
test rdx, rdx
je 0x140008285
jmp 0x14000827b
lea rdx, [rsp + 0x4f0]
lea rcx, [r15 + 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]
lea rsi, [r15 + 8]
cmp qword [rsi + 0x18], 0x20
jne 0x140008556
mov byte [rsp + 0x540], 0
xor eax, eax
mov qword [rsp + 0x541], rax
mov qword [rsp + 0x549], rax
mov qword [rsp + 0x551], rax
mov qword [rsp + 0x559], rax
mov qword [rsp + 0x561], rax
mov qword [rsp + COleControlSite::BindDefaultProperty], rax
mov qword [rsp + 0x571], rax
mov dword [rsp + 0x579], eax
mov word [rsp + 0x57d], ax
mov byte [rsp + 0x57f], al
cmp qword [rsi + 0x20], 0x10
jb 0x1400082fc
lea rbx, [rsi + 8]
mov r8, qword [rbx]
jmp 0x140008303
lea rbx, [rsi + 8]
mov r8, rbx
mov edx, 0x40
lea rcx, [rsp + 0x540]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
xor edx, edx
mov qword [rsp + 0x558], rdx
mov ebp, r14d
mov r8d, r14d
lea r9, [rsp + 0xc0]
mov r10d, 8
nop word [rax + rax]
mov edx, r8d
shl edx, 0x18
mov ecx, r14d
mov rdi, r10
nop dword [rax]
mov eax, ecx
xor eax, edx
bt eax, 0x1f
jae 0x140008364
add ecx, ecx
xor ecx, 0x4c10db7
jmp 0x140008366
add ecx, ecx
add edx, edx
sub rdi, 1
jne 0x140008350
mov dword [r9], ecx
inc r8d
add r9, 4
cmp r8d, 0x100
jb 0x140008340
lea r8, [rsp + 0x542]
nop dword [rax]
movzx ecx, byte [r8 - 2]
mov eax, ebp
shr rax, 0x18
xor rcx, rax
shl ebp, 8
mov edx, dword [rsp + rcx*4 + 0xc0]
xor edx, ebp
movzx ecx, byte [r8 - 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov edi, dword [rsp + rcx*4 + 0xc0]
xor edi, edx
mov ecx, edi
shr rcx, 0x18
movzx eax, byte [r8]
xor rcx, rax
shl edi, 8
mov edx, dword [rsp + rcx*4 + 0xc0]
xor edx, edi
movzx ecx, byte [r8 + 1]
mov eax, edx
shr rax, 0x18
xor rcx, rax
shl edx, 8
mov ebp, dword [rsp + rcx*4 + 0xc0]
xor ebp, edx
add r8, 4
sub r10, 1
jne 0x140008390
cmp qword [rsi + 0x20], 0x10
jb 0x14000840b
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x40
lea rcx, [rsp + 0x540]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
lea rcx, [rsp + 0x558]
call fcn.1400040c0
cmp eax, ebp
jne 0x140008556
mov byte [rsp + 0x580], 0
xor edx, edx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x581]
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x540]
mov edx, 0x80
lea rcx, [rsp + 0x580]
call qword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [rsp + CMiniFrameWnd::CalcBorders], 0
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x30]
lea rdx, [0x14008be28]
lea rcx, [rsp + 0x580]
call qword [sym.imp.MSVCR90.dll_sscanf]
mov edi, dword [rsp + 0x30]
lea rcx, [rsp + 0x548]
call fcn.1400040c0
mov ebx, eax
lea rcx, [rsp + 0x550]
call fcn.1400040c0
xor edi, eax
xor ebx, eax
cmp di, 0x1e
jne 0x140008556
shr edi, 0x10
cmp di, 1
jne 0x140008556
cmp ebx, 0x9a
je 0x1400084e1
lea eax, [rbx - 0x99]
cmp eax, 4
ja 0x140008556
xor edx, edx
mov r8d, CDHtmlElementEventSink::AddRef
lea rcx, [rsp + 0x600]
call sub.MSVCR90.dll_memset
mov rdx, r14
nop dword [rax]
movzx eax, byte [rsp + rdx + 0xa40]
mov byte [rsp + rdx + 0x600], al
inc rdx
test al, al
jne 0x140008500
lea rdx, [0x14008c86c]
lea rcx, [rsp + 0x600]
call qword [sym.imp.MSVCR90.dll_strstr]
test rax, rax
je 0x140008533
mov byte [rax], 0
lea rcx, [rsp + 0x600]
call qword [sym.imp.MSVCR90.dll_atoi]
mov dword [r15 + 0x30], eax
mov ecx, r14d
test eax, eax
sete cl
mov dword [r15], ecx
test ecx, ecx
cmove r14, rsi
lea rcx, [r15 + 0x38]
lea rdx, [rsp + 0x4e8]
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 + 0x4e8]
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 + 0x510]
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 + 0x4c0]
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 rax, r14
jmp 0x1400085d3
mov rdx, rbx
lea rcx, [rsp + 0x68]
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
lea rcx, [r15 + 0x38]
mov rdx, rax
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 + 0x68]
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 + 0x4c0]
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
mov rcx, qword [rsp + 0xe00]
xor rcx, rsp
call fcn.140077470
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret