Function at 0x180066160
Capabilities:
Access the windows event log

Disassembly:
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x60]
add rsp, 0x88
pop r14
pop r13
ret
mov rdx, rdi
mov rcx, rbx
call fcn.1800585c0
test eax, eax
je 0x180050755
cmp dword [rbx + 8], 0
je 0x180050480
xor eax, eax
xor r9d, r9d
mov r8, rbx
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.180057530
test eax, eax
je 0x180050733
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x30]
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], 0
call fcn.180057010
test eax, eax
je 0x180050711
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call fcn.18005df80
test eax, eax
je 0x1800506ec
add dword [rax], eax
invalid
add dword [rax], eax
add byte [rax - 0x75], cl
push rsp
and al, 0x38
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov r9, rbp
mov r8, rdi
call fcn.18005d7a0
test eax, eax
je 0x1800506c7
mov rcx, qword [rsi]
cmp dword [rcx + 8], 0
je 0x180050480
mov rdx, rdi
call fcn.180053790
test eax, eax
je 0x180050480
mov rdx, qword [rsp + 0xb8]
mov r8, r13
mov rcx, r12
call fcn.18005df80
test eax, eax
je 0x1800506a2
mov r9, rbp
mov r8, rdi
mov rdx, r12
mov rcx, r12
call fcn.18005ce00
test rax, rax
je 0x18005067d
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x40]
mov r9, rbp
mov r8, r13
call fcn.180060c70
test eax, eax
je 0x180050658
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.18005deb0
test eax, eax
je 0x180050633
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov r9, rbp
mov rdx, r12
call fcn.180060c70
test eax, eax
je 0x18005060e
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsi + 8]
mov r9, rbp
mov r8, rdi
call fcn.18005d7a0
test eax, eax
je 0x1800505e9
mov rax, qword [rsi + 8]
cmp dword [rax + 8], 0
je 0x180050480
jmp 0x1800507a1
mov edx, 0x67
lea r9, [0x18010f7b8]
mov dword [rsp + 0x20], 0x31a
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f798]
mov dword [rsp + 0x20], 0x313
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f778]
mov dword [rsp + 0x20], 0x30c
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f758]
mov dword [rsp + 0x20], 0x305
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f738]
mov dword [rsp + 0x20], 0x2fe
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f718]
mov dword [rsp + 0x20], 0x2f7
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f6f8]
mov dword [rsp + 0x20], 0x2ea
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f6d8]
mov dword [rsp + 0x20], 0x2e3
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x64]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f6b8]
mov dword [rsp + 0x20], 0x2dc
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x57]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f698]
mov dword [rsp + 0x20], 0x2d6
lea ecx, [rdx - 0x3d]
lea r8d, [rdx - 0x57]
call fcn.18005eba0
jmp 0x180050797
mov edx, 0x67
lea r9, [0x18010f678]
mov dword [rsp + 0x20], 0x2c3
lea ecx, [rdx - 0x3d]
lea r8d, [rdx + 1]
call fcn.18005eba0
jmp 0x180050797
mov rcx, rsi
call fcn.18005f310
xor esi, esi
test rbx, rbx
je 0x1800507ae
mov rcx, rbx
call fcn.1800530f0
mov rbx, qword [rsp + 0xa8]
test rdi, rdi
je 0x1800507c3
mov rcx, rdi
call fcn.1800530f0
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x70]
test rax, rax
je 0x1800507da
mov rcx, rax
call fcn.1800530f0
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1800507ec
mov rcx, rax
call fcn.1800530f0
test r14, r14
je 0x1800507f9
mov rcx, r14
call fcn.180056c50
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x18005080b
mov rcx, rax
call fcn.1800530f0
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x180050829
call fcn.1800530f0
mov qword [rsp + 0xb8], 0
test r12, r12
je 0x180050836
mov rcx, r12
call fcn.1800530f0
mov rax, qword [rsp + 0x40]
mov r12, qword [rsp + 0x68]
test rax, rax
je 0x18005084d
mov rcx, rax
call fcn.1800530f0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18005085f
mov rcx, rax
call fcn.1800530f0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x180050871
mov rcx, rax
call fcn.1800530f0
mov rcx, r15
call fcn.1800575f0
test rbp, rbp
je 0x180050886
mov rcx, rbp
call fcn.180057fc0
mov rbp, qword [rsp + 0x80]
mov rax, rsi
jmp 0x180050304
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.1800c7940
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x18010db20]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x1800661e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1800661e0
lea rbx, [rbp + 0x268]
call fcn.180045c38
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.1800c0be4
jmp 0x1800663a8
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.180065d60
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x180066209
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800c7940
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x180066230
lea rbx, str.no_stack_
jmp 0x180066303
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180066279
mov rdx, rsi
test rdi, rdi
je 0x180066279
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x180066260
mov rdx, rsi
test rdi, rdi
je 0x180066303
mov r10d, 0x53
lea r9, sym.SecEditCtlAdv.CMBCEnterprise.x64.dll_nqu__i6_jj.1___V_O0yryMZ5G6q_
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x1800662d2.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x1800662d2.47
cdqe
movzx eax, byte [r9 + rax + 0x663e0]
mov ecx, dword [r9 + rax*4 + 0x663c8]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x1800662b0
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x1800662d2.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x1800662d2.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x1800662d2.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x1800662a0
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.1800c0a40
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x18006638f
call fcn.180065fd0
test eax, eax
jle 0x18006638f
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x1800663a8
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.180037360
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret