Function at 0x1000031cc
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x100008110]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r13, rcx
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x68], rbx
mov r12, rbx
mov qword [r11 - 0x150], rbx
mov rsi, rbx
mov qword [r11 - 0x158], rbx
movdqu xmm0, xmmword [0x100001450]
movdqu xmmword [r11 - 0x48], xmm0
xor r14d, r14d
mov qword [r11 - 0x138], r14
mov qword [r11 - 0x130], r14
mov qword [r11 - 0x128], r14
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [r11 - 0x144]
mov qword [rsp + 0x38], rax
lea rax, [r11 - 0x148]
mov qword [rsp + 0x30], rax
lea rax, [r11 - 0x140]
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 edi, eax
mov dword [rsp + 0x60], eax
cmp eax, ebx
jne 0x1000032d4
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.100003ddc
jmp 0x100003538
lea rax, [rsp + 0x70]
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 edi, eax
mov dword [rsp + 0x60], eax
cmp eax, ebx
jne 0x10000332c
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.100003ddc
jmp 0x100003538
mov edx, dword [rsp + 0x70]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x80], rax
cmp rax, rbx
jne 0x100003384
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 0x100003538
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rsi
xor r8d, r8d
lea edx, [r8 + 6]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
mov edi, eax
mov dword [rsp + 0x60], eax
cmp eax, ebx
jne 0x1000033dc
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.100003ddc
jmp 0x100003538
movdqu xmm0, xmmword [rsi + 8]
movdqu xmmword [rsp + 0xf0], xmm0
mov dword [rsp + 0xc8], 0x10
lea rax, [rsp + 0x190]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov r12, rax
mov qword [rsp + 0x88], rax
cmp rax, rbx
jne 0x10000346f
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.100003ddc
jmp 0x100003538
mov edi, ebx
mov dword [rsp + 0x60], ebx
cmp qword [rax + 0x18], rbx
je 0x100003512
mov rcx, qword [rax + 0x18]
cmp dword [rcx + 8], 0x10
jne 0x100003512
mov rax, qword [rcx + 0x10]
cmp rax, rbx
je 0x100003512
lea rdx, [0x100001450]
mov r8, qword [rdx]
cmp r8, qword [rax]
jne 0x1000034b3
mov r8, qword [rdx + 8]
cmp r8, qword [rax + 8]
jne 0x1000034b3
mov eax, ebx
jmp 0x1000034b8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100003512
mov r8d, 0x10e
cmp dword [rcx + 0x78], r8d
jne 0x100003512
mov rdx, qword [rcx + 0x80]
cmp rdx, rbx
je 0x100003512
lea rcx, [0x100001460]
call sub.msvcrt.dll_memcmp
cmp eax, ebx
jne 0x100003512
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.100003b40
mov edi, r15d
mov dword [rsp + 0x60], r15d
jmp 0x100003538
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.100003b40
nop
cmp r14, rbx
je 0x100003546
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp r14, rbx
je 0x100003554
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp r14, rbx
je 0x100003562
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rsi, rbx
je 0x100003570
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp r12, rbx
je 0x10000357e
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov rcx, qword [rsp + 0x78]
cmp rcx, rbx
je 0x100003590
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rcx, qword [rsp + 0x68]
cmp rcx, rbx
je 0x1000035a0
call qword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1000056e0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret