Function at 0x1800488d0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17f0]
mov eax, 0x18f0
call fcn.180060270
sub rsp, rax
mov rax, qword [0x1800b43d8]
xor rax, rsp
mov qword [rbp + 0x17e0], rax
mov r14, qword [rbp + 0x1850]
mov esi, r9d
movzx eax, byte [rsp + 0x44]
mov r13, rcx
mov ebx, dword [rsp + 0x48]
mov edi, esi
mov r15d, dword [rsp + 0x48]
lea ecx, [rsi - 0xc]
mov dword [rsp + 0x64], r9d
mov r9, qword [rbp + 0x1858]
mov qword [rbp - 0x68], r9
mov r12, qword [rbp - 0x68]
mov qword [rbp - 0x40], r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x30], ecx
mov byte [rsp + 0x44], al
cmp esi, ecx
jbe 0x180048f62
mov eax, dword [rsp + 0x48]
add esi, 0xffffff3e
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x54], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x50], r15d
mov r8d, 0x6c
cmp esi, 0x26
ja case.default.0x1800489c6
lea rcx, [0x180000000]
movzx eax, byte [rcx + rsi + 0x493b8]
mov ecx, dword [rcx + rax*4 + 0x49384]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov eax, 0x79
mov dword [rbp + 0x17d0], 0x547349
mov word [rbp + 0x17d3], ax
jmp case.0x1800489c6.3
lea rdx, [rbp - 0x18]
mov ecx, 0x76
call fcn.18003ac40
test eax, eax
jne 0x180048f18
lea ecx, [r15 - 1]
mov edi, 1
shl edi, cl
mov eax, 1
mov ecx, r15d
mov dword [rbp - 0x60], edi
shl eax, cl
mov r14d, edi
mov dword [rsp + 0x48], eax
cmp edi, eax
jge 0x180048b06
movsxd rax, r14d
lea rdx, [rbp - 0x30]
lea rcx, [rax + rax*2]
lea rdx, [rdx + rcx*8]
mov ecx, 0x76
call fcn.18003ac40
mov dword [rbp - 0x5c], eax
test eax, eax
je 0x180048af4
mov esi, 0x86
nop dword [rax]
mov ecx, esi
sub ecx, 0x86
je 0x180048a92
cmp ecx, 0xf
jne 0x180048ae5
mov rax, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x17e0]
xor rcx, rsp
call fcn.1800602e0
mov rbx, qword [rsp + 0x1938]
add rsp, 0x18f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edi, r14d
jge 0x180048acd
movsxd rax, edi
lea rbx, [rbp - 0x30]
lea rcx, [rax + rax*2]
mov eax, r14d
sub eax, edi
lea rbx, [rbx + rcx*8]
mov edi, eax
nop dword [rax]
mov r8d, 0xa5
mov rdx, rbx
xor ecx, ecx
call fcn.180059240
add rbx, 0x18
sub rdi, 1
jne 0x180048ab0
mov edi, dword [rbp - 0x60]
mov r8d, 0xa5
lea rdx, [rbp - 0x18]
xor ecx, ecx
call fcn.180059240
mov eax, dword [rbp - 0x5c]
mov dword [rsp + 0x68], eax
add esi, 0xf
cmp esi, 0xa4
jb 0x180048a50
inc r14d
cmp r14d, dword [rsp + 0x48]
jl 0x180048a20
mov esi, dword [rsp + 0x60]
lea rdx, [rbp - 0x58]
mov ecx, 0x76
call fcn.18003ac40
mov ebx, eax
test eax, eax
jne 0x180048e8c
mov edi, dword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
jmp 0x180048e52
mov ecx, 0xb6
mov dword [rbp + 0x17d7], 0x6f626d79
mov word [rbp + 0x17db], r8w
mov byte [rsp + 0x44], 1
call fcn.180056500
jmp 0x180048e52
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x68], rax
jmp case.0x1800489c6.3
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 5]
call fcn.1800388c0
cmp eax, 7
jg 0x180048b83
mov r15d, 2
mov dword [rsp + 0x50], r15d
jmp 0x180048e52
cmp eax, 0x24
jg 0x180048b98
mov r15d, 3
mov dword [rsp + 0x50], r15d
jmp 0x180048e52
mov rdx, qword [rsp + 0x58]
cmp eax, 0x8c
jg 0x180048bb4
mov r15d, 4
mov dword [rsp + 0x50], r15d
jmp case.0x1800489c6.3
mov ecx, dword [rsp + 0x30]
cmp eax, 0x1c2
jg 0x180048bcf
mov r15d, 5
mov dword [rsp + 0x50], r15d
jmp case.default.0x1800489c6
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
cmp eax, 0x517
jg 0x180048bfa
mov r15d, 6
mov dword [rsp + 0x50], r15d
jmp 0x180048e6f
xor r15d, r15d
cmp eax, 0xdc9
setg r15b
add r15d, 7
mov dword [rsp + 0x50], r15d
jmp 0x180048e6f
xor edi, edi
lea r14d, [r15 - 1]
test r14d, r14d
jle 0x180048c78
mov ecx, r14d
lea rsi, [rbp - 0x30]
mov eax, 1
shl eax, cl
cdqe
lea rcx, [rax + rax*2]
lea rsi, [rsi + rcx*8]
nop word [rax + rax]
mov r8, rsi
mov rdx, rsi
mov ecx, 0xc8
call fcn.180045630
mov ebx, eax
test eax, eax
jne 0x180048f26
lea r8, [rbp - 0x58]
mov rdx, r13
mov rcx, rsi
call r12
mov ebx, eax
test eax, eax
jne 0x180048f26
inc edi
cmp edi, r14d
jl 0x180048c40
mov ecx, r14d
mov esi, 1
shl esi, cl
mov ecx, r15d
mov r15d, 1
shl r15d, cl
lea edi, [rsi + 1]
cmp edi, r15d
jge 0x180048cfa
nop word [rax + rax]
movsxd rax, edi
lea r14, [rbp - 0x30]
mov r9d, 0x75
lea rcx, [rax + rax*2]
movsxd rax, esi
lea r14, [r14 + rcx*8]
lea rcx, [rbp - 0x30]
mov r8, r14
lea rdx, [rax + rax*2]
lea rcx, [rcx + rdx*8]
lea rdx, [rbp - 0x18]
call fcn.18004fbb0
mov ebx, eax
test eax, eax
jne 0x180048f21
lea r8, [rbp - 0x58]
mov rdx, r13
mov rcx, r14
call r12
mov ebx, eax
test eax, eax
jne 0x180048f21
inc edi
inc esi
cmp edi, r15d
jl 0x180048ca0
lea rdx, [rbp - 0x80]
mov ecx, 0x76
call fcn.18003ac40
mov r15d, dword [rsp + 0x50]
mov ebx, eax
test eax, eax
jne 0x180048f26
mov esi, dword [rsp + 0x60]
mov edi, dword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
jmp 0x180048e52
mov r9d, 0x127
mov dword [rsp + 0x48], 1
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.180005420
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov ecx, dword [rsp + 0x30]
xor r10d, r10d
mov r11d, 1
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], r11d
jmp 0x180048e6a
mov ecx, dword [r9]
mov r9d, dword [rsp + 0x38]
dec ecx
mov r10d, dword [rsp + 0x40]
xor r8d, r8d
mov r11d, dword [rsp + 0x3c]
mov dword [rsp + 0x54], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
jmp 0x180048e6f
mov dword [rbp + 0x17d4], 0x536570
jmp case.0x1800489c6.3
cmp dword [rdx], 0
jne 0x180048dde
mov r9, r13
mov qword [rsp + 0x20], 0
lea r8, [rbp - 0x58]
xor edx, edx
mov ecx, 0x8c
call fcn.18004ea00
mov rbx, rax
test eax, eax
jne 0x180048f26
lea r12, [0x18005fbb0]
jmp 0x180048e02
xor r9d, r9d
lea rcx, [rbp - 0x58]
mov rdx, r13
lea r8d, [r9 + 4]
call fcn.18003eba0
mov ebx, eax
test eax, eax
jne 0x180048f26
lea r12, [0x18005fba0]
mov r9, r13
lea rcx, [rbp - 0x18]
mov r8d, 0x24
mov rdx, r14
call fcn.18005ba20
mov ebx, eax
test eax, eax
jne 0x180048f26
lea ecx, [r15 - 1]
mov eax, 1
shl eax, cl
lea rdx, [rbp - 0x30]
cdqe
lea r8, [rbp - 0x18]
lea rcx, [rax + rax*2]
lea rdx, [rdx + rcx*8]
mov ecx, 0x93
call fcn.1800373f0
mov ebx, eax
test eax, eax
jne 0x180048f26
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
dec edi
dec esi
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x60], esi
cmp edi, ecx
jbe 0x180048f94
mov r9, qword [rbp - 0x68]
jmp 0x180048997
mov rdi, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov esi, 0xcb
lea rdx, [rbp - 0x18]
xor ecx, ecx
mov dword [rsp + 0x64], esi
lea r8d, [rsi - 0x26]
call fcn.180059240
mov ecx, r15d
mov edx, 1
shl edx, cl
mov r8d, 1
lea ecx, [r15 - 1]
shl r8d, cl
cmp r8d, edx
jge 0x180049360
movsxd rax, r8d
lea rdi, [rbp - 0x30]
sub edx, r8d
mov esi, edx
lea rcx, [rax + rax*2]
lea rdi, [rdi + rcx*8]
nop word [rax + rax]
mov r8d, 0xa5
mov rdx, rdi
xor ecx, ecx
call fcn.180059240
add rdi, 0x18
sub rsi, 1
jne 0x180048ef0
mov rdi, qword [rsp + 0x48]
mov esi, dword [rsp + 0x64]
jmp 0x180049360
mov dword [rsp + 0x68], eax
jmp case.0x180048fda.201
mov r15d, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov esi, 0xcd
mov r14d, dword [rsp + 0x60]
mov qword [rsp + 0x48], rdi
jmp 0x180049360
mov rax, qword [r14 + 0x10]
cmp qword [rax], r14
jne 0x180048f55
mov dword [rsp + 0x68], 0
jmp case.0x180048fda.201
mov dword [rsp + 0x68], 1
jmp case.0x180048fda.201
mov r9d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x34], r8d
jmp 0x180048f9c
mov esi, dword [rsp + 0x64]
mov edx, dword [rsp + 0x54]
mov rdi, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x60]
mov qword [rsp + 0x48], rdi
cmp esi, ecx
jbe case.0x180048fda.201
lea eax, [rsi - 0xc1]
cmp eax, 0xf
ja case.default.0x180048fda
lea rcx, [0x180000000]
mov ecx, dword [rcx + rax*4 + 0x493e0]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov r8d, 0xa5
lea rdx, [rbp - 0x58]
xor ecx, ecx
call fcn.180059240
jmp 0x180049360
movsxd rcx, edx
xor r14d, r14d
mov qword [rsp + 0x58], rcx
jmp 0x180049014
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
nop dword [rax]
mov edx, dword [rsp + 0x54]
sub r11d, 1
mov dword [rsp + 0x3c], r11d
jne 0x18004904e
cmp rcx, 0xffffffffffffffff
je 0x1800491d3
mov rax, qword [rbp - 0x68]
dec edx
mov r11d, 0x1c
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x3c], r11d
mov rax, qword [rax + 0x10]
mov r10d, dword [rax + rcx*4]
dec rcx
mov qword [rsp + 0x58], rcx
mov edx, r10d
add r10d, r10d
shr edx, 0x1b
and edx, 1
mov dword [rsp + 0x40], r10d
test r9d, r9d
jne 0x18004914b
test edx, edx
je 0x180049010
inc r8d
mov ecx, r15d
sub ecx, r8d
mov dword [rsp + 0x34], r8d
shl edx, cl
mov r9d, 2
mov rcx, qword [rsp + 0x58]
or r14d, edx
mov edx, dword [rsp + 0x54]
mov dword [rsp + 0x38], r9d
cmp r8d, r15d
jne 0x180049014
mov esi, 0x120
mov eax, esi
sub eax, 0x11f
je 0x1800491a5
cmp eax, 1
jne 0x1800491bb
xor edi, edi
test r15d, r15d
jle 0x1800490fb
nop
lea r8, [rbp - 0x80]
mov ecx, 0xc8
lea rdx, [rbp - 0x80]
call fcn.180045630
mov ebx, eax
test eax, eax
jne 0x1800492c9
lea r8, [rbp - 0x58]
mov rdx, r13
lea rcx, [rbp - 0x80]
call r12
mov ebx, eax
test eax, eax
jne 0x1800492c9
inc edi
cmp edi, r15d
jl 0x1800490c0
movsxd rax, r14d
lea rdx, [rbp - 0x30]
mov r9d, 0x75
lea r8, [rbp - 0x80]
lea rcx, [rax + rax*2]
lea rdx, [rdx + rcx*8]
lea rcx, [rbp - 0x80]
call fcn.18004fbb0
mov ebx, eax
test eax, eax
jne 0x1800492c9
lea r8, [rbp - 0x58]
mov rdx, r13
lea rcx, [rbp - 0x80]
call r12
mov ebx, eax
test eax, eax
jne 0x1800492c9
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
jmp 0x1800491bb
cmp r9d, 1
jne 0x18004906c
test edx, edx
jne 0x18004906c
lea r8, [rbp - 0x80]
mov ecx, 0xc8
lea rdx, [rbp - 0x80]
call fcn.180045630
mov ebx, eax
test eax, eax
jne 0x1800492c9
lea r8, [rbp - 0x58]
mov rdx, r13
lea rcx, [rbp - 0x80]
call r12
mov ebx, eax
test eax, eax
jne 0x1800492c9
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
jmp 0x180048fff
xor r8d, r8d
mov r9d, 1
mov dword [rsp + 0x34], r8d
xor r14d, r14d
mov dword [rsp + 0x38], r9d
dec esi
cmp esi, 0x11e
ja 0x1800490a1
mov rcx, qword [rsp + 0x58]
jmp 0x180048fff
mov rdi, qword [rsp + 0x48]
mov esi, 0xcf
mov dword [rsp + 0x64], esi
cmp r9d, 2
jne case.0x180048fda.197
test r8d, r8d
jle case.0x180048fda.197
xor esi, esi
nop word [rax + rax]
mov edi, 0x115
mov eax, edi
sub eax, 0x115
je 0x180049258
cmp eax, 1
jne 0x180049284
mov ecx, r15d
add r14d, r14d
shl eax, cl
test r14d, eax
je 0x180049284
mov r9d, 0x75
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x80]
call fcn.18004fbb0
jmp 0x18004926a
mov rax, qword [0x1800b44b0]
dec esi
mov edx, dword [rsp + 0x54]
mov rcx, qword [rax + 0x48]
mov qword [rsp + 0x78], rcx
mov ecx, dword [rsp + 0x30]
jmp 0x180048fab
lea r8, [rbp - 0x80]
mov ecx, 0xc8
lea rdx, [rbp - 0x80]
call fcn.180045630
mov ebx, eax
test eax, eax
jne 0x1800492c9
lea r8, [rbp - 0x58]
mov rdx, r13
lea rcx, [rbp - 0x80]
call r12
mov ebx, eax
test eax, eax
jne 0x1800492c9
inc edi
cmp edi, 0x117
jb 0x180049205
mov r8d, dword [rsp + 0x34]
inc esi
cmp esi, r8d
jl 0x180049200
mov rdi, qword [rsp + 0x48]
mov esi, dword [rsp + 0x64]
jmp 0x180049365
mov r8, qword [rbp - 0x40]
lea rcx, [rbp - 0x80]
mov edx, 0xc4
call fcn.18000edb0
xor ebx, ebx
jmp 0x180049360
mov rdi, qword [rsp + 0x48]
mov r8d, 0xa5
lea rdx, [rbp - 0x80]
xor ecx, ecx
call fcn.180059240
mov esi, 0xcd
jmp 0x180049360
lea rdx, [rbp + 0x17d0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov rdi, rax
mov qword [rsp + 0x48], rax
jmp 0x180049360
mov ecx, dword [rsp + 0x30]
xor edi, edi
mov edx, dword [rsp + 0x54]
dec esi
mov qword [rsp + 0x48], rdi
jmp 0x180048fab
mov ecx, dword [rsp + 0x30]
dec esi
mov edx, dword [rsp + 0x54]
mov dword [rsp + 0x68], ebx
jmp 0x180048fab
mov rcx, qword [rsp + 0x78]
mov edx, 8
call fcn.18005fdc8
movzx eax, byte [rsp + 0x44]
xor ecx, ecx
test rdi, rdi
cmovne ecx, eax
mov byte [rsp + 0x44], cl
test cl, cl
je 0x180049355
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov qword [0x1800b44b0], 0
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x54]
dec esi
jmp 0x180048fab