Function at 0x1400672f0
Capabilities:
Access the windows event log

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x268
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov esi, r8d
mov ebx, edx
mov r14d, ecx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
xor r13d, r13d
movzx ebp, r13w
movzx edi, r13w
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
lea r15d, [r13 + 2]
cmp rcx, rax
je 0x140067384
test byte [rcx + 0x1c], r15b
je 0x140067384
cmp byte [rcx + 0x19], 5
jb 0x140067384
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x14]
lea r8, [0x14008aca8]
call fcn.140001024
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp esi, 0x40
jbe 0x1400673a1
cmp rcx, rax
je 0x1400673d2
test byte [rcx + 0x1c], r15b
je 0x1400673d2
cmp byte [rcx + 0x19], r15b
jb 0x1400673d2
mov edx, 0x15
jmp 0x1400673c2
cmp qword [0x14009f4f8], r13
jne 0x1400673d9
cmp rcx, rax
je 0x1400673d2
test byte [rcx + 0x1c], r15b
je 0x1400673d2
mov ebx, 3
cmp byte [rcx + 0x19], bl
jb 0x1400673d2
lea edx, [rbx + 0x13]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008aca8]
call fcn.140001024
xor eax, eax
jmp 0x1400675f6
lea rcx, [0x14009f4c8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov edx, dword [0x14009f500]
mov ecx, r13d
mov r12d, 1
test edx, edx
je 0x14006741f
mov rax, qword [0x14009f480]
add rax, 0xc
cmp dword [rax - 4], r14d
jne 0x140067414
cmp ebx, dword [rax]
ja 0x140067487
add ecx, r12d
add rax, 0x10
cmp ecx, edx
jb 0x14006740a
lea r8, [rsp + 0x2d0]
test esi, esi
je 0x140067458
add r8, 0xfffffffffffffff8
lea rdx, [rsp + 0x50]
mov r9, rsi
lea r8, [r8 + 8]
mov rcx, qword [r8]
lea rax, [0x140087e38]
test rcx, rcx
cmovne rax, rcx
mov qword [rdx], rax
lea rdx, [rdx + 8]
sub r9, r12
jne 0x140067437
mov r9d, dword [rsp + 0x2c8]
mov eax, 4
shr r9d, 0x1e
lea ebx, [rax - 1]
cmp r9d, r12d
jbe 0x1400674e2
cmp r9d, r15d
je 0x1400674d5
cmp r9d, ebx
jne 0x14006749f
add dword [0x14009f4f4], r12d
mov ebp, r12d
jmp 0x1400674ec
lea rcx, [0x14009f4c8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
jmp 0x1400673d2
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x1400674ec
test byte [rcx + 0x1c], r15b
je 0x1400674ec
cmp byte [rcx + 0x19], r15b
jb 0x1400674ec
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008aca8]
mov edx, 0x17
call fcn.140001050
jmp 0x1400674ec
add dword [0x14009f504], r12d
movzx ebp, r15w
jmp 0x1400674ec
add dword [0x14009f4f0], r12d
movzx ebp, ax
lea rcx, [0x14009f4c8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, r14d
sub eax, r12d
je 0x140067561
sub eax, r12d
je 0x14006755b
sub eax, r12d
je 0x140067556
cmp eax, r12d
je 0x14006754f
mov rcx, qword [0x14009b028]
lea rbx, [0x14009b028]
cmp rcx, rbx
je 0x14006756c
test byte [rcx + 0x1c], r15b
je 0x14006756c
cmp byte [rcx + 0x19], r15b
jb 0x14006756c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008aca8]
mov edx, 0x18
mov r9d, r14d
call fcn.140001050
jmp 0x14006756c
mov edi, 4
jmp 0x140067565
movzx edi, bx
jmp 0x140067565
movzx edi, r15w
jmp 0x140067565
movzx edi, r12w
lea rbx, [0x14009b028]
mov r9d, dword [rsp + 0x2c8]
lea rax, [rsp + 0x50]
mov rcx, qword [0x14009f4f8]
movzx r8d, di
mov qword [rsp + 0x40], r13
movzx edx, bp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov word [rsp + 0x28], si
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
nop dword [rax + rax]
test eax, eax
jne 0x1400675f3
mov rcx, qword [0x14009b028]
cmp rcx, rbx
je 0x1400675f3
test byte [rcx + 0x1c], r15b
je 0x1400675f3
cmp byte [rcx + 0x19], r15b
jb 0x1400675f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x14008aca8]
mov r9d, eax
mov edx, 0x19
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov eax, r12d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14007e3c0
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret