Function at 0x140002440
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 [0x140021080]
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
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r13d, r13d
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
mov edx, 0x28
lea rcx, [rbp - 0x28]
call fcn.1400062b0
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rdi
cmp rax, 0xd
jb 0x140002504
lea rax, [rdi + 0xd]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 7
cmova rbx, qword [rbp - 0x28]
lea rcx, [rbx + rdi*2]
mov r8d, 0x1a
lea rdx, str.Application:
call fcn.140015200
mov word [rbx + rdi*2 + 0x1a], r13w
lea rax, [rbp - 0x28]
jmp 0x140002522
mov qword [rsp + 0x20], 0xd
lea r9, str.Application:
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.1400062b0
mov rdx, rsi
mov rcx, rax
call fcn.140005500
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 0x140002567
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 7
jbe 0x14000255c
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x14000257e
mov qword [rsp + 0x20], r12
lea r9, [0x140019e68]
mov rdx, r12
mov rcx, rax
call fcn.1400062b0
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rdi
cmp rax, 6
jb 0x1400025c9
lea rax, [rdi + 6]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 7
cmova rbx, qword [rbp - 0x28]
lea rcx, [rbx + rdi*2]
mov r8d, 0xc
lea rdx, str.Path:
call fcn.140015200
mov word [rbx + rdi*2 + 0xc], r13w
lea rax, [rbp - 0x28]
jmp 0x1400025e7
mov qword [rsp + 0x20], 6
lea r9, str.Path:
mov edx, 6
lea rcx, [rbp - 0x28]
call fcn.1400062b0
mov rdx, r14
mov rcx, rax
call fcn.140005500
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rcx, r12
jb 0x140002621
lea rcx, [rdx + 1]
mov qword [rax + 0x10], rcx
cmp r8, 7
jbe 0x140002616
mov rax, qword [rax]
mov word [rax + rdx*2], si
mov word [rax + rcx*2], r13w
jmp 0x140002638
mov qword [rsp + 0x20], r12
lea r9, [0x140019e68]
mov rdx, r12
mov rcx, rax
call fcn.1400062b0
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rdi
cmp rax, 9
jb 0x140002683
lea rax, [rdi + 9]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 7
cmova rbx, qword [rbp - 0x28]
lea rcx, [rbx + rdi*2]
mov r8d, 0x12
lea rdx, str.Message:
call fcn.140015200
mov word [rbx + rdi*2 + 0x12], r13w
lea rbx, [rbp - 0x28]
jmp 0x1400026a4
mov qword [rsp + 0x20], 9
lea r9, str.Message:
mov edx, 9
lea rcx, [rbp - 0x28]
call fcn.1400062b0
mov rbx, rax
lea r9, [0x140021588]
cmp qword [0x1400215a0], 7
cmova r9, qword [0x140021588]
mov rdi, qword [0x140021598]
mov r14, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140002709
lea rax, [rdi + r14]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 7
jbe 0x1400026e9
mov rsi, qword [rbx]
lea rcx, [rsi + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.140015200
lea rax, [r14 + rdi]
mov word [rsi + rax*2], r13w
mov esi, 0xa
jmp 0x14000271c
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rbx
call fcn.1400062b0
mov rbx, rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rcx, rdx
sub rcx, rax
cmp rcx, r12
jb 0x14000274b
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
cmp rdx, 7
jbe 0x140002740
mov rbx, qword [rbx]
mov word [rbx + rax*2], si
mov word [rbx + rcx*2], r13w
jmp 0x140002762
mov qword [rsp + 0x20], r12
lea r9, [0x140019e68]
mov rdx, r12
mov rcx, rbx
call fcn.1400062b0
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova 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, 7
jbe 0x1400027f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140010ce0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret