Function at 0x140034640
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 [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, 0x80070057
test rcx, rcx
je 0x1400347d4
mov r14, rcx
cmp word [rcx], 0
je 0x1400347d4
mov ebx, edx
lea rax, [rsp + 0x110]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x140066030]
lea r9, [0x140066020]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400347fa
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 0x14003486b
xor r15d, r15d
mov qword [rsp + 0x88], r15
lea rcx, [0x1400a41b4]
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 0x140034765
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 0x140034956
xor edi, edi
cmp eax, 0x80070002
cmovne edi, eax
test rsi, rsi
je 0x1400347a0
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400347ba
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x1400347d4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140057bf0
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.140059a40
cdqe
lea r12, [rax + 1]
lea r13, [rax + rax]
add r13, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl r13, rax
mov rcx, r13
call fcn.140056c40
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 0x1400348da
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.140059a40
cdqe
lea r12, [rax + 1]
lea r13, [rax + rax]
add r13, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl r13, rax
mov rcx, r13
call fcn.140056c40
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 r8, 0xffffffffffffffff
mov r9, r14
call fcn.140059ac0
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140034949
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.140056c84
jmp 0x1400347ba
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 0x1400349f7
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.140059a40
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl rbp, rax
mov rcx, rbp
call fcn.140056c40
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 0x140034a8e
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 0x140034b28
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.140059a40
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl rbp, rax
mov rcx, rbp
call fcn.140056c40
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 r8, 0xffffffffffffffff
mov r9, r15
call fcn.140059ac0
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140034afd
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.140056c84
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140034792
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
jmp 0x140034792
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 r9, [0x1400a4d92]
mov edx, 0x1e
mov rcx, rdi
call fcn.14005ab20
mov rcx, r14
call sub.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 0x140034edd
lea r15, [rcx + rax]
mov qword [rsp + 0x140], r15
cmp rdx, 8
jb 0x140034b93
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 0x140034db1
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 0x140034cdc
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov rdx, r12
call qword [0x1400af010]
test eax, eax
js 0x140034ce5
mov r12, r15
mov r15, r13
mov r13, qword [rsp + 0x118]
mov rcx, r13
test ebx, ebx
je 0x140034cee
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbp, rax
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp rax, rbp
ja 0x140034d6c
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 0x140034d6c
mov rdx, qword [rsp + 0x118]
jmp 0x140034d45
mov dword [rsp + 0x48], ebp
jmp 0x140034d8e
mov dword [rsp + 0x48], eax
jmp 0x140034d8e
call sub.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 0x140034d3d
cmp qword [rsp + 0x148], 8
lea r8, [rsp + 0x130]
jb 0x140034d25
mov r8, qword [rsp + 0x130]
xor r9d, r9d
movzx r10d, word [r8 + r9*2]
cmp r10w, word [r13 + r9*2]
jne 0x140034d6c
inc r9
cmp rdx, r9
jne 0x140034d28
mov rdx, r13
cmp rax, rcx
jne 0x140034d6c
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 0x140034d72
mov al, 1
mov dword [rsp + 0x4c], eax
test r13, r13
je 0x140034d80
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r13, r15
mov r15, r12
lea r12, [rsp + 0x118]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140034da5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
cmp edi, dword [rsp + 0x7c]
jl 0x140034bdb
jmp 0x140034dc1
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
test byte [rsp + 0x4c], 1
mov r15d, dword [rsp + 0x48]
jne 0x140034e83
test r15d, r15d
js 0x140034e83
xor r14d, r14d
mov qword [rsp + 0x70], r14
lea rcx, [0x1400a4210]
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 0x140034e16
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 0x140034efa
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 0x140034f68
mov bpl, 1
test rbx, rbx
je 0x140034e67
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140034e7e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400af010]
test bpl, bpl
je 0x140034e86
mov edi, r15d
mov rax, qword [rsp + 0x148]
cmp rax, 8
jb 0x140034b05
mov rcx, qword [rsp + 0x130]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140034ed3
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14003505b
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
jmp 0x140034b05
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x130]
mov rdx, rax
mov r9, r14
call fcn.14005ac50
jmp 0x140034bac
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.140059a40
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl r12, rax
mov rcx, r12
call fcn.140056c40
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 0x140034fd4
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.140059a40
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl r12, rax
mov rcx, r12
call fcn.140056c40
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
mov r8, 0xffffffffffffffff
lea r9, str.0x_X_in__S:_d
call fcn.140059ac0
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140035047
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.140056c84
xor ebp, ebp
jmp 0x140034e59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3