Function at 0x1400080e8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x138], 0
mov rsi, rcx
jne 0x14000813d
call fcn.14000d168
mov qword [rsi + 0x138], rax
test rax, rax
jne 0x14000813d
mov rdx, qword [rsi + 0x58]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_ETW_log_writer
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsi + 0x138]
test rcx, rcx
je 0x140008163
movsxd rax, dword [rsi + 0xa8]
cmp eax, 0xf
jge 0x140008163
mov qword [rsi + rax*8 + 0xb0], rcx
inc dword [rsi + 0xa8]
cmp byte [rsi + 0x93], 0
je 0x1400082c3
cmp qword [rsi + 0x128], 0
jne 0x14000829d
lea rdx, [rsp + 0x20]
call fcn.140007eb8
mov rbx, qword [rsp + 0x20]
cmp dword [rbx - 0x10], 0
jne 0x1400081b9
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400082c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400082c3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000ca78
mov rdi, qword [rsp + 0x28]
lea r8, [rsp + 0x30]
xorps xmm0, xmm0
xor eax, eax
mov rcx, rdi
mov dword [rsp + 0x50], eax
xor edx, edx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x14000822b
mov rcx, rdi
call fcn.1400067dc
test eax, eax
jns 0x14000822b
or ebx, 0xffffffff
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14000821d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
jmp 0x14000819a
mov dl, byte [rsi + 0x95]
mov rcx, rbx
call fcn.140008d4c
mov qword [rsi + 0x128], rax
test rax, rax
jne 0x140008261
mov rdx, qword [rsi + 0x58]
lea rcx, str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
mov r8, rbx
call fcn.14000ceec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or ebx, 0xffffffff
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14000827e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x20]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14000829d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsi + 0x128]
test rcx, rcx
je 0x1400082c3
movsxd rax, dword [rsi + 0xa8]
cmp eax, 0xf
jge 0x1400082c3
mov qword [rsi + rax*8 + 0xb0], rcx
inc dword [rsi + 0xa8]
cmp byte [rsi + 0x94], 0
je 0x140008315
mov rcx, qword [rsi + 0x130]
test rcx, rcx
jne 0x1400082fb
mov ecx, 8
call fcn.140037c10
mov rcx, rax
lea rax, fcn.1400024b4
mov qword [rcx], rax
mov qword [rsi + 0x130], rcx
test rcx, rcx
je 0x140008315
movsxd rax, dword [rsi + 0xa8]
cmp eax, 0xf
jge 0x140008315
mov qword [rsi + rax*8 + 0xb0], rcx
inc dword [rsi + 0xa8]
cmp dword [rsi + 0xa8], 0
setg al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret