Function at 0x140003d50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
lea rdx, [0x140148080]
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 0x140003e66
mov qword [rsp + 0x30], rsi
lea rdx, [0x140138010]
mov ecx, 0xfffe
mov qword [rsp + 0x38], rdi
call fcn.1400f3650
xor edx, edx
mov r8d, 0xfffe
mov rcx, rax
mov rdi, rax
call fcn.1400f5c20
mov esi, 0x7fff
lea rcx, [0x140000000]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140003e48
mov edx, 0x5c
mov rcx, rdi
call fcn.1400f5240
test rax, rax
je 0x140003e48
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.1400ff90c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
mov rcx, rdi
call fcn.1400f35f0
mov rcx, qword [rbx]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x140003fdf
lea rdx, str.LogInit
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003e7e
call qword [case.0x14002c3eb.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 0x140003fea
lea rax, [0x140004050]
mov qword [rbx + 0x50], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret