Function at 0x140002430
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.140005780
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x1400024ed
lea rdi, [rcx + 0xd]
mov qword [rbp - 0x18], rdi
lea rbx, [rbp - 0x28]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rcx*2]
lea r8d, [r13 + 0x1a]
lea rdx, str.Application:
call fcn.1400153a0
mov word [rbx + rdi*2], r13w
lea rax, [rbp - 0x28]
jmp 0x14000250b
mov qword [rsp + 0x20], 0xd
lea r9, str.Application:
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.140005780
mov rdx, rsi
mov rcx, rax
call fcn.140004c20
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 0x140002550
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 8
jb 0x140002545
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x140002567
mov qword [rsp + 0x20], r12
lea r9, [0x14001d120]
mov rdx, r12
mov rcx, rax
call fcn.140005780
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x1400025b1
lea rdi, [rcx + 6]
mov qword [rbp - 0x18], rdi
lea rbx, [rbp - 0x28]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rcx*2]
mov r8d, 0xc
lea rdx, str.Path:
call fcn.1400153a0
mov word [rbx + rdi*2], r13w
lea rax, [rbp - 0x28]
jmp 0x1400025cf
mov qword [rsp + 0x20], 6
lea r9, str.Path:
mov edx, 6
lea rcx, [rbp - 0x28]
call fcn.140005780
mov rdx, r14
mov rcx, rax
call fcn.140004c20
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rcx, r12
jb 0x140002609
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 8
jb 0x1400025fe
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x140002620
mov qword [rsp + 0x20], r12
lea r9, [0x14001d120]
mov rdx, r12
mov rcx, rax
call fcn.140005780
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14000266a
lea rdi, [rcx + 9]
mov qword [rbp - 0x18], rdi
lea rbx, [rbp - 0x28]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rcx*2]
mov r8d, 0x12
lea rdx, str.Message:
call fcn.1400153a0
mov word [rbx + rdi*2], r13w
lea rbx, [rbp - 0x28]
jmp 0x14000268b
mov qword [rsp + 0x20], 9
lea r9, str.Message:
mov edx, 9
lea rcx, [rbp - 0x28]
call fcn.140005780
mov rbx, rax
lea r9, [0x1400244d8]
cmp qword [0x1400244f0], 8
cmovae r9, qword [0x1400244d8]
mov rdx, qword [0x1400244e8]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400026ec
lea rsi, [rcx + rdx]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x1400026d0
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.1400153a0
mov word [rdi + rsi*2], r13w
mov esi, 0xa
jmp 0x1400026fc
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.140005780
mov rbx, rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rcx, rdx
sub rcx, rax
cmp rcx, r12
jb 0x14000272b
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
cmp rdx, 8
jb 0x140002720
mov rbx, qword [rbx]
mov word [rbx + rax*2], si
mov word [rbx + rcx*2], r13w
jmp 0x140002742
mov qword [rsp + 0x20], r12
lea r9, [0x14001d120]
mov rdx, r12
mov rcx, rbx
call fcn.140005780
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 0x1400027d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013b00
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013ae0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret