Function at 0x18001ca20
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x18008ab58]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rax, qword gs:[0x58]
xor ebx, ebx
mov r8d, dword [0x18008b2a0]
mov r13, rdx
mov r15d, 8
mov r12, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
lea edi, [rbx + 1]
mov rsi, qword [rax + r8*8]
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x4c], ebx
mov eax, dword [r15 + rsi]
mov dword [rsp + 0x38], ebx
and eax, 0x800
jne 0x18001caa4
test dword [r15 + rsi], 0x4000000
je 0x18001caa8
mov dword [rsp + 0x38], edi
mov r8d, 0x20
mov r15d, 0xfffffffb
mov r9d, 0x10
test eax, eax
jne 0x18001ce6e
mov r10d, r8d
lea r14, [r12 + 0x9c]
add r10, rsi
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], r10
mov ecx, ebx
mov qword [rsp + 0x40], r14
mov edx, 0x100
mov r13d, ebx
mov eax, ecx
test ecx, ecx
lea rcx, [rbp - 0x50]
je 0x18001cb2f
cmp eax, 1
je 0x18001cb13
lea r8, str.SystemCurrentControlSetServicesEventLogApplication
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
lea rdi, [0x18007c3d8]
jmp 0x18001cb49
lea r8, str.SystemCurrentControlSetServicesEventLogSecurity
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
lea rdi, [0x18007c438]
jmp 0x18001cb49
lea r8, str.SystemCurrentControlSetServicesEventLogSystem
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
lea rdi, [0x18007c3f8]
mov r8d, dword [rsp + 0x38]
mov r9, rdi
mov r12, qword [rsp + 0x58]
inc r8d
mov ecx, 0x10
mov rdx, r12
mov rcx, qword [rcx + rsi]
call fcn.180044a68
test eax, eax
je 0x18001cb94
mov ecx, eax
call fcn.180011120
mov r9, rdi
mov r8d, 0x1c4d
mov edi, 1
mov edx, eax
mov ecx, edi
mov r13d, eax
call fcn.180038d90
jmp 0x18001ce1e
movdqa xmm0, xmmword [0x18007a550]
lea r9, [rsp + 0x30]
lea r8, str.MaxSize
mov dword [rsp + 0x30], 4
lea rdx, [rbp - 0x50]
mov dword [rsp + 0x48], ebx
mov rcx, 0xffffffff80000002
movups xmmword [rsp + 0x70], xmm0
call fcn.180010b50
mov edi, eax
test eax, eax
jne 0x18001cda2
lea r9, [rsp + 0x4c]
mov rcx, 0xffffffff80000002
lea r8, str.Retention
lea rdx, [rbp - 0x50]
call fcn.180010b50
mov edi, eax
test eax, eax
jne 0x18001cda2
lea r9, [rsp + 0x48]
mov rcx, 0xffffffff80000002
lea r8, str.RestrictGuestAccess
lea rdx, [rbp - 0x50]
call fcn.180010b50
mov eax, dword [rsp + 0x30]
mov r9d, r15d
shr eax, 0xa
mov ecx, 8
mov dword [rsp + 0x30], eax
mov r8d, dword [rcx + rsi]
bt r8d, 0xb
jb 0x18001cc37
mov r9d, dword [r14 - 0xc]
mov rcx, qword [r12]
lea rdx, str.MaximumLogSize
and r8d, 0x4000000
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov ecx, eax
test eax, eax
jne 0x18001cd99
mov ecx, dword [rsp + 0x4c]
mov r8d, 1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x70], eax
test ecx, ecx
je 0x18001cc90
cmp ecx, 0xffffffff
je 0x18001cc88
mov eax, 0xc22e4507
mov r14d, r8d
mul ecx
mov edi, edx
shr edi, 0x10
jmp 0x18001cc98
mov r14d, 2
jmp 0x18001cc93
mov r14d, ebx
mov edi, 0xfffffffe
mov rax, qword [rsp + 0x40]
mov r12d, ebx
mov ecx, 8
test dword [rcx + rsi], 0x4000000
je 0x18001ccbb
cmp dword [rax], 0xfffffffe
jne 0x18001ccbb
cmp dword [rax + 0xc], 0xfffffffe
cmove r12d, r8d
test dword [rcx + rsi], 0x800
mov r9d, r15d
jne 0x18001ccca
mov r9d, dword [rax]
mov r10, qword [rsp + 0x58]
lea rdx, str.AuditLogRetentionPeriod
mov r8d, r12d
mov dword [rsp + 0x20], r14d
mov rcx, qword [r10]
call fcn.180043d38
mov ecx, eax
test eax, eax
jne 0x18001cd8f
mov dword [rsp + 0x74], r14d
cmp edi, 0xfffffffe
je 0x18001cd38
mov r14, qword [rsp + 0x40]
mov r9d, r15d
mov eax, 8
test dword [rax + rsi], 0x800
jne 0x18001cd14
mov r9d, dword [r14 + 0xc]
mov r8d, r12d
mov dword [rsp + 0x20], edi
mov r12, qword [rsp + 0x58]
lea rdx, str.RetentionDays
mov rcx, qword [r12]
call fcn.180043d38
mov ecx, eax
test eax, eax
jne 0x18001cd99
jmp 0x18001cd3d
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
mov r9d, r15d
mov eax, 8
mov dword [rsp + 0x78], edi
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001cd5d
mov r9d, dword [r14 + 0x18]
mov eax, dword [rsp + 0x48]
lea rdx, str.RestrictGuestAccess
mov rcx, qword [r12]
and r8d, 0x4000000
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov ecx, eax
mov eax, dword [rsp + 0x7c]
test ecx, ecx
cmove eax, dword [rsp + 0x48]
mov dword [rsp + 0x7c], eax
jmp 0x18001cd99
mov r14, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
call fcn.180011120
mov edi, eax
jmp 0x18001cdb4
mov r8d, 0x1c70
mov edx, edi
mov ecx, 1
call fcn.180038d90
test edi, edi
je 0x18001ce19
mov eax, 8
test dword [rax + rsi], 0x4000000
jne 0x18001ce19
mov eax, ebx
mov dword [rsp + 0x30], ebx
mov ecx, ebx
lea r14, [0x180000000]
mov edx, ecx
mov ecx, 0xfffffff9
cmp dword [rsp + rdx*4 + 0x70], ecx
jne 0x18001ce04
mov rdx, qword [r14 + rdx*8 + 0x710b0]
mov r9d, 0xfffffffe
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, qword [r12]
call fcn.180043d38
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov ecx, eax
cmp eax, 4
jb 0x18001cdd5
mov r14, qword [rsp + 0x40]
mov r13d, edi
mov edi, 1
mov ecx, dword [rsp + 0x50]
add r14, 4
add ecx, edi
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x50], ecx
mov edx, 0x100
cmp ecx, 3
jb 0x18001cae8
mov dword [rsp + 0x34], r13d
test r13d, r13d
mov r13, qword [rsp + 0x68]
jne 0x18001ce5d
xor edx, edx
mov r8d, 0x1c49
mov ecx, edi
call fcn.180038d90
mov r12, qword [rsp + 0x60]
mov r9d, 0x10
mov r8d, 0x20
mov eax, 8
test dword [rax + rsi], 0x800
je 0x18001ce8a
test r13, r13
jne 0x18001ce8a
lea edi, [r13 + 5]
jmp 0x18001d257
mov r14d, r8d
mov r8d, dword [rsp + 0x38]
add r14, rsi
mov ecx, r9d
inc r8d
lea r9, [0x18007c4d8]
mov rdx, r14
mov rcx, qword [rcx + rsi]
call fcn.180044a68
test eax, eax
je 0x18001ced4
mov ecx, eax
call fcn.180011120
lea r9, [0x18007c4d8]
mov r8d, 0x1c4d
mov edx, eax
mov ecx, edi
call fcn.180038d90
jmp 0x18001d253
mov eax, 8
mov ecx, 9
mov r10d, dword [rax + rsi]
mov r8d, r10d
and r8d, 0x800
jne 0x18001cf07
movdqa xmm0, xmmword [0x18007a550]
movups xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x30], ecx
movups xmmword [rbp - 0x70], xmm0
movd dword [rbp - 0x60], xmm0
test r13, r13
je 0x18001d1ca
cmp byte [r13], bl
jne 0x18001cf2f
mov edx, ebx
cmp dword [r13 + 0x10], ebx
jbe 0x18001cf2f
mov rax, qword [r13 + 8]
mov ecx, edx
add edx, edi
mov dword [rax + rcx*4], ebx
cmp edx, dword [r13 + 0x10]
jb 0x18001cf1e
mov r9d, r15d
test r8d, r8d
jne 0x18001cf3f
mov r9d, dword [r12 + 0xc0]
mov rax, qword [r13 + 8]
lea rdx, str.AuditSystemEvents
mov rcx, qword [r14]
and r10d, 0x4000000
mov r8d, r10d
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x80], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001cf8e
mov r9d, dword [r12 + 0xc4]
mov rax, qword [r13 + 8]
lea rdx, str.AuditLogonEvents
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 4]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x7c], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001cfdb
mov r9d, dword [r12 + 0xc8]
mov rax, qword [r13 + 8]
lea rdx, str.AuditObjectAccess
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x78], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001d028
mov r9d, dword [r12 + 0xcc]
mov rax, qword [r13 + 8]
lea rdx, str.AuditPrivilegeUse
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x74], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001d075
mov r9d, dword [r12 + 0xd8]
mov rax, qword [r13 + 8]
lea rdx, str.AuditProcessTracking
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x68], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001d0c2
mov r9d, dword [r12 + 0xd0]
mov rax, qword [r13 + 8]
lea rdx, str.AuditPolicyChange
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x6c], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001d10f
mov r9d, dword [r12 + 0xd4]
mov rax, qword [r13 + 8]
lea rdx, str.AuditAccountManage
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov r9d, r15d
mov dword [rbp - 0x64], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001d15c
mov r9d, dword [r12 + 0xdc]
mov rax, qword [r13 + 8]
lea rdx, str.AuditDSAccess
mov rcx, qword [r14]
and r8d, 0x4000000
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
test eax, eax
jne 0x18001d1d0
mov eax, 8
mov dword [rbp - 0x60], 1
mov r8d, dword [rax + rsi]
bt r8d, 0xb
jb 0x18001d1a2
mov r15d, dword [r12 + 0xe0]
mov rax, qword [r13 + 8]
lea rdx, str.AuditAccountLogon
mov rcx, qword [r14]
and r8d, 0x4000000
mov r9d, r15d
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov edi, eax
jmp 0x18001d1cc
mov edi, ecx
test edi, edi
je 0x18001d1ed
mov ecx, edi
call fcn.180011120
mov r8d, 0x1c3a
mov edx, eax
mov ecx, 1
mov edi, eax
call fcn.180038d90
jmp 0x18001d1fd
xor edx, edx
mov r8d, 0x1c44
lea ecx, [rdx + 1]
call fcn.180038d90
test edi, edi
je 0x18001d253
mov dword [rsp + 0x34], edi
cmp dword [rsp + 0x38], ebx
jne 0x18001d257
mov dword [rsp + 0x30], ebx
lea rdi, [0x180000000]
mov eax, ebx
mov edx, eax
mov eax, 0xfffffff9
cmp dword [rbp + rdx*4 - 0x80], eax
jne 0x18001d246
mov rdx, qword [rdi + rdx*8 + 0x710d0]
mov r9d, 0xfffffffe
mov rcx, qword [r14]
xor r8d, r8d
mov dword [rsp + 0x20], eax
call fcn.180043d38
mov ebx, dword [rsp + 0x30]
inc ebx
mov dword [rsp + 0x30], ebx
mov eax, ebx
cmp ebx, 9
jb 0x18001d218
mov edi, dword [rsp + 0x34]
mov ecx, edi
call fcn.18000ec90
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180002a90
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret