Function at 0x140035ab4
Capabilities:
Set environment variable
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x488]
sub rsp, 0x560
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14013bf40]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov rdi, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
xor ebx, ebx
mov r13d, ebx
mov qword [rbp - 0x80], rbx
mov r15b, bl
mov byte [rsp + 0x50], bl
mov word [rbp - 0x78], bx
mov byte [rsp + 0x51], bl
mov dword [rdi + 0x1b1], ebx
mov qword [rdi + 0x8250], rbx
mov qword [rdi + 0x8258], 0xa
mov qword [rdi + 0x8238], rbx
mov qword [rdi + 0x8240], rbx
mov rax, qword [sym.imp.msvcrt.dll___wargv]
mov rsi, qword [rax]
mov rax, qword [sym.imp.msvcrt.dll___argc]
mov r14d, dword [rax]
lea rdx, str.FmtFile.txt
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
lea rdx, str.FmtSum.txt
lea rcx, [rsp + 0x78]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov edx, 0x400
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDatabase::GetConnectInfo]
nop dword [rax + rax]
mov rdx, rax
xor ecx, ecx
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
mov r12d, eax
or edx, 0xffffffff
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CCmdUI::SetCheck]
nop dword [rax + rax]
cmp r12d, 0x400
jne 0x140035c40
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CPropertySheet::EnableStackedTabs]
nop dword [rax + rax]
test r12d, r12d
je 0x140035d38
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
mov edx, 0x400
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDatabase::GetConnectInfo]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x400
mov r9, rax
mov r8d, 0xa
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll__wsplitpath_s]
nop dword [rax + rax]
or edx, 0xffffffff
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CCmdUI::SetCheck]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov edx, 0x400
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDatabase::GetConnectInfo]
nop dword [rax + rax]
lea rcx, [0x140085d38]
mov qword [rsp + 0x28], rcx
lea rcx, str.default
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea r8, [rbp + 0x30]
mov edx, 0x400
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wmakepath_s]
nop dword [rax + rax]
or edx, 0xffffffff
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CCmdUI::SetCheck]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
xor ebx, ebx
jmp 0x140035d50
lea rdx, str.default.tmf
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
dec r14d
test r14d, r14d
jle 0x140036395
mov r15d, 0x2d
add rsi, 8
mov rcx, qword [rsi]
cmp word [rcx], r15w
je 0x140035f02
cmp word [rcx], 0x2f
je 0x140035ef9
mov ecx, 0x1c0
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400366cf
xor edx, edx
mov r8d, 0x1c0
mov rcx, rax
call sub.msvcrt.dll_memset
mov ecx, dword [rdi + 0x8238]
mov qword [rdi + rcx*8 + 0x81b8], rbx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
xor ebx, ebx
mov qword [rcx + 8], rbx
mov ecx, COlePropertiesDialog::XOleUIObjInfo::ConvertObject
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov ecx, dword [rdi + 0x8238]
mov rdx, qword [rdi + rcx*8 + 0x81b8]
mov qword [rdx], rax
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400366c6
mov r8d, 0x400
mov rdx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wfullpath]
nop dword [rax + rax]
mov eax, dword [rdi + 0x8238]
mov rdx, qword [rdi + rax*8 + 0x81b8]
mov rdx, qword [rdx]
lea rcx, str.Setting_log_file_to:__s_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov eax, dword [rdi + 0x8238]
mov rdx, qword [rdi + rax*8 + 0x81b8]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140037e48
test eax, eax
je 0x1400366a9
lea rdx, [rdi + 0x8268]
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov qword [rcx + 0x1b8], rdx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
lea rax, [fcn.140038560]
mov qword [rcx + 0x190], rax
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov dword [rcx + 0x18], ebx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov qword [rcx + 0x10], rbx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
lea rax, [0x140051ae0]
mov qword [rcx + 0x1a8], rax
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov dword [rcx + 0x1c], 0x10000000
inc dword [rdi + 0x8238]
jmp 0x140036384
mov word [rcx], r15w
jmp 0x140036384
lea rdx, str._debug
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140035f33
lea rdx, str._display
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140035f3f
mov byte [rdi + 0x8482], 1
jmp 0x140036384
lea rdx, str._displayonly
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140035f63
mov byte [rsp + 0x51], 1
jmp 0x140036384
lea rdx, str._fixup
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140035f88
mov byte [rdi + 0x1b3], bl
jmp 0x140036384
lea rdx, str._summary
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140035fae
mov byte [rdi + 0x8481], 1
jmp 0x140036384
lea rdx, str._seq
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140036384
lea rdx, str._gmt
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140036000
lea rdx, str._utc
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14003600c
mov byte [rdi + 0x847b], 1
jmp 0x140036384
lea rdx, str._nosummary
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036032
mov byte [rdi + 0x1b1], 1
jmp 0x140036384
lea rdx, str._csv
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036061
mov word [rdi + 0x8477], 0x101
mov byte [rdi + 0x8480], 1
jmp 0x140036384
lea rdx, str._nocsvheader
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036086
mov byte [rdi + 0x8480], bl
jmp 0x140036384
lea rdx, str._noprefix
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400360ab
mov byte [rdi + 0x8479], bl
jmp 0x140036384
lea rdx, [0x1400856e0]
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036286
lea rdx, str.TraceView_SystemTrace
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop dword [rax + rax]
nop
cmp r14d, 1
jle 0x140036117
mov rdx, qword [rsi + 8]
movzx eax, word [rdx]
sub ax, r15w
mov r8d, 0xfffd
test r8w, ax
je 0x140036117
add rsi, 8
dec r14d
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov ecx, 0x1c0
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140036713
xor edx, edx
mov r8d, 0x1c0
mov rcx, rax
call sub.msvcrt.dll_memset
mov ecx, dword [rdi + 0x8238]
mov qword [rdi + rcx*8 + 0x81b8], rbx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
xor ebx, ebx
mov qword [rcx], rbx
mov ecx, COlePropertiesDialog::XOleUIObjInfo::ConvertObject
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov ecx, dword [rdi + 0x8238]
mov rdx, qword [rdi + rcx*8 + 0x81b8]
mov qword [rdx + 8], rax
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400366ec
mov r8, qword [rsp + 0x60]
mov edx, 0x400
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov eax, dword [rdi + 0x8238]
mov rdx, qword [rdi + rax*8 + 0x81b8]
mov rdx, qword [rdx + 8]
lea rcx, str.Setting_RealTime_mode_for___s_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
lea rdx, [rdi + 0x8268]
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov qword [rcx + 0x1b8], rdx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
lea rax, [fcn.140038560]
mov qword [rcx + 0x190], rax
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov dword [rcx + 0x18], ebx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov qword [rcx + 0x10], rbx
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
lea rax, [0x140051ae0]
mov qword [rcx + 0x1a8], rax
mov eax, dword [rdi + 0x8238]
mov rcx, qword [rdi + rax*8 + 0x81b8]
mov dword [rcx + 0x1c], 0x10000100
inc dword [rdi + 0x8238]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x140036384
lea rdx, str._guid
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400362e0
cmp r14d, 1
jle 0x140036384
mov rdx, qword [rsi + 8]
movzx eax, word [rdx]
sub ax, r15w
mov ecx, 0xfffd
test cx, ax
je 0x140036401
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
mov byte [rdi + 0x1b4], 1
jmp 0x1400363fa
lea rdx, str._tmf
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400362a0
lea rdx, str._pdb
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400363b5
cmp r14d, 1
jle 0x140036384
lea rbx, [rsi + 8]
mov r15, qword [rbx]
movzx eax, word [r15]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
je 0x14003637c
mov esi, 0x400
mov edx, esi
lea rcx, [rbp - 0x70]
call qword [sym.imp.MFC42u.dll_CDatabase::GetConnectInfo]
nop dword [rax + rax]
mov r8d, esi
mov rdx, r15
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wfullpath]
nop dword [rax + rax]
or edx, 0xffffffff
lea rcx, [rbp - 0x70]
call qword [sym.imp.MFC42u.dll_CCmdUI::SetCheck]
nop dword [rax + rax]
mov rsi, rbx
dec r14d
xor ebx, ebx
mov r15d, 0x2d
dec r14d
test r14d, r14d
jg 0x140035d62
mov r15b, byte [rsp + 0x50]
lea rcx, [rdi + 0x8268]
call fcn.140050784
test al, al
jne 0x14003673a
lea rcx, str.Allocation_Failure_n
jmp 0x1400366b0
lea rdx, [0x140085eb0]
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036408
cmp r14d, 1
jle 0x140036384
mov rdx, qword [rsi + 8]
movzx eax, word [rdx]
sub ax, r15w
mov ecx, 0xfffd
test cx, ax
je 0x140036401
lea rcx, [rbp - 0x68]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
add rsi, 8
dec r14d
xor ebx, ebx
jmp 0x140036384
lea rdx, str._format
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036549
cmp r14d, 1
jle 0x140036384
lea r15, [rsi + 8]
mov rcx, qword [r15]
movzx eax, word [rcx]
sub ax, 0x2d
mov edx, 0xfffd
test dx, ax
je 0x14003637e
mov esi, ebx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140036452
test eax, eax
jle 0x140036526
movzx ecx, word [rcx + rbx]
cmp ecx, 0x71
ja 0x1400364bd
je 0x1400364b4
cmp ecx, 0x63
je 0x1400364ab
cmp ecx, 0x66
je 0x1400364a2
cmp ecx, 0x6b
je 0x140036499
cmp ecx, 0x6e
je 0x140036490
cmp ecx, 0x70
jne 0x140036504
lea rdx, str._8_04X_
jmp 0x1400364f3
lea rdx, str._1_s_
jmp 0x1400364f3
lea rdx, str._5_s_
jmp 0x1400364f3
lea rdx, [0x140085fa0]
jmp 0x1400364f3
lea rdx, str._9_d_
jmp 0x1400364f3
lea rdx, str._7_d_
jmp 0x1400364f3
sub ecx, 0x73
je 0x1400364ec
sub ecx, 1
je 0x1400364e3
sub ecx, 1
je 0x1400364da
cmp ecx, 2
jne 0x140036504
lea rdx, str._2_s_
jmp 0x1400364f3
lea rdx, str._6_s_
jmp 0x1400364f3
lea rdx, str._3_04X_
jmp 0x1400364f3
lea rdx, str._4_s_
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
nop dword [rax + rax]
inc esi
add rbx, 2
mov rcx, qword [r15]
or rax, 0xffffffffffffffff
xor edx, edx
inc rax
cmp word [rcx + rax*2], dx
jne 0x140036513
cmp esi, eax
jl 0x140036463
xor ebx, ebx
mov rdx, qword [rsp + 0x68]
lea rcx, str.TRACE_FORMAT_PREFIX
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop dword [rax + rax]
mov rsi, r15
dec r14d
jmp 0x14003637e
lea rdx, [0x140085fc4]
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14003656f
mov byte [rdi + 0x1b2], 1
jmp 0x140036384
lea rdx, str._ods
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036595
mov byte [rdi + 0x8483], 1
jmp 0x140036384
lea rdx, str._onlyshow
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036613
cmp r14d, 1
jle 0x140036384
add rsi, 8
mov rax, qword [rsi]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1400365c4
lea rcx, [rcx*2 + 2]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [rdi + 0x8240], rax
mov r8, qword [rsi]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [r8 + rdx*2], bx
jne 0x1400365ef
inc rdx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
dec r14d
jmp 0x140036384
lea rdx, [0x140085fcc]
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140036384
cmp r14d, 1
jle 0x140036384
mov rdx, qword [rsi + 8]
movzx eax, word [rdx]
sub ax, r15w
mov r8d, 0xfffd
test r8w, ax
je 0x140036384
add rsi, 8
dec r14d
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
lea r8, [0x140082460]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MFC42u.dll_AfxThrowOleException]
nop dword [rax + rax]
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x60]
jmp 0x140036275
lea rcx, str.Cannot_open_logfile_for_reading_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov r15b, byte [rsp + 0x50]
jmp 0x140036d31
lea rcx, str.Allocation_Failure__LogFileName__n
jmp 0x1400366b0
lea rcx, str.Allocation_Failure_EVENT_TRACE_LOGFILE__n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov r15b, byte [rsp + 0x50]
jmp 0x140036d2f
lea rcx, str.Allocation_Failure_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x1400366bc
lea rcx, str.Allocation_Failure_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x1400366e2
mov r14, qword [rdi + 0x8460]
mov esi, 3
mov rax, qword [rbp - 0x70]
cmp dword [rax - 8], ebx
je 0x140036779
lea rbx, [rdi + 0x168]
lea r8d, [rsi - 2]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400389b4
test al, al
je 0x140036777
mov r8, r14
mov rdx, qword [rbx]
mov ecx, esi
call fcn.14005c914
xor ebx, ebx
mov rdx, qword [rbp - 0x68]
cmp dword [rdx - 8], ebx
je 0x14003678c
mov r8, r14
mov ecx, esi
call fcn.14005c914
mov rax, qword [rsp + 0x58]
cmp dword [rax - 8], ebx
je 0x14003687c
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
mov rbx, qword [rsp + 0x58]
mov esi, 0x400
mov edx, esi
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDatabase::GetConnectInfo]
nop dword [rax + rax]
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wfullpath]
nop dword [rax + rax]
or edx, 0xffffffff
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CCmdUI::SetCheck]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x58]
lea rcx, str.Getting_guids_from__s_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rdx, r14
mov rcx, qword [rsp + 0x58]
call fcn.14005bca4
mov esi, eax
xor ebx, ebx
test eax, eax
jne 0x14003686b
cmp byte [rdi + 0x1b4], bl
je 0x14003686b
mov rbx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9, rbx
mov r8d, eax
mov edx, esi
lea rcx, str.GetTraceGuids_returned__d__GetLastError_d__for__s_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
xor ebx, ebx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
cmp dword [rdi + 0x8238], ebx
ja 0x14003693f
mov ecx, 0x1c0
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
xor esi, esi
test rax, rax
jne 0x1400368af
lea rcx, str.Allocation_Failure_n
jmp 0x1400366d6
xor edx, edx
mov r8d, 0x1c0
mov rcx, rbx
call sub.msvcrt.dll_memset
mov qword [rdi + 0x81b8], rbx
mov qword [rbx + 8], rsi
mov dword [rdi + 0x8238], 1
mov ecx, COlePropertiesDialog::XOleUIObjInfo::ConvertObject
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x81b8]
mov qword [rcx], rax
mov rax, qword [rdi + 0x81b8]
mov rcx, qword [rax]
xor ebx, ebx
test rcx, rcx
je 0x1400363a9
lea r8, str.C:Logfile.Etl
mov edx, 0x400
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov rax, qword [rdi + 0x81b8]
lea rcx, [0x140051ae0]
mov qword [rax + 0x1a8], rcx
mov rax, qword [rdi + 0x81b8]
mov dword [rax + 0x1c], 0x10000000
mov sil, byte [rsp + 0x51]
test sil, sil
je 0x140036b13
mov ecx, 1
call fcn.14006f158
mov rbx, rax
xor esi, esi
test r15b, r15b
je 0x140036970
mov rcx, r13
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov byte [rsp + 0x50], sil
mov word [rbp - 0x78], si
mov r13, rbx
mov qword [rbp - 0x80], rbx
mov ecx, 1
call fcn.14006f158
mov rbx, rax
cmp byte [rdi + 0x8278], sil
je 0x1400369a9
mov rcx, qword [rdi + 0x8270]
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov word [rdi + 0x8278], si
mov qword [rdi + 0x8270], rbx
xor ebx, ebx
mov r15b, byte [rsp + 0x50]
mov esi, ebx
mov edx, dword [rdi + 0x8238]
test edx, edx
je 0x1400369fa
mov rcx, qword [rdi + rsi*8 + 0x81b8]
call qword [sym.imp.ADVAPI32.dll_OpenTraceW]
nop dword [rax + rax]
mov qword [rbp + rsi*8 - 0x50], rax
xor ebx, ebx
test rax, rax
je 0x140036c13
inc esi
mov edx, dword [rdi + 0x8238]
cmp esi, edx
jb 0x1400369ca
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_ProcessTrace]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
je 0x140036a3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
mov edx, r12d
lea rcx, str.Error_processing_trace_entry_with_status0x_x__GetLastError0x_x__n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
xor esi, esi
cmp dword [rdi + 0x8238], esi
jbe 0x140036a82
mov ecx, ebx
mov rcx, qword [rbp + rcx*8 - 0x50]
call qword [sym.imp.ADVAPI32.dll_CloseTrace]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
je 0x140036a78
mov r8d, eax
mov edx, ebx
lea rcx, str.Error_Closing_Trace__d_with_status_d_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
inc ebx
cmp ebx, dword [rdi + 0x8238]
jb 0x140036a46
xor ebx, ebx
cmp byte [rdi + 0x1b1], bl
jne 0x140036d31
mov r9, r13
lea edx, [rbx + 1]
lea r8d, [rbx + 0x10]
lea rcx, str.Files_Processed_n
call qword [sym.imp.msvcrt.dll_fwrite]
nop dword [rax + rax]
cmp rax, 0x10
je 0x140036abf
call qword [sym.imp.msvcrt.dll__errno]
nop dword [rax + rax]
cmp dword [rdi + 0x8238], esi
jbe 0x140036aee
mov eax, ebx
mov r8, qword [rdi + rax*8 + 0x81b8]
mov r8, qword [r8]
lea rdx, str._t_s_n
lea rcx, [rbp - 0x80]
call fcn.1400322c0
inc ebx
cmp ebx, dword [rdi + 0x8238]
jb 0x140036ac7
lea rbx, [rdi + 0x8260]
test r14, r14
je 0x140036c61
test rbx, rbx
je 0x140036c61
mov rax, qword [r14 + 0x68]
mov qword [rbx], rax
jmp 0x140036c89
mov r8d, InitCommonControls
lea rdx, [0x1400851e0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.msvcrt.dll__wfsopen]
nop dword [rax + rax]
mov rbx, rax
xor eax, eax
test rbx, rbx
jne 0x140036b6e
call qword [sym.imp.msvcrt.dll__errno]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x70]
lea rcx, str.Format_File___s__Could_not_be_opened_for_writing__errno___u__n
mov r8d, dword [rax]
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov r15b, byte [rsp + 0x50]
xor ebx, ebx
jmp 0x140036d36
cmp byte [rdi + 0x8278], al
je 0x140036b89
mov rcx, qword [rdi + 0x8270]
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov word [rdi + 0x8278], 1
mov qword [rdi + 0x8270], rbx
xor ebx, ebx
cmp byte [rdi + 0x1b1], bl
jne 0x1400369b9
lea r8d, [rbx + 0x10]
lea rdx, [0x1400851e0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.msvcrt.dll__wfsopen]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140036be8
call qword [sym.imp.msvcrt.dll__errno]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x78]
lea rcx, str.Summary_File___s__could_not_be_opened_for_writing__errno___u__n
jmp 0x140036b53
test r15b, r15b
je 0x140036bfc
mov rcx, r13
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov r15b, 1
mov word [rbp - 0x78], 1
mov r13, rbx
mov qword [rbp - 0x80], rbx
xor ebx, ebx
jmp 0x1400369be
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
mov edx, esi
lea rcx, str.Error_Opening_Trace__d_with_status_d_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
test esi, esi
je 0x140036d31
lea rbx, [rbp - 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CloseTrace]
nop dword [rax + rax]
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140036c43
jmp 0x140036d2f
mov rax, qword [0x1401476f8]
test rax, rax
je 0x140036c89
lea rcx, str.GetTraceElapseTime_::_Invalid_Handle_n
cmp dword [0x1401476f0], esi
jne 0x140036c84
call qword [0x14007ef80]
jmp 0x140036c89
call fcn.140061c74
movabs rax, 0xd6bf94d5e57a42bd
imul qword [rbx]
add rdx, qword [rbx]
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x28], rdx
mov eax, dword [rdi + 0x8254]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x8484]
mov r8d, dword [rdi + 0x8250]
lea rdx, str.Total_Buffers_Processed__d_nTotal_Events__Processed__d_nTotal_Events__Lost_______d_nElapsed_Time_____________I64d_sec_n
lea rcx, [rbp - 0x80]
call fcn.1400322c0
lea rax, str.Guid
mov qword [rsp + 0x28], rax
lea rax, str.EventType
mov qword [rsp + 0x20], rax
lea r9, str.EventName
lea r8, str.EventCount
lea rdx, str.____________________________________________________________________________________n_10s______20s___10s____36s_r_n____________________________________________________________________________________n
lea rcx, [rbp - 0x80]
call fcn.1400322c0
lea rbx, [rdi + 0x1b6]
mov r8, r14
mov rcx, rbx
call fcn.14005bdbc
mov r8, rbx
lea rdx, str._s____________________________________________________________________________________n
lea rcx, [rbp - 0x80]
call fcn.1400322c0
xor ebx, ebx
mov sil, byte [rsp + 0x51]
cmp byte [rdi + 0x1b2], bl
je 0x140036d51
lea rcx, [0x140081f90]
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
test sil, sil
jne 0x140036d6e
mov rdx, qword [rsp + 0x70]
lea rcx, str.Event_traces_dumped_to__s_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
cmp byte [rdi + 0x1b1], bl
jne 0x140036d8e
mov rdx, qword [rsp + 0x78]
lea rcx, str.Event_Summary_dumped_to__s_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov esi, ebx
cmp dword [rdi + 0x8238], ebx
jbe 0x140036e11
xor r14d, r14d
mov ebx, esi
mov rcx, qword [rdi + rbx*8 + 0x81b8]
mov rax, qword [rcx + 8]
test rax, rax
je 0x140036dd1
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rax, qword [rdi + rbx*8 + 0x81b8]
mov qword [rax + 8], r14
mov rcx, qword [rdi + rbx*8 + 0x81b8]
mov rax, qword [rcx]
test rax, rax
je 0x140036dfb
mov rcx, rax
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rax, qword [rdi + rbx*8 + 0x81b8]
mov qword [rax], r14
mov rcx, qword [rdi + rbx*8 + 0x81b8]
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
inc esi
cmp esi, dword [rdi + 0x8238]
jb 0x140036d9b
test r12d, r12d
je 0x140036e2d
mov edx, r12d
lea rcx, str.Exit_Status:__d_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
nop
test r15b, r15b
je 0x140036e42
mov rcx, r13
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14006e720
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret