Function at 0x14003e910
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x978]
sub rsp, 0xa50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rbp + 0x940], rax
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rdx, str.DebugLogFilePath
lea rcx, [rsp + 0x38]
call fcn.140005030
mov rbx, rax
lea r8, str.General
lea rdx, [rsp + 0x28]
call fcn.140003cb0
nop
mov r9, rbx
mov r8, rax
mov rdx, qword [0x1400fa5d8]
lea rcx, [rsp + 0x50]
call fcn.14005c760
mov dword [rsp + 0x20], 1
mov rax, qword [rsp + 0x50]
lea rdi, [r13 - 1]
cmp dword [rax - 0x10], r13d
jne 0x14003ed19
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400916b0
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14003ee1b
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rbp + 0x170]
call fcn.1400916b0
mov r8d, 0x3e6
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x170]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14003ea24
mov r8d, eax
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x48]
call fcn.140003400
mov rbx, qword [rsp + 0x48]
mov esi, dword [rbx - 0x10]
mov edx, 0x5c
mov rcx, rbx
call fcn.140090fcc
test rax, rax
jne 0x14003ea60
mov eax, edi
jmp 0x14003ea66
sub rax, rbx
sar rax, 1
sub esi, eax
lea eax, [rsi - 1]
mov r14d, r13d
test eax, eax
cmovns r14d, eax
movsxd r12, dword [rbx - 0x10]
lea rsi, [rbx - 0x18]
cmp r14d, r12d
jl 0x14003ea97
mov rcx, rsi
call fcn.1400051f0
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x14003eb32
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003eaad
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r9, rax
test rax, rax
jne 0x14003eabe
call fcn.140003970
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
movsxd r15, r14d
mov rcx, r12
sub rcx, r15
lea r12, [rbx + rcx*2]
test r9, r9
je 0x14003ee26
test r12, r12
jne 0x14003eae2
test r14d, r14d
jne 0x14003ee31
mov rax, qword [r9]
mov r8d, 2
mov edx, r14d
mov rcx, r9
call qword [rax]
test rax, rax
je 0x14003ee3c
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
test r14d, r14d
js 0x14003ee10
cmp r14d, dword [rbx - 0xc]
jg 0x14003ee10
mov dword [rbx - 0x10], r14d
mov word [rbx + r15*2], r13w
mov r9d, r14d
mov r8, r12
mov rdx, r15
mov rcx, rbx
call fcn.140003530
mov dword [rsp + 0x20], 5
lea r14, [rbx - 0x18]
cmp r14, rsi
je 0x14003eb92
cmp dword [rsi + 0x10], 0
jl 0x14003eb80
mov rax, qword [rsi]
cmp qword [r14], rax
jne 0x14003eb80
mov rcx, r14
call fcn.1400051f0
mov rbx, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x14003eb75
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x48], rax
jmp 0x14003eb92
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140003400
nop
mov eax, edi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x14003ebab
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str..log
lea rdx, str..exe
lea rcx, [rsp + 0x48]
call 0x140009d60
xor r9d, r9d
lea rdx, [rsp + 0x60]
xor ecx, ecx
cmp dword [0x1400fa5e0], ecx
je 0x14003ec2c
lea r8d, [r9 + 0x24]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x60]
mov rax, rdi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14003ebf0
cmp word [rsp + rax*2 + 0x5e], 0x5c
jne 0x14003ec1d
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x14003ee42
mov word [rsp + rax + 0x60], r13w
lea rcx, [rsp + 0x60]
call fcn.140023800
jmp 0x14003ece1
cmp dword [0x1400fa5e4], 0
je 0x14003ec7f
mov r8d, SafeArrayCopy
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x60]
mov rax, rdi
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14003ec50
cmp word [rsp + rax*2 + 0x5e], 0x5c
jne 0x14003ece1
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x14003ee48
mov word [rsp + rax + 0x60], r13w
jmp 0x14003ece1
mov r8d, 0x10
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x60]
mov rax, rdi
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14003ec93
cmp word [rsp + rax*2 + 0x5e], 0x5c
jne 0x14003ecc0
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x14003ee59
mov word [rsp + rax + 0x60], r13w
cmp dword [0x1400fa5e8], 0
je 0x14003ece1
lea r8, str.RtkAudUService64_COMServer
lea rdx, str.RtkAudUService64
lea rcx, [rsp + 0x48]
call 0x140009d60
mov rbx, qword [rsp + 0x48]
mov r9, rbx
lea r8, [rsp + 0x60]
lea rdx, [0x1400a9b08]
lea rcx, [rsp + 0x50]
call fcn.140005270
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003ed19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, 0x20
lea rdx, str.atc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfsopen]
mov qword [0x1400f9a58], rax
test rax, rax
jne 0x14003eda6
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14003ee4e
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x50]
lea rdx, str.CDebugLog::OpenFile__s_Err_d
lea rcx, [rsp + 0x58]
call fcn.140005270
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003edc4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003edc4
mov rdx, rax
lea rcx, str._nStart_Loging_n
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov rcx, qword [0x1400f9a58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14003ede0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.14008ade0
lea r11, [rsp + 0xa50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140003700
nop
mov ecx, 0x80004005
call fcn.140003700
nop
mov ecx, 0x80004005
call fcn.140003700
int3
mov ecx, 0x80070057
call fcn.140003700
int3
call fcn.140003520
int3
call fcn.14008b6a0
int3
call fcn.14008b6a0
nop
mov ecx, 0x80004005
call fcn.140003700
nop
call fcn.14008b6a0
int3