Function at 0x140002540
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140024020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov r14, rcx
lea rdx, str..NET_Runtime
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov r15, rax
xor r13d, r13d
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
mov qword [rsp + 0x20], 0x28
lea r9, str.Description:_A_.NET_application_failed._n
lea edx, [r13 + 0x28]
lea rcx, [rbp - 0x28]
call fcn.140005a40
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rdi
cmp rax, 0xd
jb 0x1400025fe
lea rax, [rdi + 0xd]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rdi*2]
lea r8d, [r13 + 0x1a]
lea rdx, str.Application:
call fcn.1400156b0
mov word [rbx + rdi*2 + 0x1a], r13w
lea rax, [rbp - 0x28]
jmp 0x14000261c
mov qword [rsp + 0x20], 0xd
lea r9, str.Application:
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.140005a40
mov rdx, rsi
mov rcx, rax
call fcn.140004ff0
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, r8
sub rcx, rdx
mov esi, 0xa
mov r12d, 1
cmp rcx, r12
jb 0x140002661
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 8
jb 0x140002656
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x140002678
mov qword [rsp + 0x20], r12
lea r9, [0x14001ce70]
mov rdx, r12
mov rcx, rax
call fcn.140005a40
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rdi
cmp rax, 6
jb 0x1400026c3
lea rax, [rdi + 6]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rdi*2]
mov r8d, 0xc
lea rdx, str.Path:
call fcn.1400156b0
mov word [rbx + rdi*2 + 0xc], r13w
lea rax, [rbp - 0x28]
jmp 0x1400026e1
mov qword [rsp + 0x20], 6
lea r9, str.Path:
mov edx, 6
lea rcx, [rbp - 0x28]
call fcn.140005a40
mov rdx, r14
mov rcx, rax
call fcn.140004ff0
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rcx, r12
jb 0x14000271b
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 8
jb 0x140002710
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x140002732
mov qword [rsp + 0x20], r12
lea r9, [0x14001ce70]
mov rdx, r12
mov rcx, rax
call fcn.140005a40
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rdi
cmp rax, 9
jb 0x14000277d
lea rax, [rdi + 9]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rdi*2]
mov r8d, 0x12
lea rdx, str.Message:
call fcn.1400156b0
mov word [rbx + rdi*2 + 0x12], r13w
lea rbx, [rbp - 0x28]
jmp 0x14000279e
mov qword [rsp + 0x20], 9
lea r9, str.Message:
mov edx, 9
lea rcx, [rbp - 0x28]
call fcn.140005a40
mov rbx, rax
lea r9, [0x1400244d8]
cmp qword [0x1400244f0], 8
cmovae r9, qword [0x1400244d8]
mov rdi, qword [0x1400244e8]
mov r14, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140002803
lea rax, [r14 + rdi]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 8
jb 0x1400027e3
mov rsi, qword [rbx]
lea rcx, [rsi + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.1400156b0
lea rax, [r14 + rdi]
mov word [rsi + rax*2], r13w
mov esi, 0xa
jmp 0x140002816
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rbx
call fcn.140005a40
mov rbx, rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rcx, rdx
sub rcx, rax
cmp rcx, r12
jb 0x140002845
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
cmp rdx, 8
jb 0x14000283a
mov rbx, qword [rbx]
mov word [rbx + rax*2], si
mov word [rbx + rcx*2], r13w
jmp 0x14000285c
mov qword [rsp + 0x20], r12
lea r9, [0x14001ce70]
mov rdx, r12
mov rcx, rbx
call fcn.140005a40
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
xor r8d, r8d
mov edx, r12d
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x20], r13
mov r9d, 0x3ff
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400028ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013e10
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013df0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret