Function at 0x180014240
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1800312f8]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov bl, 1
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [0x180031200]
call fcn.180014920
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], r14b
lea rdx, [rbp - 0x50]
mov ecx, 0xd6
call fcn.1800159e0
test al, al
jne 0x1800143a6
movabs rax, 0x51007400650047
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x54
lea r8d, [r14 + 5]
lea rdx, [0x18002c630]
lea rcx, [rbp - 0x16]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov eax, dword [0x18002c648]
mov dword [rbp - 0xc], eax
movzx eax, word [0x18002c64c]
mov word [rbp - 8], ax
mov word [rbp - 6], r14w
lea r8d, [r14 + 5]
lea rdx, [0x18002c6f0]
lea rcx, [rbp - 6]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [rbp + 4], 0x49
lea r8d, [r14 + 1]
lea rdx, [0x18002c848]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x70], 0x20
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
movzx ebx, bl
test rax, rax
cmove ebx, r14d
mov r8d, 0x104
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call qword [sym.imp.dbghelp.dll_SymUnDName64]
test bl, bl
je 0x180014800
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetCommMask]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180014800
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x58], r14
movsd xmm0, qword [0x1800312a8]
mulsd xmm0, qword [0x18002cef0]
addsd xmm0, qword [0x18002cee0]
cvttsd2si rax, xmm0
mov dword [rsp + 0x40], eax
lea rax, [0x180031228]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, 0xc5
lea rcx, [rbp - 0x50]
call fcn.18000c6d0
mov qword [rsp + 0x50], r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov edi, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov edx, 1
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov esi, eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x51]
call fcn.180010490
test al, al
jne 0x1800146fd
mov byte [rbp - 0x30], al
mov r8d, 2
lea rdx, str.probably_missing_a_STOP_on_return
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov dword [rbp - 0x2e], 0x6f697665
movzx eax, word [0x18002c89d]
mov word [rbp - 0x2a], ax
movzx eax, byte [0x18002c89f]
mov byte [rbp - 0x28], al
mov eax, dword [0x18002c8a9]
mov dword [rbp - 0x27], eax
movzx eax, byte [0x18002c8ad]
mov byte [rbp - 0x23], al
mov word [rbp - 0x22], 0x20
movups xmm0, xmmword [str._s:_Cannot_write_load_command]
movups xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [0x18002c8e8]
movsd qword [rbp - 0x60], xmm1
mov eax, dword [0x18002c8f0]
mov dword [rbp - 0x58], eax
movzx eax, word [0x18002c8f4]
mov word [rbp - 0x54], ax
movups xmm0, xmmword [str.GstStaticPadTemplate]
movups xmmword [rbp + 0x28], xmm0
mov eax, dword [0x18002c908]
mov dword [rbp + 0x38], eax
movzx eax, byte [0x18002c90c]
mov byte [rbp + 0x3c], al
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800146e0
mov qword [rsp + 0x20], 0x100
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
jne 0x1800146c5
lea r8d, [rax + 5]
lea rdx, str.ATL.CComObject_CPsEnumCategoryMetadata_.Release
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, word [0x18002c9c7]
mov word [rbp - 0x1b], ax
movzx eax, byte [0x18002c9c9]
mov byte [rbp - 0x19], al
movzx eax, word [0x18002c9f2]
mov word [rbp - 0x18], ax
movzx eax, byte [0x18002c9f4]
mov byte [rbp - 0x16], al
mov byte [rbp - 0x15], bl
lea r8d, [rbx + 3]
lea rdx, [0x18002ca19]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov eax, 0x5053
mov word [rbp - 0x12], ax
mov dword [rbp - 0x10], 0x79786f72
mov byte [rbp - 0xc], bl
lea r8d, [rbx + 3]
lea rdx, [0x18002cab3]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov eax, 0x53
mov word [rbp + 0x10], ax
mov eax, dword [str.yncP]
mov dword [rbp + 0x11], eax
mov eax, 0x72
mov word [rbp + 0x15], ax
lea rcx, [rbp + 0x10]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180014602
movzx eax, word [0x180028e00]
mov word [rcx], ax
lea rcx, [rbp + 0x10]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180014620
mov eax, dword [str.viderG]
mov dword [rcx], eax
movzx eax, word [0x18002cac4]
mov word [rcx + 4], ax
movzx eax, byte [0x18002cac6]
mov byte [rcx + 6], al
mov r8d, 5
lea rdx, str.LQue
lea rcx, [rbp + 0x1d]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, word [0x18002cad0]
mov word [rbp + 0x21], ax
movzx eax, byte [0x18002cad2]
mov byte [rbp + 0x23], al
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
test rax, rax
je 0x180014698
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov rax, r14
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_BackupEventLogA]
test eax, eax
je 0x1800146e0
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenBackupEventLogA]
test rax, rax
je 0x1800146e0
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
jmp 0x1800146e0
mov rcx, rbx
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call qword [sym.imp.dbghelp.dll_SymMatchFileName]
jmp 0x1800147b0
movzx ebx, bl
test edi, edi
cmove ebx, r14d
test esi, esi
jne 0x180014742
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea edx, [rsi + 1]
xor ecx, ecx
lea r8d, [rsi + 4]
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test bl, bl
je 0x1800147a5
mov eax, 8
mul rdi
mov rdi, rax
test rdx, rdx
jne 0x18001475b
mov edx, r14d
jmp 0x180014767
mov rdi, 0xffffffffffffffff
mov edx, 0x80070216
mov ecx, r14d
movzx eax, bl
test edx, edx
cmove ecx, eax
test cl, cl
je 0x1800147a5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rbx, rax
test rax, rax
je 0x1800147a5
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800147a5
mov r8, rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
lea ecx, [rdx + 0x49]
call fcn.180022810
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800147ef
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800147ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800147ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180023e38
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18001483e
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014839
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014839
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180023e38
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1800245e0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret