Function at 0x140002480
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 [0x140023020]
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.140005810
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x14000253d
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.140014b70
mov word [rbx + rdi*2], r13w
lea rax, [rbp - 0x28]
jmp 0x14000255b
mov qword [rsp + 0x20], 0xd
lea r9, str.Application:
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.140005810
mov rdx, rsi
mov rcx, rax
call fcn.140004cb0
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 0x1400025a0
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 8
jb 0x140002595
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x1400025b7
mov qword [rsp + 0x20], r12
lea r9, [0x14001bda0]
mov rdx, r12
mov rcx, rax
call fcn.140005810
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x140002601
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.140014b70
mov word [rbx + rdi*2], r13w
lea rax, [rbp - 0x28]
jmp 0x14000261f
mov qword [rsp + 0x20], 6
lea r9, str.Path:
mov edx, 6
lea rcx, [rbp - 0x28]
call fcn.140005810
mov rdx, r14
mov rcx, rax
call fcn.140004cb0
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rcx, r12
jb 0x140002659
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 8
jb 0x14000264e
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x140002670
mov qword [rsp + 0x20], r12
lea r9, [0x14001bda0]
mov rdx, r12
mov rcx, rax
call fcn.140005810
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x1400026ba
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.140014b70
mov word [rbx + rdi*2], r13w
lea rbx, [rbp - 0x28]
jmp 0x1400026db
mov qword [rsp + 0x20], 9
lea r9, str.Message:
mov edx, 9
lea rcx, [rbp - 0x28]
call fcn.140005810
mov rbx, rax
lea r9, [0x1400234d8]
cmp qword [0x1400234f0], 8
cmovae r9, qword [0x1400234d8]
mov rdx, qword [0x1400234e8]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000273c
lea rsi, [rcx + rdx]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x140002720
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.140014b70
mov word [rdi + rsi*2], r13w
mov esi, 0xa
jmp 0x14000274c
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.140005810
mov rbx, rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rcx, rdx
sub rcx, rax
cmp rcx, r12
jb 0x14000277b
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
cmp rdx, 8
jb 0x140002770
mov rbx, qword [rbx]
mov word [rbx + rax*2], si
mov word [rbx + rcx*2], r13w
jmp 0x140002792
mov qword [rsp + 0x20], r12
lea r9, [0x14001bda0]
mov rdx, r12
mov rcx, rbx
call fcn.140005810
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 0x140002824
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000281f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000281f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400132d0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400132b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret