Function at 0x140001010
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
mov eax, 0x1a0
call fcn.140003780
sub rsp, rax
mov rax, qword [0x14002b778]
xor rax, rsp
mov qword [rbp + 0x90], rax
xorps xmm0, xmm0
mov eax, 0x3b9ac9ff
mov dword [rsp + 0x48], eax
mov r12d, ecx
xor eax, eax
xor ecx, ecx
movups xmmword [rbp - 0xf], xmm0
mov qword [rbp + 0x61], rax
mov r15, rdx
movups xmmword [rbp + 1], xmm0
mov dword [rbp + 0x69], eax
xor r13d, r13d
movups xmmword [rbp + 0x11], xmm0
mov word [rbp + 0x6d], ax
xor r14d, r14d
movups xmmword [rbp + 0x21], xmm0
mov byte [rbp + 0x6f], al
mov eax, dword [0x14001f400]
movups xmmword [rbp + 0x31], xmm0
mov dword [rsp + 0x78], eax
xor eax, eax
movups xmmword [rbp + 0x41], xmm0
mov dword [rbp - 0x14], eax
movups xmmword [rbp + 0x51], xmm0
mov dword [rsp + 0x44], ecx
movsd xmm0, qword [str.Application]
movsd qword [rsp + 0x70], xmm0
xorps xmm0, xmm0
mov byte [rbp - 0x10], cl
movups xmmword [rsp + 0x7c], xmm0
movups xmmword [rbp - 0x74], xmm0
movups xmmword [rbp - 0x64], xmm0
movups xmmword [rbp - 0x54], xmm0
movups xmmword [rbp - 0x44], xmm0
movups xmmword [rbp - 0x34], xmm0
movups xmmword [rbp - 0x24], xmm0
call fcn.140002320
call fcn.140001840
mov esi, 1
cmp r12d, esi
jle 0x1400012f4
mov ebx, esi
lea rdi, [r15 + 0x10]
mov rax, qword [r15 + rbx*8]
cmp byte [rax], 0x2f
jne 0x140001102
mov byte [rax], 0x2d
mov rcx, qword [r15 + rbx*8]
lea rdx, str._app
call fcn.140001ce0
test eax, eax
jne 0x140001133
movsd xmm0, qword [str.Application]
mov eax, dword [0x14001f400]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
jmp 0x140001252
mov rcx, qword [r15 + rbx*8]
lea rdx, str._sec
call fcn.140001ce0
test eax, eax
jne 0x140001165
movsd xmm0, qword [str.Security]
movzx eax, byte [0x14001f420]
movsd qword [rsp + 0x70], xmm0
mov byte [rsp + 0x78], al
jmp 0x140001252
mov rcx, qword [r15 + rbx*8]
lea rdx, str._sys
call fcn.140001ce0
test eax, eax
jne 0x14000119f
mov eax, dword [str.System]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14001f430]
mov word [rsp + 0x74], ax
movzx eax, byte [0x14001f432]
mov byte [rsp + 0x76], al
jmp 0x140001252
mov rcx, qword [r15 + rbx*8]
lea rdx, [0x14001f434]
call fcn.140001ce0
test eax, eax
jne 0x1400011cd
mov rcx, qword [rdi]
call fcn.140001af0
inc esi
mov dword [rsp + 0x48], eax
inc rbx
add rdi, 8
jmp 0x140001252
mov rcx, qword [r15 + rbx*8]
lea rdx, [0x14001f438]
call fcn.140001ce0
test eax, eax
jne 0x1400011eb
mov dword [rsp + 0x44], 1
jmp 0x140001252
mov rcx, qword [r15 + rbx*8]
lea rdx, [0x14001f43c]
call fcn.140001ce0
test eax, eax
je 0x14000124c
mov rcx, qword [r15 + rbx*8]
lea rdx, [0x14001f440]
call fcn.140001ce0
test eax, eax
je 0x14000124c
mov rdx, qword [r15 + rbx*8]
cmp byte [rbp - 0x10], r13b
jne 0x140001240
lea rcx, [rbp - 0x10]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001230
jmp 0x140001252
lea rcx, str.Parameter_ignored:__s_n
call fcn.140001600
mov r14d, 1
inc esi
inc rbx
add rdi, 8
cmp esi, r12d
jl 0x1400010f6
mov r15d, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x44]
test r14d, r14d
je 0x1400012fd
lea rcx, str.Sed__SiSc__n
call fcn.140001600
lea rcx, str.Show_windows_standard_event_log_raw_data_n_n
call fcn.140001600
lea rcx, str.Aufruf:_SED__Options__Host__n
call fcn.140001600
lea rcx, str._Host___Hostname__Default:_current_host_n_n
call fcn.140001600
lea rcx, str.Options:_n
call fcn.140001600
lea rcx, str.____d___Dump_data_n
call fcn.140001600
lea rcx, str.____h___Help_n
call fcn.140001600
lea rcx, str.____app_Application_event_log__is_default_event_n
call fcn.140001600
lea rcx, str.____sec_Security_event_log_n
call fcn.140001600
lea rcx, str.____sys_System_event_log_n
call fcn.140001600
jmp 0x1400015c6
mov r15d, 0x3b9ac9ff
mov r12d, r13d
movzx eax, byte [rbp - 0x10]
lea r8, [0x14001f3f0]
test al, al
lea rcx, [0x14001f59c]
lea r9, [rbp - 0x10]
cmove r9, r8
lea rdx, [rsp + 0x70]
cmovne r8, rcx
lea rcx, str.SED:_Open_event_log___s___s__s__n
call fcn.140001600
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov qword [rsp + 0x48], rax
mov rbx, rax
test rax, rax
jne 0x140001367
lea rcx, [rsp + 0x70]
call fcn.140001e50
mov rdx, rax
lea r8d, [rbx + 1]
lea rcx, str.OpenEventLog
call fcn.140002010
mov ecx, 0x40000
call fcn.1400017f0
mov r14, rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov r9, r14
mov qword [rsp + 0x30], rax
mov rcx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea edx, [r8 + 9]
mov dword [rsp + 0x20], 0x40000
call qword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
je 0x1400015ae
mov edi, 0x3f
cmp dword [rsp + 0x40], 0
jbe 0x14000156d
mov rbx, r14
nop
mov eax, dword [rbx + 0xc]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.14000d854
lea rdx, str._4.4d._2.2d._2.2d__2.2d:_2.2d:_2.2d
mov ecx, dword [rax]
mov r9d, dword [rax + 0x10]
mov r8d, dword [rax + 0x14]
inc r9d
mov dword [rsp + 0x38], ecx
add r8d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x70]
mov dword [rsp + 0x20], eax
call fcn.1400016e0
movzx eax, word [rbx + 0x18]
sub eax, 1
je 0x140001497
sub eax, 1
je 0x140001480
sub eax, 2
je 0x140001469
sub eax, 4
je 0x140001456
cmp eax, 8
je 0x140001433
mov word [rsp + 0x60], di
jmp 0x1400014ad
mov eax, dword [str.AuditF]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14001f630]
mov word [rsp + 0x64], ax
movzx eax, byte [0x14001f632]
mov byte [rsp + 0x66], al
jmp 0x1400014ad
mov eax, dword [str.Audit]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14001f628]
jmp 0x1400014a8
mov eax, dword [str.Info]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x14001f620]
mov byte [rsp + 0x64], al
jmp 0x1400014ad
mov eax, dword [str.Warn]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x14001f618]
mov byte [rsp + 0x64], al
jmp 0x1400014ad
mov eax, dword [str.Error]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14001f610]
mov word [rsp + 0x64], ax
movzx r9d, word [rbx + 0x14]
lea rax, [rbx + 0x38]
mov r8d, dword [rbx + 8]
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rcx, str._n_s___Rec:__8d___ID:__10u___Type:__s___Source:__s_n
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140001600
mov edx, dword [rbx + 0x24]
lea rcx, str.___Desc:__s_n
add rdx, rbx
call fcn.140001600
mov edi, dword [rbx + 0x24]
xor eax, eax
add rdi, rbx
mov esi, eax
cmp ax, word [rbx + 0x1a]
jae 0x14000152c
nop dword [rax + rax]
inc esi
lea rcx, str.___Data:__2.2d.__s_n
mov edx, esi
mov r8, rdi
call fcn.140001600
mov rcx, rdi
call fcn.140001ca0
movsxd rcx, eax
inc rdi
movzx eax, word [rbx + 0x1a]
add rdi, rcx
cmp esi, eax
jl 0x140001500
test r12d, r12d
je 0x140001544
mov edx, dword [rbx + 0x30]
cmp edx, 9
jbe 0x140001544
mov ecx, dword [rbx + 0x34]
add rcx, rbx
call fcn.140001660
mov ecx, dword [rsp + 0x40]
inc r13d
sub ecx, dword [rbx]
mov dword [rsp + 0x40], ecx
mov eax, dword [rbx]
add rbx, rax
cmp r13d, r15d
jge 0x1400015a9
mov edi, 0x3f
test ecx, ecx
jne 0x1400013c0
mov rbx, qword [rsp + 0x48]
cmp r13d, r15d
jge 0x1400015a9
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov r9, r14
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea edx, [r8 + 9]
mov dword [rsp + 0x20], 0x40000
call qword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x1400013b0
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov edx, r13d
lea rcx, str.SED:_Totla_of__d_records_read_n
call fcn.140001600
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400037e0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret