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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14005a318]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r15, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
mov ecx, dword [rdx + 0x2c]
cmp ecx, 0x1f1a
jg 0x140018b4b
je 0x1400189ca
lea eax, [rcx - 0x1b1a]
test eax, 0xfffffeff
je 0x14001883e
lea eax, [rcx - 0x1d1a]
test eax, 0xfffffeff
jne 0x140018cdc
cmp qword [rdi + 0x248], r13
je 0x1400189bd
cmp ecx, 0x1e1a
jne 0x140018807
lea rdx, [rdi + 0x238]
lea rcx, [rsp + 0x58]
call fcn.14000c5a0
xor r8d, r8d
lea edx, [r13 + 1]
mov rcx, rax
call fcn.14000bbe0
mov dword [rsp + 0x50], 1
jmp 0x140018cdc
cmp ecx, 0x1d1a
jne 0x1400189bd
lea rdx, [rdi + 0x238]
lea rcx, [rsp + 0x58]
call fcn.14000c5a0
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.14000bbe0
mov dword [rsp + 0x50], 1
jmp 0x140018cdc
mov r14d, dword [rdx + 0x30]
cmp ecx, 0x1c1a
jne 0x14001884f
mov esi, dword [rdx + 0x34]
jmp 0x140018853
mov esi, dword [rsp + 0x58]
mov r9d, r14d
lea r8, str.CEnhanceCallerService::Update:_SessionID:__d
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.14000ea00
mov rdx, qword [rdi - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
mov r12d, 2
test rax, rax
je 0x1400188db
mov rcx, qword [rdi - 0x30]
mov qword [rsp + 0x58], rcx
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x60], rax
lea edx, [r12 + 2]
lea r8d, [r12 - 1]
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rax, qword [rdi + 0x260]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400189bd
cmp dword [rbx + 0x10], r14d
jne 0x140018918
mov eax, dword [r15 + 0x2c]
cmp eax, 0x1b1a
je 0x140018938
cmp eax, 0x1c1a
jne 0x140018918
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp esi, eax
jne 0x140018918
test esi, esi
jne 0x140018924
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x260]
jmp 0x1400188e8
mov dword [rbx + 0x20], 1
mov dword [rsp + 0x50], 1
jmp 0x140018cdc
mov dword [rbx + 0x20], 1
lea r8, str.CEnhanceCallerService::Update:_Kill_Temped
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.14000ea00
mov rdx, qword [rdi - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400189bd
mov rcx, qword [rdi - 0x30]
mov qword [rsp + 0x58], rcx
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x60], rax
mov edx, 4
lea r8d, [rdx - 3]
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x20], r13
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 + 0x50], 1
jmp 0x140018cdc
cmp dword [rdx + 0x30], 4
jne 0x140018cdc
cmp byte [rdi - 0x6c], r13b
je 0x140018cdc
cmp dword [rdi + 0x294], r13d
jne 0x140018cdc
lea rcx, [rsp + 0x78]
call fcn.140013940
nop
mov dword [rsp + 0x54], r13d
mov rax, qword [rdi + 0x2a8]
test rax, rax
je 0x140018ae7
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140018a18
lea rcx, [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x54]
mov edx, 0x10000002
mov rax, qword [rax + 0x30]
call qword [case.0x14000eb75.0]
mov ebx, r13d
cmp dword [rsp + 0x54], ebx
jle 0x140018ae7
nop dword [rax]
lea eax, [rbx - 1]
mov dword [rsp + 0x58], eax
mov rax, qword [rdi + 0x2a8]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140018a5b
lea rcx, [rax + 0x10]
mov rax, qword [rcx]
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [case.0x14000eb75.0]
test eax, eax
jne 0x140018adb
mov edx, dword [rsp + 0x58]
cmp edx, ebx
jne 0x140018adb
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x80]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
call qword [case.0x14000eb75.0]
test eax, eax
jne 0x140018adb
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x80]
mov edx, 0x100031c
cmp dword [rdi + 0x2a4], 0
je 0x140018ac0
test rax, rax
cmovne rcx, rax
xor r8d, r8d
jmp 0x140018ace
test rax, rax
cmovne rcx, rax
mov r8d, dword [rdi + 0x284]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14000eb75.0]
inc ebx
cmp ebx, dword [rsp + 0x54]
jl 0x140018a40
lea rax, vtable.SynDevice.1.0
mov qword [rsp + 0x78], rax
lea rax, vtable.SynDevice.0
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140018b18
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000eb75.0]
mov qword [rbp - 0x70], r13
lea rax, vtable.CDummySynDevice.0
mov qword [rbp - 0x68], rax
lea rax, vtable.SynWrapEvents_class_SynDevice__struct_ISynDevice__struct__ISynDeviceEvents_.0
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140018b46
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000eb75.0]
nop
jmp 0x140018cdc
cmp ecx, 0x201a
je 0x140018bc6
cmp ecx, 0x211a
je 0x140018b76
cmp ecx, 0x221a
jne 0x140018cdc
mov eax, dword [rdi + 0x288]
mov dword [rsp + 0x50], eax
jmp 0x140018cdc
mov rcx, qword [rdi + 0x270]
mov rax, qword [rcx + 8]
mov qword [rax], r13
mov rcx, qword [rcx]
test rcx, rcx
je 0x140018ba5
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x218
call fcn.1400243b8
mov rcx, rbx
test rbx, rbx
jne 0x140018b90
mov rax, qword [rdi + 0x270]
mov qword [rax], rax
mov rax, qword [rdi + 0x270]
mov qword [rax + 8], rax
mov qword [rdi + 0x278], r13
jmp 0x140018cdc
lea r8, [rbp - 0x50]
mov edx, dword [rdx + 0x34]
call fcn.14001b200
test eax, eax
je 0x140018cdc
lea rsi, [rdi + 0x270]
mov rbx, qword [rsi]
mov rax, qword [rbx]
cmp rax, rbx
je 0x140018c31
nop dword [rax]
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 0x140018c16
add rcx, 2
test edx, edx
jne 0x140018c00
test r8d, r8d
je 0x1400189bd
mov rcx, qword [rax]
mov rax, rcx
mov rbx, qword [rdi + 0x270]
cmp rcx, rbx
jne 0x140018bf0
movabs rax, 0x7a44c6afc2dd9c
cmp qword [rsi + 8], rax
je 0x140018d76
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r13
mov ecx, 0x218
call fcn.1400243ec
mov r9, rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x50]
mov r8d, 4
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub r8, 1
jne 0x140018c70
mov eax, dword [rdx]
mov dword [rcx], eax
inc qword [rsi + 8]
mov rax, qword [rbx + 8]
mov qword [r9], rbx
mov qword [r9 + 8], rax
mov qword [rbx + 8], r9
mov qword [rax], r9
mov r8, qword [r15 + 0x18]
mov r9, qword [rdi + 0x258]
mov rax, qword [r9 + 0x20]
mov rcx, qword [r9 + 0x28]
cmp rax, rcx
je 0x140018d4c
mov rbx, qword [rax]
mov rdx, qword [rbx + 0x18]
cmp r8, rdx
je 0x140018d0b
add rax, 8
cmp rax, rcx
jne 0x140018cf4
jmp 0x140018d4c
test rbx, rbx
je 0x140018d4c
mov qword [rsp + 0x58], rdx
lea rcx, [r9 + 0x68]
lea rdx, [rsp + 0x58]
call fcn.140002de0
cmp dword [rax], 0
je 0x140018d4c
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140023ea0
mov rbx, qword [rsp + 0x530]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_too_long
call fcn.1400251f4
int3