Function at 0x1400097e0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x1400332d0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r9d, dword [rdx + 0x2c]
mov r14, rcx
mov r15, rdx
lea rcx, [rbp + 0x180]
lea r8, str.CEnhanceCallerService::Update:_Message:_0x_x
xor r12d, r12d
mov edx, 0x104
mov dword [rsp + 0x50], r12d
call fcn.14000ff2c
mov rdx, qword [r14 - 0x30]
xor ecx, ecx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
lea r9d, [r12 + 2]
mov rbx, rax
test rax, rax
je 0x1400098aa
mov rcx, qword [r14 - 0x30]
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x180]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r9w
lea edx, [r12 + 4]
lea r8d, [r12 + 1]
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [r15 + 0x2c]
lea eax, [rcx - 0x1b1a]
test eax, 0xfffffeff
je 0x1400099a6
lea eax, [rcx - 0x1d1a]
test eax, 0xfffffeff
je 0x140009996
cmp ecx, 0x201a
jne 0x140009b60
mov ecx, dword [r15 + 0x34]
lea rdx, [rsp + 0x70]
call fcn.14000aab0
test eax, eax
je 0x140009b60
mov r10, qword [r14 + 0x260]
mov rax, qword [r10]
cmp rax, r10
je 0x140009947
nop dword [rax]
nop word [rax + rax]
lea r9, [rax + 0x10]
lea rcx, [rsp + 0x70]
sub r9, rcx
nop dword [rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x140009936
add rcx, 2
test edx, edx
jne 0x140009920
test r8d, r8d
je 0x140009b58
mov rax, qword [rax]
cmp rax, r10
jne 0x140009910
mov r8, qword [r10 + 8]
lea r9, [rsp + 0x70]
mov rdx, r10
mov rbx, r10
call fcn.14000b1e0
movabs rcx, 0x7a44c6afc2dd9b
mov rdx, rax
mov rax, qword [r14 + 0x268]
sub rcx, rax
cmp rcx, 1
jb 0x140009bf0
inc rax
mov qword [r14 + 0x268], rax
mov qword [rbx + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
jmp 0x140009b60
mov edx, ecx
lea rcx, [r14 - 0x38]
call fcn.14000aa00
jmp 0x140009b58
mov qword [rsp + 0x4f0], rsi
mov esi, dword [r15 + 0x30]
mov qword [rsp + 0x4a0], rdi
cmp ecx, 0x1c1a
jne 0x1400099c8
mov edi, dword [r15 + 0x34]
jmp 0x1400099cc
mov edi, dword [rsp + 0x68]
lea r8, str.CEnhanceCallerService::Update:_SessionID:__d
lea rcx, [rbp + 0x180]
mov r9d, esi
mov edx, 0x104
call fcn.14000ff2c
mov rdx, qword [r14 - 0x30]
xor ecx, ecx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140009a5a
mov rcx, qword [r14 - 0x30]
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x180]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov edx, 4
mov qword [rsp + 0x38], rax
mov eax, 2
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], ax
lea r8d, [rdx - 3]
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rax, qword [r14 + 0x250]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140009b48
nop dword [rax]
cmp dword [rbx + 0x10], esi
jne 0x140009a99
mov eax, dword [r15 + 0x2c]
cmp eax, 0x1b1a
je 0x140009ab6
cmp eax, 0x1c1a
jne 0x140009a99
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp edi, eax
jne 0x140009a99
test edi, edi
jne 0x140009aaa
mov rbx, qword [rbx]
cmp rbx, qword [r14 + 0x250]
jne 0x140009a70
jmp 0x140009b48
mov dword [rbx + 0x20], 1
jmp 0x140009b48
lea r8, str.CEnhanceCallerService::Update:_Kill_Temped
lea rcx, [rbp + 0x180]
mov edx, 0x104
mov dword [rbx + 0x20], 1
call fcn.14000ff2c
mov rdx, qword [r14 - 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140009b48
mov rcx, qword [r14 - 0x30]
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x180]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov edx, 4
mov qword [rsp + 0x38], rax
mov eax, 2
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], ax
lea r8d, [rdx - 3]
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rdi, qword [rsp + 0x4a0]
mov rsi, qword [rsp + 0x4f0]
mov dword [rsp + 0x50], 1
mov r9, qword [r14 + 0x248]
mov r8, qword [r15 + 0x18]
mov rax, qword [r9 + 0x20]
mov rdx, qword [r9 + 0x28]
cmp rax, rdx
je 0x140009bcf
nop dword [rax + rax]
mov rcx, qword [rax]
cmp r8, qword [rcx + 0x18]
je 0x140009b94
add rax, 8
cmp rax, rdx
jne 0x140009b80
jmp 0x140009bcf
mov rbx, rcx
test rcx, rcx
je 0x140009bcf
mov rdx, rcx
mov rcx, r9
call fcn.140001d80
test eax, eax
je 0x140009bcf
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x50]
mov r8d, 4
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14000e920
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14000e884
int3