Function at 0x14009d850
Capabilities:
Access the windows event log

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x102c0
call fcn.1400ae240
sub rsp, rax
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x102b0], rax
mov r13d, r9d
mov rsi, rdx
mov rbx, rcx
mov r14d, dword [rsp + 0x10320]
mov rdi, qword [rsp + 0x10328]
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
mov word [rsp + 0xa8], ax
mov byte [rsp + 0xaa], al
xor r15d, r15d
mov qword [rsp + 0x80], r15
mov word [rsp + 0x60], r15w
mov qword [rsp + 0x88], r15
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
nop
mov qword [rsp + 0x78], rbx
imul rbx, r13, 0xc50
mov r8, qword [rdi + 0x48]
add r8, 0x28
add r8, rbx
lea edx, [r15 + 0x1a]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ctime64_s]
lea edx, [r15 + 0x1b]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov qword [rsp + 0x70], rax
cmp rax, 1
jbe 0x14009d963
lea rcx, [rax - 1]
cmp rcx, 0x1a
jae 0x14009d96b
dec rax
cmp rax, 0x1b
jae 0x14009dd61
mov byte [rsp + rax + 0x90], r15b
jmp 0x14009d96b
mov byte [rsp + 0xaa], 0
mov rcx, qword [rdi + 0x48]
add rcx, 0x50
add rcx, rbx
jne 0x14009d97d
mov rax, r15
jmp 0x14009d988
mov edx, 0x9f6
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov qword [rsp + 0x70], rax
mov edx, eax
mov qword [rsp + 0x68], rdx
mov r8d, eax
nop word [rax + rax]
lea rax, [r8 - 1]
cmp rax, 0x9f4
ja 0x14009d9ce
mov rcx, qword [rdi + 0x48]
add rcx, rbx
movzx eax, byte [rcx + rdx + 0x50]
cmp al, 0x5c
je 0x14009d9ce
cmp al, 0x2f
je 0x14009d9ce
lea rdx, [r8 - 1]
mov qword [rsp + 0x68], rdx
mov r8, rdx
jmp 0x14009d9a0
lea rax, [r8 + 1]
mov qword [rsp + 0x68], rax
cmp r13d, dword [rdi + 0x38]
lfence
jae 0x14009da2b
mov rdx, qword [rdi + 0x48]
mov eax, dword [rdi + 0x6c]
cmp dword [rdx + rbx + 0x44], eax
jae 0x14009da05
lfence
mov rdx, qword [rdi + 0x48]
mov ecx, dword [rbx + rdx + 0x44]
mov rax, qword [rdi + 0x88]
mov r8, qword [rax + rcx*8]
jmp 0x14009da0c
lea r8, str.ERROR_WRONG_ERROR_INDEX
lea rax, [rdx + rbx]
lea r9, str.Error___3u_...:___s__0x_x_._nOccurred......:___s_._nIn_file.......:___s_._nAt_line.......:___d_._n____________________________________________________________n
mov edx, dword [rax + 4]
mov r10d, dword [rax + 0xa48]
mov r12, qword [rsp + 0x68]
add rax, r12
jmp 0x14009da53
mov rcx, qword [rdi + 0x48]
add rcx, rbx
lea r9, [0x140104c00]
lea r8, [0x140102858]
mov edx, dword [rcx + 4]
mov r10d, dword [rcx + 0xa48]
mov r12, qword [rsp + 0x68]
lea rax, [rcx + r12]
add rax, 0x50
mov dword [rsp + 0x48], r10d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], r14d
mov edx, 0x1fe
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0xb0]
call fcn.140001030
mov edx, 0x1fe
lea rcx, [rsp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
test rax, rax
je 0x14009dd35
xor edx, edx
mov r8d, 0x9f6
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x9f6
lea r8, [rsp + 0xb0]
mov edx, r9d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rsi + 0x9f5], 0
cmp rbx, 0x9f6
jb 0x14009daf8
mov ebx, 1
jmp 0x14009dd31
mov rsi, qword [rsp + 0x78]
mov ecx, dword [rsi + 0x128d8]
mov eax, ecx
test ecx, ecx
jne 0x14009dcdd
cmp dword [rsi + 0x8b0], ecx
jne 0x14009dcdd
cmp dword [rsi + 0x8b4], 1
jne 0x14009dcdd
cmp qword [rsi + 0x84020], 0
je 0x14009dcdd
imul r14, r13, 0xc50
add r14, qword [rdi + 0x48]
movsxd rax, dword [r14 + 0x4c]
cmp eax, 5
ja case.0x14009db59.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x9dd68]
add rcx, rdx
jmp rcx
mov r15d, 2
jmp 0x14009db74
mov ebx, 1
movzx r15d, bx
jmp 0x14009db79
mov r15d, 4
mov ebx, 1
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [r14 + 0x50]
mov eax, dword [r14 + 0xa48]
add rcx, r12
cmp dword [r14 + 0xa4c], 1
jne 0x14009dc17
lea rdx, [r14 + 0xb4f]
lea r8, [r14 + 0xa50]
mov r10d, dword [r14 + 0x44]
mov r9, qword [rdi + 0x88]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r8
mov eax, dword [r14 + 4]
mov dword [rsp + 0x30], eax
mov rax, qword [r9 + r10*8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, str.Error___u_:___s__0x_x_._nProblem:___s_._nSolution:___s_._nOccurred:___s_._nIn_file:___s_._nAt_line:___d_.
mov edx, 0x1fe
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0xb0]
call fcn.140001030
jmp 0x14009dc6e
mov r9d, dword [r14 + 0x44]
mov r8, qword [rdi + 0x88]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov eax, dword [r14 + 4]
mov dword [rsp + 0x30], eax
mov rax, qword [r8 + r9*8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, str.Error___u_:___s__0x_x_._nOccurred:___s_._nIn_file:___s_._nAt_line:___d_.
mov edx, 0x1fe
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0xb0]
call fcn.140001030
mov byte [rsp + 0x2ad], 0
mov edx, 0x1fe
lea rcx, [rsp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], 0xffffffffffffffff
lea r9, [rsp + 0xb0]
mov r8d, 0x8000
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
xor edx, edx
mov word [rsp + 0x102ae], dx
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsi + 0x128d8]
jmp 0x14009dcea
mov ebx, 1
movzx r15d, word [rsp + 0x60]
xor edx, edx
test eax, eax
jne 0x14009dd35
mov rcx, qword [rsi + 0x84020]
test rcx, rcx
je 0x14009dd35
mov r8d, ebx
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rdx
mov r9d, 0x40000002
movzx edx, r15w
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x14009dd35
mov eax, ebx
jmp 0x14009dd3e
xor eax, eax
jmp 0x14009dd3e
mov rcx, qword [rsp + 0x102b0]
xor rcx, rsp
call fcn.140001ea0
add rsp, 0x102c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140001fd4
nop
nop
outsb dx, byte [rsi]
fisttp dword [rcx]
add byte [rsi - 0x25], ch
or dword [rax], eax
pop rbx
fisttp dword [rcx]
add byte [rbx - 0x25], ah
or dword [rax], eax
invalid