Function at 0x1000031d0
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov r13, rcx
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbx
mov rsi, rbx
mov qword [rsp + 0x78], rbx
mov rdi, rbx
mov qword [r11 - 0x138], rbx
xor r14d, r14d
mov qword [r11 - 0x128], r14
mov qword [r11 - 0x120], r14
mov qword [r11 - 0x118], r14
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [r11 + 0x18]
mov qword [rsp + 0x38], rax
lea rax, [r11 + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [r11 - 0x130]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9d, [rbx + 2]
mov r8d, 0x400
mov rdx, rcx
lea r15d, [rbx + 1]
mov ecx, r15d
call qword [sym.imp.CRYPT32.dll_CryptQueryObject]
mov r12d, eax
mov dword [rsp + 0x60], eax
cmp eax, ebx
jne 0x1000032ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [rbx + 4]
mov edx, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov r9d, 0xc0020116
mov rcx, qword [0x100008700]
call fcn.100003d94
jmp 0x10000350b
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
mov r12d, eax
mov dword [rsp + 0x60], eax
cmp eax, ebx
jne 0x100003307
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 4
mov edx, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov r9d, 0xc0020117
mov rcx, qword [0x100008700]
call fcn.100003d94
jmp 0x10000350b
mov edx, dword [rsp + 0x1c8]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov qword [rsp + 0x80], rax
cmp rax, rbx
jne 0x100003362
mov r8d, 4
mov edx, r15d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rbx
mov r9d, 0xc0020118
mov rcx, qword [0x100008700]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
jmp 0x10000350b
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov r9, rdi
xor r8d, r8d
lea edx, [r8 + 6]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
mov r12d, eax
mov dword [rsp + 0x60], eax
cmp eax, ebx
jne 0x1000033be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 4
mov edx, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov r9d, 0xc0020117
mov rcx, qword [0x100008700]
call fcn.100003d94
jmp 0x10000350b
movdqu xmm0, xmmword [rdi + 8]
movdqu xmmword [rsp + 0xe0], xmm0
movdqu xmm1, xmmword [rdi + 0x18]
movdqu xmmword [rsp + 0xb8], xmm1
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov rsi, rax
mov qword [rsp + 0x78], rax
cmp rax, rbx
jne 0x100003441
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 4
mov edx, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov r9d, 0xc0020119
mov rcx, qword [0x100008700]
call fcn.100003d94
jmp 0x10000350b
mov r12d, ebx
mov dword [rsp + 0x60], ebx
cmp qword [rax + 0x18], rbx
je 0x1000034e5
mov rcx, qword [rax + 0x18]
cmp dword [rcx + 8], 0x10
jne 0x1000034e5
mov rax, qword [rcx + 0x10]
cmp rax, rbx
je 0x1000034e5
lea rdx, [0x100001458]
mov r8, qword [rdx]
cmp r8, qword [rax]
jne 0x100003486
mov r8, qword [rdx + 8]
cmp r8, qword [rax + 8]
jne 0x100003486
mov eax, ebx
jmp 0x10000348b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1000034e5
mov r8d, 0x10e
cmp dword [rcx + 0x78], r8d
jne 0x1000034e5
mov rdx, qword [rcx + 0x80]
cmp rdx, rbx
je 0x1000034e5
lea rcx, [0x100001470]
call sub.msvcrt.dll_memcmp
cmp eax, ebx
jne 0x1000034e5
mov edx, 4
mov r8d, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
mov r9d, 0x4002011b
mov rcx, qword [0x100008700]
call fcn.100003af8
mov r12d, r15d
mov dword [rsp + 0x60], r15d
jmp 0x10000350b
mov r8d, 4
mov edx, r15d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
mov r9d, 0xc002011a
mov rcx, qword [0x100008700]
call fcn.100003af8
nop
cmp r14, rbx
je 0x100003519
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp r14, rbx
je 0x100003527
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp r14, rbx
je 0x100003535
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rdi, rbx
je 0x100003543
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rsi, rbx
je 0x100003551
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov rcx, qword [rsp + 0x70]
cmp rcx, rbx
je 0x100003563
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rcx, qword [rsp + 0x68]
cmp rcx, rbx
je 0x100003573
call qword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, r12d
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret