Function at 0x140007520
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x78], edi
mov edx, CMFCOutlookBar::FloatTab
mov r12d, 1
mov ecx, r12d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x140007753
xor edx, edx
mov r8d, CMFCOutlookBar::FloatTab
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r13, [0x14005f954]
mov rdx, r13
mov rcx, rbx
sub rcx, r13
nop dword [rax]
movzx eax, word [rdx]
mov word [rcx + rdx + 0xe94], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140007580
mov eax, dword [0x14005f950]
mov dword [rbx + reloc.mfc140u.dll_CDHtmlDialog::DDX_DHtml_SelectIndex], eax
mov eax, dword [0x14005fd64]
mov dword [rbx + reloc.mfc140u.dll_CDialog::Create], eax
mov eax, dword [0x14005fd74]
mov dword [rbx + 0xc6c], eax
mov dword [rbx + 0xc68], edi
mov r15d, dword [0x14005fd7c]
mov r14d, dword [0x14005fd78]
lea rbp, [rbx + 0xc78]
test rbp, rbp
je 0x1400076ae
lea r8, [0x14005fd80]
lea rdx, [0x14005f748]
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlUtils.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_SystemIO::Path::Combine_wchar_t_const____ptr64__wchar_t_const____ptr64_]
nop
test r14d, r14d
je 0x140007666
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlPlatform.dll_public:_int___cdecl_CrlPlatform::CrlStringT_wchar_t_::GetLength_void_const___ptr64]
cmp eax, 0xfb
jle 0x14000764e
mov r8d, 0xfb
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t____cdecl_CrlPlatform::CrlStringT_wchar_t_::Left_int____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlPlatform.dll_public:_class_CrlPlatform::CrlStringT_wchar_t_____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_class_CrlPlatform::CrlStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov r8d, r15d
lea rdx, str._.3d
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlPlatform.dll_private:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::AppendFormatInternal_wchar_t_const____ptr64____ptr64]
mov rdx, r13
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::Path::AddExtension_class_CrlPlatform::CrlStringT_wchar_t_____ptr64__wchar_t_const____ptr64_]
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlUtils.dll_void___cdecl_SystemIO::Path::MakePretty_class_CrlPlatform::CrlStringT_wchar_t_____ptr64_]
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov rcx, rbp
call qword [sym.imp.CrlUtils.dll_bool___cdecl_SystemIO::File::Exists_wchar_t_const____ptr64_]
test al, al
je 0x1400076e8
cmp dword [0x14005ee9c], 0
je 0x1400076e8
mov dword [rsi + 0x22c], 2
mov edx, r12d
mov rcx, rsi
call fcn.14000a0a0
test eax, eax
jne 0x1400076e8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140007753
cmp dword [0x14005fd78], 0
je 0x14000770e
mov ecx, dword [0x14005fd7c]
mov eax, ecx
inc ecx
mov dword [0x14005fd7c], ecx
cmp eax, 0x3e7
jl 0x14000770e
mov dword [0x14005fd7c], edi
mov qword [rbx + reloc.mfc140u.dll_CUserToolsManager::FindTool], rsi
lea rax, [rsi + 0x2d8]
mov qword [rbx + CDockSite::FixupVirtualRects], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140007a70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x468], rax
test rax, rax
cmovne edi, r12d
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret