Function at 0x140004f20
Capabilities:
Access the windows event log

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14008d028]
xor rax, rsp
mov qword [rbp + 8], rax
mov r13, r9
mov r14, r8
movzx r15d, dl
mov r12, rcx
mov rdx, qword [rbp + 0x80]
mov rdi, qword [rbp + 0x88]
cmp qword [rcx], 0
je 0x14000550a
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x68], xmm0
xor eax, eax
mov word [rbp - 0x78], ax
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], ax
jne 0x140004f92
lea rcx, [rbp - 0x78]
call fcn.140007730
nop
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140004fb3
mov r9, qword [rdi]
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
xor edx, edx
xor ecx, ecx
call fcn.140008810
inc eax
movsxd rsi, eax
mov eax, 2
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.14002494c
mov rbx, rax
mov qword [rbp - 0x80], rax
cmp qword [rdi + 0x18], 8
jb 0x140004ff4
mov rdi, qword [rdi]
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140008810
lea r8, [rbx - 2]
lea r8, [r8 + rsi*2]
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x28], xmm0
xor edi, edi
mov word [rbp - 0x38], di
cmp rbx, r8
je 0x140005043
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140007730
nop
test rbx, rbx
je 0x140005051
mov rcx, rbx
call fcn.140024944
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140005091
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000508c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005530
call fcn.140024944
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], di
lea rsi, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rsi, qword [rbp - 0x38]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov r8d, 6
lea rdx, str._s:__s
lea rcx, [rsp + 0x50]
call fcn.140007730
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], rsi
mov r9, r13
xor edx, edx
xor ecx, ecx
call fcn.140008810
inc eax
movsxd rdi, eax
mov eax, 2
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002494c
mov rbx, rax
mov qword [rbp - 0x80], rax
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], rsi
mov r9, r13
mov rdx, rdi
mov rcx, rax
call fcn.140008810
lea r8, [rdi - 1]
lea r8, [rbx + r8*2]
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x48], xmm0
xor r13d, r13d
mov word [rbp - 0x58], r13w
cmp rbx, r8
je 0x140005175
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140007730
nop
test rbx, rbx
je 0x140005183
mov rcx, rbx
call fcn.140024944
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400051c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005536
call fcn.140024944
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r9, qword [rbp - 0x58]
mov r8, r14
movzx edx, r15b
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventWriteString]
cmp qword [r12 + 8], 0
je 0x14000547c
dec r15b
cmp r15b, 1
ja 0x14000547c
mov rcx, qword [0x14008f538]
mov rdx, rcx
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140005554
nop dword [rax]
cmp qword [rax + 0x20], r14
jae 0x14000523c
mov rax, qword [rax + 0x10]
jmp 0x140005242
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140005230
cmp rdx, rcx
je 0x140005554
cmp r14, qword [rdx + 0x20]
jb 0x140005554
add rdx, 0x28
lea rcx, [rbp - 0x18]
call fcn.140006380
nop
lea r14, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r14, qword [rbp - 0x58]
lea rsi, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rsi, qword [rbp - 0x18]
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
mov r8d, 8
lea rdx, str.__s_:__s
lea rcx, [rsp + 0x50]
call fcn.140007730
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r9, rsi
xor edx, edx
xor ecx, ecx
call fcn.140008810
inc eax
movsxd rdi, eax
mov eax, 2
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002494c
mov rbx, rax
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r9, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140008810
lea r8, [rdi - 1]
lea r8, [rbx + r8*2]
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
cmp rbx, r8
je 0x140005351
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140007730
nop
test rbx, rbx
je 0x14000535f
mov rcx, rbx
call fcn.140024944
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400053a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000539c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000553c
call fcn.140024944
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rbp - 0x80], rax
mov ecx, 1
xor r8d, r8d
lea edx, [rcx + 3]
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140005429
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005424
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005542
call fcn.140024944
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14000547c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005548
call fcn.140024944
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400054bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000554e
call fcn.140024944
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r13w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14000550a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005505
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000552a
call fcn.140024944
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140024d20
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140045a2c
nop
call fcn.140045a2c
nop
call fcn.140045a2c
nop
call fcn.140045a2c
int3
call fcn.140045a2c
nop
call fcn.140045a2c
nop
call fcn.140045a2c
nop
lea rcx, str.invalid_map_K__T__key
call fcn.140023050
int3