Function at 0x140004420
Capabilities:
Access the windows event log

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
lea rdx, str.install
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400044da
mov rbx, qword [0x140032cb8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], al
jne 0x1400046f6
nop word [rax + rax]
lea r8, [rbx + 0x68]
lea rdx, [rbx + 0x48]
lea rcx, [rbx + 0x28]
call fcn.140003a10
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400044ad
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400044a8
cmp rbx, qword [rax + 0x10]
jne 0x1400044a8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140004495
mov rbx, rax
jmp 0x1400044cf
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x1400044cf
nop dword [rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400044c0
cmp byte [rbx + 0x19], 0
je 0x140004470
jmp 0x1400046f6
mov rcx, qword [rbx + 8]
lea rdx, str.uninstall
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000456a
mov rbx, qword [0x140032cb8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], al
jne 0x1400046f6
lea rcx, [rbx + 0x28]
call fcn.140003d90
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140004538
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140004533
nop
cmp rbx, qword [rax + 0x10]
jne 0x140004533
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140004520
mov rbx, rax
jmp 0x14000455f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14000455f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140004550
cmp byte [rbx + 0x19], 0
je 0x140004502
jmp 0x1400046f6
mov rcx, qword [0x140032cb8]
mov rdx, rcx
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140004598
nop
cmp dword [rax + 0x20], 0
jge 0x14000458c
mov rax, qword [rax + 0x10]
jmp 0x140004592
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140004580
cmp byte [rdx + 0x19], 0
jne 0x140004711
cmp dword [rdx + 0x20], 0
jg 0x140004711
add rdx, 0x28
cmp qword [rdx + 0x18], 7
jbe 0x1400045ba
mov rdx, qword [rdx]
lea rax, [0x140004350]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400045ed
cmp dword [rax + 0x20], 1
jge 0x1400045e1
mov rax, qword [rax + 0x10]
jmp 0x1400045e7
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400045d5
cmp byte [rcx + 0x19], 0
jne 0x140004711
cmp dword [rcx + 0x20], 1
jg 0x140004711
add rcx, 0x28
mov qword [rsp + 0x160], rdi
cmp qword [rcx + 0x18], 7
jbe 0x140004617
mov rcx, qword [rcx]
mov qword [rsp + 0x70], rcx
lea rax, [0x1400040e0]
xor edi, edi
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400046ee
mov qword [rsp + 0x150], rsi
xor ecx, ecx
lea rsi, str.Express_By_Deluxe
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400046e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.StartServiceCtrlDispatcher
mov dword [rsp + 0x20], eax
lea r8, str._s_failed_with__d
lea edx, [rdi + 0x50]
lea rcx, [rsp + 0x90]
call fcn.140003950
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea edx, [rdi + 1]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], edi
mov r9d, 0xc0020001
mov word [rsp + 0x28], 2
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rsi, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x160]
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140006840
add rsp, 0x140
pop rbx
ret
lea rcx, str.invalid_map_K__T__key
call fcn.140006384
int3