Function at 0x100462770
Capabilities:
Access the windows event log

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
mov rax, qword [0x100499010]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r14d, r14d
mov r13, r9
mov rsi, r8
mov r15, rcx
mov ebx, r14d
test r9, r9
jne 0x10046285a
cmp qword [rcx + 8], rbx
je 0x100462853
xor eax, eax
mov qword [rsp + 0x60], r14
mov qword [rbp + 0xf0], rax
lea r9d, [r13 + 0x57]
mov qword [rbp + 0xf8], rax
lea r8, [0x100471ea8]
mov qword [rbp + 0x100], rax
lea edx, [r13 + 0x10]
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0xf0]
lea rax, str.Handle_to_cluster_resource_cannot_be_null
mov qword [rsp + 0x58], rax
call fcn.10040b460
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0xf0]
test eax, eax
lea r8d, [r13 + 5]
lea eax, [r13 + 2]
mov r9d, 0xc0000144
cmovs rcx, qword [rsp + 0x60]
lea edx, [rax - 1]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov rcx, qword [r15 + 8]
mov dword [rsp + 0x30], r14d
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
xor eax, eax
jmp 0x100462c2a
mov rax, qword [r8 + 0x48]
mov edx, 4
mov rcx, r13
mov qword [rsp + 0x220], r12
call qword [case.0x10044bd0b.0]
mov r12, rax
test rax, rax
jne 0x10046292e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [r15 + 8], rbx
je 0x100462c1f
xor ecx, ecx
mov qword [rsp + 0x60], r14
mov qword [rbp + 0xf0], rcx
lea r8, [0x100471ea8]
mov qword [rbp + 0xf8], rcx
lea edx, [r12 + 0x10]
mov qword [rbp + 0x100], rcx
mov r9d, eax
mov qword [rbp + 0x108], rcx
lea rcx, str.GetSQLAgentResource:ClusterOpenEnum
mov qword [rsp + 0x58], rcx
lea rcx, [rbp + 0xf0]
call fcn.10040b460
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0xf0]
test eax, eax
lea r8d, [r12 + 5]
lea eax, [r12 + 2]
mov r9d, 0xc0000144
cmovs rcx, qword [rsp + 0x60]
lea edx, [rax - 1]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov rcx, qword [r15 + 8]
mov dword [rsp + 0x30], r14d
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
jmp 0x100462c1f
mov qword [rsp + 0x268], rdi
mov edi, r14d
nop dword [rax]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
mov rax, qword [rsi + 0x50]
xor r9d, r9d
mov edx, edi
mov rcx, r12
call qword [case.0x10044bd0b.0]
cmp eax, 0x103
je 0x100462c0a
mov eax, dword [rsp + 0x50]
inc eax
mov ecx, eax
add rcx, rcx
mov dword [rsp + 0x50], eax
call fcn.100469348
mov r14, rax
lea r8, [rsp + 0x68]
lea rax, [rsp + 0x50]
mov r9, r14
mov qword [rsp + 0x20], rax
mov edx, edi
mov rax, qword [rsi + 0x50]
mov rcx, r12
call qword [case.0x10044bd0b.0]
test eax, eax
jne 0x100462b55
mov rax, qword [rsi + 0x30]
mov rdx, r14
mov rcx, r13
call qword [case.0x10044bd0b.0]
mov rbx, rax
test rax, rax
je 0x100462b1d
mov rcx, r14
call fcn.100469388
movups xmm0, xmmword [rsi]
lea rdx, [rsp + 0x70]
mov r8, rbx
movups xmm1, xmmword [rsi + 0x10]
mov rcx, r15
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rdx + 0x70], xmm1
movups xmm1, xmmword [rsi + 0x90]
movups xmmword [rdx + 0x80], xmm0
movups xmm0, xmmword [rsi + 0xa0]
movups xmmword [rdx + 0x90], xmm1
movups xmm1, xmmword [rsi + 0xb0]
movups xmmword [rdx + 0xa0], xmm0
movups xmmword [rdx + 0xb0], xmm1
lea rdx, [rsp + 0x70]
call fcn.1004622a0
test eax, eax
je 0x100462af5
movups xmm0, xmmword [rsi]
lea rcx, [rbp + 0x30]
mov r9, rbx
movups xmm1, xmmword [rsi + 0x10]
lea r8, [rbp + 0x30]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rcx + 0x70], xmm1
movups xmm1, xmmword [rsi + 0x90]
movups xmmword [rcx + 0x80], xmm0
movups xmm0, xmmword [rsi + 0xa0]
movups xmmword [rcx + 0x90], xmm1
movups xmm1, xmmword [rsi + 0xb0]
movups xmmword [rcx + 0xa0], xmm0
movups xmmword [rcx + 0xb0], xmm1
mov rcx, r15
call fcn.100462530
test eax, eax
jne 0x100462b0a
mov rax, qword [rsi + 0x40]
mov rcx, rbx
call qword [case.0x10044bd0b.0]
xor r14d, r14d
mov ebx, r14d
jmp 0x100462b0d
xor r14d, r14d
inc edi
test rbx, rbx
je 0x100462940
jmp 0x100462c0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [r15 + 8], 0
je 0x100462bfd
xor ecx, ecx
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rcx
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rcx
lea rcx, str.GetSQLAgentResource:OpenClusterResource
jmp 0x100462b8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [r15 + 8], 0
je 0x100462bfd
xor ecx, ecx
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rcx
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rcx
lea rcx, str.GetSQLAgentResource:ClusterEnum
xor edi, edi
mov qword [rsp + 0x58], rcx
mov r9d, eax
mov qword [rsp + 0x60], rdi
lea r8, [0x100471ea8]
lea rcx, [rbp + 0xf0]
lea edx, [rdi + 0x10]
call fcn.10040b460
mov qword [rsp + 0x40], rdi
lea rcx, [rbp + 0xf0]
test eax, eax
lea r8d, [rdi + 5]
mov eax, 2
lea edx, [rdi + 1]
cmovs rcx, qword [rsp + 0x60]
mov r9d, 0xc0000144
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov rcx, qword [r15 + 8]
mov dword [rsp + 0x30], edi
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test r14, r14
je 0x100462c0a
mov rcx, r14
call fcn.100469388
mov rax, qword [rsi + 0x58]
mov rcx, r12
call qword [case.0x10044bd0b.0]
mov rdi, qword [rsp + 0x268]
mov r12, qword [rsp + 0x220]
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.100469360
add rsp, 0x228
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret