Function at 0x140001260
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
lea rdx, [0x140031bd8]
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 8], rax
mov r8, rcx
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x78], rax
mov qword [rcx + 0x80], rax
mov qword [rcx + 0x88], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140001378
mov qword [rsp + 0x30], rsi
lea rdx, [0x1400318e0]
mov ecx, 0xfffe
mov qword [rsp + 0x38], rdi
call fcn.14002cd94
xor edx, edx
mov r8d, 0xfffe
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov esi, 0x7fff
lea rcx, [0x140000000]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000135a
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
test rax, rax
je 0x14000135a
mov rcx, rax
lea r8, str.log.dll
sub rcx, rdi
sar rcx, 1
sub rsi, rcx
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
mov rcx, rdi
call fcn.14002cb00
mov rcx, qword [rbx]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x1400014ed
lea rdx, str.LogInit
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000138c
call rax
mov rcx, qword [rbx]
lea rdx, str.LogApplySettings
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetSettingsFile
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogEnable
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetLevel
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetPath
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetType
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetMode
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetMaxSize
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogSetDepth
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogWrite
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogIsEnabled
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogMonitorSettings
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogGetLevel
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogUninitDeskMetrics
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogTrackEvent
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogTrackEventData
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LogRemoveModule
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x50], 0
mov qword [rbx + 0x80], rax
jne 0x1400014f8
lea rax, [0x140001560]
mov qword [rbx + 0x50], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret