Function at 0x140001a50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
lea rdx, [0x1400ee350]
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 0x140001b66
mov qword [rsp + 0x30], rsi
lea rdx, [0x1400db2f0]
mov ecx, 0xfffe
mov qword [rsp + 0x38], rdi
call fcn.1400a3690
xor edx, edx
mov r8d, 0xfffe
mov rcx, rax
mov rdi, rax
call fcn.1400a6530
mov esi, 0x7fff
lea rcx, [0x140000000]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001b48
mov edx, 0x5c
mov rcx, rdi
call fcn.1400a5970
test rax, rax
je 0x140001b48
mov rcx, rax
lea r8, str.log.dll
sub rcx, rdi
sar rcx, 1
sub rsi, rcx
mov rcx, rax
mov rdx, rsi
call fcn.1400aa228
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
mov rcx, rdi
call fcn.1400a36a0
mov rcx, qword [rbx]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x140001cdf
lea rdx, str.LogInit
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001b7e
call qword [case.0x14003c2ce.0]
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 0x140001cea
lea rax, [0x140001d50]
mov qword [rbx + 0x50], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret