Function at 0x140009cb0
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 [0x1400362d0]
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.140010ebc
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 0x140009d7a
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 0x140009e76
lea eax, [rcx - 0x1d1a]
test eax, 0xfffffeff
je 0x140009e66
cmp ecx, 0x201a
jne 0x14000a030
mov ecx, dword [r15 + 0x34]
lea rdx, [rsp + 0x70]
call fcn.14000b060
test eax, eax
je 0x14000a030
mov r10, qword [r14 + 0x260]
mov rax, qword [r10]
cmp rax, r10
je 0x140009e17
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 0x140009e06
add rcx, 2
test edx, edx
jne 0x140009df0
test r8d, r8d
je 0x14000a028
mov rax, qword [rax]
cmp rax, r10
jne 0x140009de0
mov r8, qword [r10 + 8]
lea r9, [rsp + 0x70]
mov rdx, r10
mov rbx, r10
call fcn.14000b790
movabs rcx, 0x7a44c6afc2dd9b
mov rdx, rax
mov rax, qword [r14 + 0x268]
sub rcx, rax
cmp rcx, 1
jb 0x14000a0c0
inc rax
mov qword [r14 + 0x268], rax
mov qword [rbx + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
jmp 0x14000a030
mov edx, ecx
lea rcx, [r14 - 0x38]
call fcn.14000afb0
jmp 0x14000a028
mov qword [rsp + 0x4f0], rsi
mov esi, dword [r15 + 0x30]
mov qword [rsp + 0x4a0], rdi
cmp ecx, 0x1c1a
jne 0x140009e98
mov edi, dword [r15 + 0x34]
jmp 0x140009e9c
mov edi, dword [rsp + 0x68]
lea r8, str.CEnhanceCallerService::Update:_SessionID:__d
lea rcx, [rbp + 0x180]
mov r9d, esi
mov edx, 0x104
call fcn.140010ebc
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 0x140009f2a
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 0x14000a018
nop dword [rax]
cmp dword [rbx + 0x10], esi
jne 0x140009f69
mov eax, dword [r15 + 0x2c]
cmp eax, 0x1b1a
je 0x140009f86
cmp eax, 0x1c1a
jne 0x140009f69
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp edi, eax
jne 0x140009f69
test edi, edi
jne 0x140009f7a
mov rbx, qword [rbx]
cmp rbx, qword [r14 + 0x250]
jne 0x140009f40
jmp 0x14000a018
mov dword [rbx + 0x20], 1
jmp 0x14000a018
lea r8, str.CEnhanceCallerService::Update:_Kill_Temped
lea rcx, [rbp + 0x180]
mov edx, 0x104
mov dword [rbx + 0x20], 1
call fcn.140010ebc
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 0x14000a018
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 0x14000a09f
nop dword [rax + rax]
mov rcx, qword [rax]
cmp r8, qword [rcx + 0x18]
je 0x14000a064
add rax, 8
cmp rax, rdx
jne 0x14000a050
jmp 0x14000a09f
mov rbx, rcx
test rcx, rcx
je 0x14000a09f
mov rdx, rcx
mov rcx, r9
call fcn.140001d80
test eax, eax
je 0x14000a09f
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.14000f8b0
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.14000f818
int3