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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x530], rbx
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r13, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x54], r12d
mov edx, dword [rdx + 0x2c]
cmp edx, 0x1f1a
jg 0x1400110db
je 0x140010f6e
lea eax, [rdx - 0x1b1a]
test eax, 0xfffffeff
je 0x140010e36
lea eax, [rdx - 0x1d1a]
test eax, 0xfffffeff
jne 0x1400111f9
add rcx, 0xffffffffffffff78
call fcn.140012050
mov dword [rsp + 0x54], 1
jmp 0x1400111f9
mov r14d, dword [r13 + 0x30]
cmp edx, 0x1c1a
jne 0x140010e48
mov esi, dword [r13 + 0x34]
jmp 0x140010e4c
mov esi, dword [rsp + 0x50]
mov r9d, r14d
lea r8, str.CEnhanceCallerService::Update:_SessionID:__d
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.14001a4a8
mov r8d, 4
lea rdx, [rbp + 0x1c0]
lea rcx, [rdi - 0x88]
call fcn.140014fe0
mov rax, qword [rdi + 0x260]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140010f61
cmp dword [rbx + 0x10], r14d
jne 0x140010ebd
mov eax, dword [r13 + 0x2c]
cmp eax, 0x1b1a
je 0x140010ed5
cmp eax, 0x1c1a
jne 0x140010ebd
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp esi, eax
jne 0x140010ebd
test esi, esi
jne 0x140010ec9
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x260]
jmp 0x140010e8d
mov dword [rbx + 0x20], 1
jmp 0x140010f61
mov dword [rbx + 0x20], 1
lea r8, str.CEnhanceCallerService::Update:_Kill_Temped
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.14001a4a8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rdx, qword [rdi - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140010f61
mov rcx, qword [rdi - 0x30]
mov qword [rbp - 0x70], rcx
lea rax, [rbp + 0x1c0]
mov qword [rbp - 0x68], rax
mov ecx, 2
lea edx, [rcx + 2]
lea r8d, [rcx - 1]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov dword [rsp + 0x54], 1
jmp 0x1400111f9
cmp dword [r13 + 0x30], 4
jne 0x1400111f9
cmp byte [rcx - 0x6c], r12b
je 0x1400111f9
cmp dword [rcx + 0x28c], r12d
jne 0x1400111f9
lea rcx, [rsp + 0x68]
call fcn.140014610
lea rsi, vtable.SynDevice.1.0
mov qword [rsp + 0x60], rsi
lea r14, vtable.SynDevice.0
mov qword [rsp + 0x70], r14
lea r15, vtable.CDummySynDevice.0
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], r12d
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x58], r12d
mov rcx, qword [rdi + 0x2a0]
test rcx, rcx
jne 0x140010fde
lea rcx, [rdi + 0x2a8]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000002
call qword [rax + 0x30]
mov ebx, r12d
cmp dword [rsp + 0x58], ebx
jle 0x140011093
nop dword [rax + rax]
lea eax, [rbx - 1]
mov dword [rsp + 0x50], eax
mov rcx, qword [rdi + 0x2a0]
test rcx, rcx
jne 0x14001101a
lea rcx, [rdi + 0x2a8]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x20]
test eax, eax
jne 0x140011087
mov edx, dword [rsp + 0x50]
cmp edx, ebx
jne 0x140011087
lea rcx, [rbp - 0x80]
mov rax, qword [rsp + 0x68]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
call qword [rax + 0x78]
test eax, eax
jne 0x140011087
lea rcx, [rbp - 0x80]
mov rax, qword [rsp + 0x68]
mov edx, 0x100031c
cmp dword [rdi + 0x290], 0
je 0x140011073
test rax, rax
cmovne rcx, rax
xor r8d, r8d
jmp 0x140011081
test rax, rax
cmovne rcx, rax
mov r8d, dword [rdi + 0x284]
mov rax, qword [rcx]
call qword [rax + 0x30]
inc ebx
cmp ebx, dword [rsp + 0x58]
jl 0x140011000
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], r14
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400110b2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r15
lea rax, vtable.SynWrapEvents_class_SynDevice__struct_ISynDevice__struct__ISynDeviceEvents_.0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400111f9
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400111f9
cmp edx, 0x201a
je 0x14001114b
cmp edx, 0x211a
je 0x140011106
cmp edx, 0x221a
jne 0x1400111f9
mov eax, dword [rcx + 0x288]
mov dword [rsp + 0x54], eax
jmp 0x1400111f9
mov rax, qword [rcx + 0x270]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0x270]
mov qword [rax + 8], rax
mov qword [rdi + 0x278], r12
cmp rcx, qword [rdi + 0x270]
je 0x1400111f9
mov rbx, qword [rcx]
call fcn.140018e6c
mov rcx, rbx
cmp rbx, qword [rdi + 0x270]
jne 0x140011132
jmp 0x1400111f9
lea rdx, [rbp - 0x50]
mov ecx, dword [r13 + 0x34]
call fcn.140012c70
test eax, eax
je 0x1400111f9
mov r10, qword [rdi + 0x270]
mov rax, qword [r10]
cmp rax, r10
je 0x1400111a7
nop
lea r9, [rax + 0x10]
lea rcx, [rbp - 0x50]
sub r9, rcx
nop dword [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x140011196
add rcx, 2
test edx, edx
jne 0x140011180
test r8d, r8d
je 0x140010f61
mov rax, qword [rax]
cmp rax, r10
jne 0x140011170
mov rbx, r10
lea r9, [rbp - 0x50]
mov r8, qword [r10 + 8]
mov rdx, r10
call fcn.140014990
mov rdx, rax
mov rax, qword [rdi + 0x278]
movabs rcx, 0x7a44c6afc2dd9b
sub rcx, rax
cmp rcx, 1
jae 0x1400111e4
lea rcx, str.list_T__too_long
call fcn.140018df4
int3
inc rax
mov qword [rdi + 0x278], rax
mov qword [rbx + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov r8, qword [r13 + 0x18]
mov r9, qword [rdi + 0x258]
mov rax, qword [r9 + 0x20]
mov rdx, qword [r9 + 0x28]
cmp rax, rdx
je 0x140011260
mov rcx, qword [rax]
cmp r8, qword [rcx + 0x18]
je 0x140011225
add rax, 8
cmp rax, rdx
jne 0x140011211
jmp 0x140011260
mov rbx, rcx
test rcx, rcx
je 0x140011260
mov rdx, rcx
mov rcx, r9
call fcn.140001d90
test eax, eax
je 0x140011260
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rsp + 0x54]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140018e90
mov rbx, qword [rsp + 0x530]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret