Function at 0x140034b30
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rax, qword [0x1400ab070]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, 0x80070057
test rcx, rcx
je 0x140034cc4
mov r14, rcx
cmp word [rcx], 0
je 0x140034cc4
mov ebx, edx
lea rax, [rsp + 0x110]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x140065030]
lea r9, [0x140065020]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140034cea
mov rcx, qword [rsp + 0x110]
xorps xmm0, xmm0
lea r10, [rsp + 0xf0]
movaps xmmword [r10], xmm0
xor eax, eax
mov qword [r10 + 0x10], rax
lea r9, [rsp + 0xd0]
movaps xmmword [r9], xmm0
mov qword [r9 + 0x10], rax
lea r8, [rsp + 0xb0]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], rax
lea rdx, [rsp + 0x90]
movaps xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x20], r10
call qword [0x1400af010]
test eax, eax
js 0x140034d4d
xor r15d, r15d
mov qword [rsp + 0x88], r15
lea rcx, [0x1400a348e]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x88], r15
test rcx, rcx
je 0x140034c55
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
mov rax, qword [rdi]
mov rax, qword [rax + 0x38]
lea r8, [rsp + 0x88]
mov rcx, rdi
mov rdx, rsi
call qword [0x1400af010]
test eax, eax
jns 0x140034e23
xor edi, edi
cmp eax, 0x80070002
cmovne edi, eax
test rsi, rsi
je 0x140034c90
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140034caa
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140034cc4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140055a90
mov eax, edi
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, eax
mov rbx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r14, str.0x_X_in__S:_d
lea r15, str.RemoveTasks
mov rcx, r14
mov edx, eax
mov r8, r15
mov r9d, 0x148
call fcn.140057a20
cdqe
lea r12, [rax + 1]
lea r13, [rax + rax]
add r13, 2
mov rcx, r13
call fcn.140054b1c
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8, r13
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x148
jmp 0x140034dae
mov edi, eax
mov rbx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r14, str.0x_X_in__S:_d
lea r15, str.RemoveTasks
mov rcx, r14
mov edx, eax
mov r8, r15
mov r9d, 0x14a
call fcn.140057a20
cdqe
lea r12, [rax + 1]
lea r13, [rax + rax]
add r13, 2
mov rcx, r13
call fcn.140054b1c
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8, r13
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x14a
mov rcx, rsi
mov rdx, r12
mov r9, r14
call fcn.140057aa0
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140034e16
mov rbx, rax
lea rax, [rsp + 0x130]
mov qword [rax], rsi
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rbx
mov dx, 1
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140054b24
jmp 0x140034caa
mov rcx, qword [rsp + 0x88]
lea r8, [rsp + 0x80]
mov qword [r8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
mov edx, 1
call qword [0x1400af010]
test eax, eax
jns 0x140034eb6
mov edi, eax
mov r14, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r15, str.0x_X_in__S:_d
lea r12, str.RemoveTasks
mov rcx, r15
mov edx, eax
mov r8, r12
mov r9d, 0x15b
call fcn.140057a20
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.140054b1c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x15b
jmp 0x140034f3f
lea rdx, [rsp + 0x7c]
mov dword [rdx], 0
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x1400af010]
test eax, eax
jns 0x140034fd2
mov edi, eax
mov r14, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r15, str.0x_X_in__S:_d
lea r12, str.RemoveTasks
mov rcx, r15
mov edx, eax
mov r8, r12
mov r9d, 0x15e
call fcn.140057a20
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.140054b1c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x15e
mov rcx, rbx
mov rdx, r13
mov r9, r15
call fcn.140057aa0
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140034fa7
mov r14, rax
lea rax, [rsp + 0x130]
mov qword [rax], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r14
mov dx, 1
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rbx
call fcn.140054b24
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140034c82
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
jmp 0x140034c82
xor eax, eax
lea rdi, [rsp + 0x130]
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea r8, [0x1400a407e]
mov edx, 0x1e
mov rcx, rdi
call fcn.140058e00
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jb 0x14003538b
lea r15, [rcx + rax]
mov qword [rsp + 0x140], r15
cmp rdx, 8
jb 0x14003503e
mov rdi, qword [rsp + 0x130]
lea rcx, [rdi + rcx*2]
add rax, rax
mov rdx, r14
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + r15*2], 0
cmp dword [rsp + 0x7c], 0
jle 0x14003525f
xor edi, edi
lea r13, [rsp + 0x50]
lea r15, [rsp + 0x70]
lea r12, [rsp + 0x118]
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x70], 0
inc edi
mov word [rsp + 0x118], 3
mov dword [rsp + 0x120], edi
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x60], rax
movzx eax, word [rsp + 0x118]
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x11a]
mov dword [rsp + 0x52], eax
movzx eax, word [rsp + 0x11e]
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x124]
mov dword [rsp + 0x5c], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
mov rdx, r13
mov r8, r15
call qword [0x1400af010]
mov ebp, eax
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebp, ebp
js 0x140035187
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov rdx, r12
call qword [0x1400af010]
test eax, eax
js 0x140035190
mov r15, r13
mov r13, qword [rsp + 0x118]
mov rcx, r13
test ebx, ebx
je 0x140035199
mov r12, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
call r12
mov rbp, rax
mov rcx, r14
call r12
cmp rax, rbp
ja 0x140035218
lea rcx, [rbp*2]
add rcx, r13
add rax, rax
sub rcx, rax
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x140035218
mov rdx, qword [rsp + 0x118]
jmp 0x1400351f1
mov dword [rsp + 0x48], ebp
jmp 0x14003523c
mov dword [rsp + 0x48], eax
jmp 0x14003523c
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rcx, qword [rsp + 0x140]
cmp rax, rcx
mov rdx, rcx
cmovb rdx, rax
test rdx, rdx
je 0x1400351e9
cmp qword [rsp + 0x148], 8
lea r8, [rsp + 0x130]
jb 0x1400351d1
mov r8, qword [rsp + 0x130]
xor r9d, r9d
movzx r10d, word [r8 + r9*2]
cmp r10w, word [r13 + r9*2]
jne 0x140035218
inc r9
cmp rdx, r9
jne 0x1400351d4
mov rdx, r13
cmp rax, rcx
jne 0x140035218
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
xor r8d, r8d
call qword [0x1400af010]
test eax, eax
mov ecx, dword [rsp + 0x48]
cmovs ecx, eax
mov dword [rsp + 0x48], ecx
jmp 0x14003521e
mov al, 1
mov dword [rsp + 0x4c], eax
test r13, r13
je 0x14003522c
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r13, r15
lea r15, [rsp + 0x70]
lea r12, [rsp + 0x118]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140035253
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
cmp edi, dword [rsp + 0x7c]
jl 0x140035086
jmp 0x14003526f
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
test byte [rsp + 0x4c], 1
mov r15d, dword [rsp + 0x48]
jne 0x140035331
test r15d, r15d
js 0x140035331
xor r14d, r14d
mov qword [rsp + 0x70], r14
lea rcx, [0x1400a34ea]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], r14
test rcx, rcx
je 0x1400352c4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
mov rax, qword [rdi]
mov rax, qword [rax + 0x38]
lea r8, [rsp + 0x70]
mov rcx, rdi
mov rdx, rbx
call qword [0x1400af010]
test eax, eax
js 0x1400353a6
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
mov rdx, rsi
xor r8d, r8d
call qword [0x1400af010]
test eax, eax
js 0x140035406
mov bpl, 1
test rbx, rbx
je 0x140035315
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14003532c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
test bpl, bpl
je 0x140035334
mov edi, r15d
mov rax, qword [rsp + 0x148]
cmp rax, 8
jb 0x140034faf
mov rcx, qword [rsp + 0x130]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140035381
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400354e4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140054b24
jmp 0x140034faf
lea rcx, [rsp + 0x130]
mov rdx, rax
mov r8, r14
mov r9, rax
call fcn.1400592e0
jmp 0x140035057
mov edi, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rcx, str.0x_X_in__S:_d
lea r13, str.RemoveTasks
mov edx, eax
mov r8, r13
mov r9d, 0x194
call fcn.140057a20
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.140054b1c
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x194
jmp 0x140035464
mov edi, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rcx, str.0x_X_in__S:_d
lea r13, str.RemoveTasks
mov edx, eax
mov r8, r13
mov r9d, 0x195
call fcn.140057a20
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.140054b1c
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x195
mov rcx, r14
mov rdx, rbp
lea r9, str.0x_X_in__S:_d
call fcn.140057aa0
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x1400354d0
mov r15, rax
lea rax, [rsp + 0x118]
mov qword [rax], r14
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r15
mov dx, 1
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov r15d, dword [rsp + 0x48]
mov rcx, r14
call fcn.140054b24
xor ebp, ebp
jmp 0x140035307
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3