Function at 0x1400135ec
Capabilities:
Resume thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, CTypeLibCache::Lookup
call fcn.140041280
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
call qword [sym.imp.msvcrt.dll_strchr]
xor ebx, ebx
mov rdx, rbp
test rax, rax
je 0x140013670
mov byte [rsp + 0x40], 0x22
mov r8d, 0x1003
lea rcx, [rsp + 0x41]
call fcn.140027e84
mov r10d, 0x1004
mov r8d, r10d
lea rdx, [0x1400013dc]
lea rcx, [rsp + 0x40]
call fcn.140027ebc
jmp 0x140013683
mov r10d, 0x1004
mov r8d, r10d
lea rcx, [rsp + 0x40]
call fcn.140027e84
test rsi, rsi
je 0x1400136b0
cmp byte [rsi], bl
je 0x1400136b0
mov r8d, r10d
lea rdx, [0x1400013e0]
lea rcx, [rsp + 0x40]
call fcn.140027ebc
mov r8d, r10d
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140027ebc
mov ecx, 0x70
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400136da
mov r9, rbp
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140012988
mov rsi, rax
jmp 0x1400136dd
mov rsi, rbx
test rsi, rsi
jne 0x1400136f6
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, 0x628
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov qword [rsp + 0x30], rax
mov ebp, dword [rsp + 0x10b8]
test rax, rax
je 0x14001372a
mov qword [rsp + 0x20], rsi
mov r9d, ebp
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.140013e4c
jmp 0x14001372d
mov rax, rbx
mov qword [rdi + 0x38], rax
test rax, rax
jne 0x14001374a
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rax, qword [rdi + 0x38]
mov qword [r14 + 0xb8], rax
lea rax, [rsp + 0x40]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + reloc.MFC42.dll_AFX_MSGMAPconstCTreeView::messageMap]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0xc], ebp
cmp byte [0x14004938c], bl
je 0x14001377f
mov rcx, rdi
call fcn.140013930
jmp 0x1400137f7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x14001379f
xor eax, eax
jmp 0x140013828
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x1400133c0]
call qword [sym.imp.MFC42.dll_Ordinal_1408]
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140013798
mov dword [rax + 0x50], ebx
mov rcx, qword [rdi + 0x28]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x20], rbx
cmp dword [rdi + 0x30], ebx
jne 0x140013813
xor r9d, r9d
mov r8d, dword [rdi + 0x34]
lea rdx, [0x1400013e8]
mov rcx, qword [rdi + 0x38]
call fcn.1400165ac
mov ecx, dword [rdi + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rdi + 0x30], ebx
je 0x140013825
mov rbx, qword [rdi + 0x38]
mov rax, rbx
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14003f730
add rsp, 0x1060
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret