Function at 0x18004b700
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180090f80]
xor rax, rsp
mov qword [rbp + 0x228], rax
mov ebx, edx
mov dword [rsp + 0x68], edx
mov rdx, rcx
mov qword [rsp + 0x58], rcx
lea edi, [rbx + 0xf]
mov dword [rsp + 0x50], edi
cmp ebx, edi
jae case.0x18004b7b4.12
lea edi, [rbx - 0x8b]
mov dword [rsp + 0x6c], edi
lea r9, [0x180000000]
xor r14d, r14d
lea esi, [r14 + 0x6c]
movabs r11, 0x760073006d
lea r15d, [r14 + 0x2e]
movabs r8, 0x7ffffffffffffffe
lea r10d, [r14 + 8]
lea r13d, [r14 + 0x65]
movzx r12d, byte [rsp + 0x54]
mov eax, dword [rsp + 0x50]
nop word [rax + rax]
cmp edi, 0x10
ja case.default.0x18004b7b4
mov ecx, dword [r9 + rdi*4 + 0x4c1a8]
add rcx, r9
jmp rcx
mov byte [rbp + 0x1cb], 0
mov r8d, 1
lea rdx, [0x1800801a9]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov word [rbp + 0x1f8], r14w
jmp 0x18004c0e7
mov word [rbp + 0x1f0], r14w
mov word [rbp + 0x1c0], 0x67
jmp case.0x18004b7b4.13
mov r8d, 3
lea rdx, [0x18008024c]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 1
lea rdx, str.C_defaultImageDataDiscardLevel
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x18004c0e7
mov qword [rbp + 0x210], r11
mov r8d, 3
lea rdx, [0x1800802b0]
lea rcx, [rbp + 0x210]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x18004c0e7
lea rax, [rbp + 0x1f8]
mov qword [rbp + 0x1a0], rax
mov dword [rsp + 0x64], r14d
lea rbx, [rbp + 0x190]
mov qword [rsp + 0x70], rbx
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], 7
mov word [rbp + 0x130], r14w
mov r13d, 0x10
nop dword [rax + rax]
cmp r13d, 0xaf
ja 0x18004bc93
je 0x18004bc7e
cmp r13d, 0x10
je 0x18004ba8a
cmp r13d, 0x45
je 0x18004ba75
cmp r13d, 0x7a
jne 0x18004befc
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18004b8e0
lea rcx, [rbp + 0x130]
call fcn.18002dcd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rsi, qword [rbp + 0x140]
mov r14, qword [rbp + 0x148]
cmp rsi, r14
jae 0x18004b961
lea rax, [rsi + 1]
mov qword [rbp + 0x140], rax
lea rax, [rbp + 0x130]
cmp r14, 8
cmovae rax, qword [rbp + 0x130]
mov dword [rax + rsi*2], 0x2e
xor r14d, r14d
jmp 0x18004beed
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x18004c19f
lea r15, [rsi + 1]
mov rbx, r15
or rbx, 7
mov qword [rbp - 0x50], rbx
cmp rbx, rdx
jbe 0x18004b994
mov rbx, rdx
jmp 0x18004b9b9
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x18004b9aa
mov rbx, rdx
jmp 0x18004b9b9
lea rax, [rcx + r14]
mov qword [rbp - 0x48], rax
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x130]
call fcn.18002dbd0
mov rdi, rax
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x148], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x18004ba4b
mov rbx, qword [rbp + 0x130]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15d, 0x2e
mov dword [rdi + rsi], r15d
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x18004ba2f
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18004c166
mov rbx, rcx
mov rcx, rbx
call fcn.180076484
mov qword [rbp + 0x130], rdi
mov rbx, qword [rsp + 0x70]
xor r14d, r14d
jmp 0x18004beed
lea rdx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memcpy
mov r15d, 0x2e
mov dword [rdi + rsi], r15d
xor r14d, r14d
mov qword [rbp + 0x130], rdi
mov rbx, qword [rsp + 0x70]
jmp 0x18004beed
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x7c], r14d
jmp 0x18004befc
mov rdi, qword [rdx + 0x10]
mov rbx, rdx
cmp qword [rdx + 0x18], 8
jb 0x18004ba9b
mov rbx, qword [rdx]
cmp rdi, 8
jae 0x18004bab9
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x170], xmm0
mov esi, 7
mov r15, qword [rbp + 0x170]
jmp 0x18004bb06
mov qword [rbp - 0x40], r8
mov rsi, rdi
or rsi, 7
mov qword [rbp - 0x38], rsi
cmp rsi, r8
cmova rsi, r8
lea rdx, [rsi + 1]
lea rcx, [rbp + 0x170]
call fcn.18002dbd0
mov r15, rax
mov qword [rbp + 0x170], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movabs r8, 0x7ffffffffffffffe
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x180], rdi
lea r14, [rbp + 0x170]
cmp rsi, 8
cmovae r14, r15
cmp rdi, 8
jae 0x18004bb41
movups xmm6, xmmword [r14]
movups xmmword [rbp + 0x150], xmm6
mov qword [rbp + 0x168], 7
jmp 0x18004bb8f
mov qword [rbp - 0x30], r8
mov rbx, rdi
or rbx, 7
mov qword [rbp - 0x28], rbx
cmp rbx, r8
cmova rbx, r8
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x150]
call fcn.18002dbd0
mov qword [rbp + 0x150], rax
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x168], rbx
movups xmm6, xmmword [rbp + 0x150]
mov qword [rbp + 0x160], rdi
mov rax, qword [rbp + 0x148]
cmp rax, 8
jb 0x18004bbdc
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bbd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c15f
call fcn.180076484
movups xmmword [rbp + 0x130], xmm6
movups xmm0, xmmword [rbp + 0x160]
movups xmmword [rbp + 0x140], xmm0
xor r14d, r14d
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], 7
mov word [rbp + 0x150], r14w
cmp rsi, 8
jb 0x18004bc49
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x18004bc41
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c166
mov rcx, r15
call fcn.180076484
mov qword [rbp + 0x180], r14
mov qword [rbp + 0x188], 7
mov word [rbp + 0x170], r14w
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov rbx, qword [rsp + 0x70]
mov r15d, 0x2e
jmp 0x18004beed
mov dword [rsp + 0x78], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
jmp 0x18004befc
mov eax, r13d
sub eax, 0xe4
je 0x18004be96
sub eax, 0x35
je 0x18004be5e
cmp eax, 0x35
jne 0x18004befc
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x7c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_BuildSecurityDescriptorA]
test eax, eax
jne 0x18004bcfb
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rbp - 0x58], 0
jne 0x18004beed
mov ebx, 0xe3
nop dword [rax + rax]
cmp ebx, 0xe3
je 0x18004bdfe
cmp ebx, 0x16a
je 0x18004bde5
cmp ebx, 0x1f1
je 0x18004bd91
cmp ebx, 0x278
jne 0x18004be42
mov byte [rsp + 0x54], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 8
jb case.0x18004b7b4.12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c16d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c16d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rbp + 0x1d0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov rdi, rax
test rax, rax
jne 0x18004bdbc
xor r12b, r12b
mov eax, 0x3039
lock cmpxchg dword [rsp + 0x60], r14d
jmp 0x18004be42
test r12b, r12b
je 0x18004bdd7
mov rdx, qword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_NotifyChangeEventLog]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, 0x3039
lock cmpxchg dword [rsp + 0x60], r14d
jmp 0x18004be42
mov r12b, 1
mov qword [rbp - 0x60], r14
mov dword [rsp + 0x60], 0x3039
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x60], eax
jmp 0x18004be42
mov r8d, 5
lea rdx, str.if__event.target___this.element_
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp + 0x1d5], 0
mov r8d, 4
lea rdx, [0x180080381]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov word [rbp + 0x1d9], 0x29
add ebx, 0x87
cmp ebx, 0x2ff
jb 0x18004bd10
mov rbx, qword [rsp + 0x70]
jmp 0x18004beed
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
cmovae rcx, qword [rbp + 0x130]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x78], r14
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithNameW]
jmp 0x18004beed
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
mov r8d, 3
lea rdx, [0x18007d660]
lea rcx, [rbp + 0x130]
call fcn.18002dcd0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
movabs r8, 0x7ffffffffffffffe
mov rdx, qword [rsp + 0x58]
add r13d, 0x35
cmp r13d, 0x183
jb 0x18004b8a0
mov rax, qword [rbp + 0x148]
cmp rax, 8
jb 0x18004bf53
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bf4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c174
call fcn.180076484
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
add rbx, 8
mov qword [rsp + 0x70], rbx
cmp eax, 3
mov rdx, qword [rsp + 0x58]
movabs r8, 0x7ffffffffffffffe
jb 0x18004b878
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_FindFirstFreeAce]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov byte [rsp + 0x54], 1
mov ebx, dword [rsp + 0x68]
mov edi, dword [rsp + 0x6c]
mov esi, 0x6c
lea r13d, [rsi - 7]
jmp 0x18004c0e7
mov qword [rbp - 0x70], r14
jmp case.0x18004b7b4.13
movss xmm0, dword [rdx]
movss dword [rbp - 0x80], xmm0
jmp case.0x18004b7b4.13
lea rcx, [rbp + 0x1f8]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18004bfd6
mov eax, dword [0x18007cf4c]
mov dword [rcx], eax
movzx eax, word [0x18007cf50]
mov word [rcx + 4], ax
jmp case.0x18004b7b4.13
mov dword [rbp + 0x1fc], esi
movsd xmm0, qword [str.eay32]
movsd qword [rbp + 0x1fe], xmm0
mov eax, dword [0x1800803e8]
mov dword [rbp + 0x206], eax
movups xmm0, xmmword [rbp + 0x1a8]
movups xmmword [rbp + 0x190], xmm0
movsd xmm1, qword [rbp + 0x1b8]
movsd qword [rbp + 0x1a0], xmm1
lea rax, [rbp + 0x210]
mov qword [rbp + 0x190], rax
jmp case.0x18004b7b4.13
mov dword [rbp + 0x1e8], 0x790061
mov dword [rbp + 0x1ec], 0x320033
jmp case.0x18004b7b4.13
movzx eax, word [0x180080410]
mov word [rbp + 0x1c5], ax
movzx eax, byte [0x180080412]
mov byte [rbp + 0x1c7], al
mov byte [rbp + 0x1c8], 0
mov r8d, 3
lea rdx, [0x180080452]
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18004c0e7
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x198], rax
mov word [rbp - 0x6e], r10w
jmp case.0x18004b7b4.13
mov r8d, 0xa
lea rdx, [rbp + 0x21c]
lea ecx, [r8 + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltow]
mov word [rbp + 0x1e0], si
mov dword [rbp + 0x1e2], 0x620069
mov word [rbp + 0x1e6], r13w
mov rdx, qword [rsp + 0x58]
movabs r8, 0x7ffffffffffffffe
lea r9, [0x180000000]
mov r10d, 8
movabs r11, 0x760073006d
mov eax, dword [rsp + 0x50]
inc ebx
mov dword [rsp + 0x68], ebx
inc edi
mov dword [rsp + 0x6c], edi
cmp ebx, eax
jb 0x18004b7a0
movzx eax, word [rsp + 0x54]
mov rcx, qword [rbp + 0x228]
xor rcx, rsp
call fcn.180076c30
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180076484
jmp case.0x18004b7b4.12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, dword [rbp - 0x80]
mov edx, eax
shr rdx, 0x17
movzx ecx, byte [rdx + r9 + 0x8c580]
and eax, 0x7fffff
shr eax, cl
add ax, word [r9 + rdx*2 + 0x8c180]
jmp 0x18004c12a
call fcn.180024b20
int3