Function at 0x140021210
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]
cmp qword [rcx], 0
je 0x1400217da
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x68], xmm0
xor esi, esi
mov word [rbp - 0x78], si
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x140021280
lea rcx, [rbp - 0x78]
call fcn.140007730
nop
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 rdi, eax
mov eax, 2
mul rdi
cmovo rax, rbx
mov rcx, rax
call fcn.14002494c
mov rbx, rax
mov qword [rbp - 0x80], rax
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
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 - 0x28], xmm0
mov word [rbp - 0x38], si
cmp rbx, r8
je 0x140021315
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140007730
nop
test rbx, rbx
je 0x140021323
mov rcx, rbx
call fcn.140024944
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140021363
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002135e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021800
call fcn.140024944
movdqa xmm0, xmmword [0x140062790]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
lea rsi, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rsi, qword [rbp - 0x38]
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov word [rsp + 0x50], ax
lea r8d, [rax + 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 0x140021447
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140007730
nop
test rbx, rbx
je 0x140021455
mov rcx, rbx
call fcn.140024944
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140021497
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021806
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 0x14002174c
dec r15b
cmp r15b, 1
ja 0x14002174c
mov rcx, qword [0x14008f670]
mov rdx, rcx
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140021824
nop dword [rax + rax]
cmp qword [rax + 0x20], r14
jae 0x14002150c
mov rax, qword [rax + 0x10]
jmp 0x140021512
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140021500
cmp rdx, rcx
je 0x140021824
cmp r14, qword [rdx + 0x20]
jb 0x140021824
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 0x140021621
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140007730
nop
test rbx, rbx
je 0x14002162f
mov rcx, rbx
call fcn.140024944
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140021671
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002166c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002180c
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 0x1400216f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400216f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021812
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 0x14002174c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021746
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021818
call fcn.140024944
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14002178c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002181e
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 0x1400217da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400217d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217fa
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