Function at 0x140049fb0
Capabilities:
Access the windows event log
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov esi, ecx
mov rcx, qword [str._0_n_]
lea r15, str._0_n_
lea rbx, [0x140094378]
mov r14b, 4
cmp rcx, r15
je 0x14004a009
test byte [rcx + 0x1c], r14b
je 0x14004a009
cmp byte [rcx + 0x19], 5
jb 0x14004a009
mov rcx, qword [rcx + 0x10]
mov edx, 0x39
mov r8, rbx
call fcn.14000459c
xor r9d, r9d
xor ecx, ecx
mov r8d, 0xffffffff
lea edx, [r9 + 0x14]
call fcn.1400596f8
xor ebp, ebp
test eax, eax
jne 0x14004a060
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a060
test byte [rax + 0x1c], r14b
je 0x14004a060
cmp byte [rax + 0x19], 2
jb 0x14004a060
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea edx, [rbp + 0x3a]
mov r9d, eax
mov r8, rbx
mov rcx, qword [rcx + 0x10]
call fcn.140004994
call fcn.140026e10
test eax, eax
je 0x14004a095
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a09c
test byte [rcx + 0x1c], r14b
je 0x14004a09c
cmp byte [rcx + 0x19], 2
jb 0x14004a09c
mov rcx, qword [rcx + 0x10]
mov edx, 0x3b
mov r9d, eax
mov r8, rbx
call fcn.140004994
mov rcx, qword [str._0_n_]
mov ebx, ebp
lea r12, [0x1400931c0]
cmp rcx, r15
je 0x14004a0c7
test byte [rcx + 0x1c], r14b
je 0x14004a0c7
cmp byte [rcx + 0x19], 5
jb 0x14004a0c7
mov rcx, qword [rcx + 0x10]
mov edx, 0x40
mov r8, r12
call fcn.14000459c
mov qword [rsp + 0x28], rbp
lea r8, [0x1400269e0]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14004a12c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a1cb
test byte [rcx + 0x1c], r14b
je 0x14004a1cb
cmp byte [rcx + 0x19], 2
jb 0x14004a1cb
lea edx, [rdi + 0x41]
jmp 0x14004a1bc
lea rdx, str.Waiting_for_SetServiceIsDownFlagThread_to_terminate.
mov rcx, rdi
call fcn.14004c4cc
test eax, eax
jne 0x14004a179
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a179
test byte [rcx + 0x1c], r14b
je 0x14004a179
cmp byte [rcx + 0x19], 2
jb 0x14004a179
mov rcx, qword [rcx + 0x10]
mov edx, 0x42
mov r9d, eax
mov r8, r12
call fcn.140004994
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14004a1cb
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a1cb
test byte [rax + 0x1c], r14b
je 0x14004a1cb
cmp byte [rax + 0x19], 2
jb 0x14004a1cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x43
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r12
call fcn.140004994
test ebx, ebx
je 0x14004a220
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a220
test byte [rax + 0x1c], r14b
je 0x14004a220
cmp byte [rax + 0x19], 2
jb 0x14004a220
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140094378]
mov edx, 0x3c
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
call fcn.14004b3e4
test eax, eax
jne 0x14004a254
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a254
test byte [rcx + 0x1c], r14b
je 0x14004a254
cmp byte [rcx + 0x19], 2
jb 0x14004a254
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3d]
lea r8, [0x140094378]
call fcn.14000459c
call fcn.14004c134
test eax, eax
jne 0x14004a288
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a288
test byte [rcx + 0x1c], r14b
je 0x14004a288
cmp byte [rcx + 0x19], 2
jb 0x14004a288
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3e]
lea r8, [0x140094378]
call fcn.14000459c
mov rcx, qword [0x1400a7640]
test rcx, rcx
je 0x14004a321
lea rdx, str.Waiting_for_all_threads__except_TapiWorkerThread__to_terminate.
call fcn.14004c4cc
test eax, eax
jne 0x14004a2eb
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a2eb
test byte [rax + 0x1c], r14b
je 0x14004a2eb
cmp byte [rax + 0x19], 2
jb 0x14004a2eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140094378]
mov edx, 0x3f
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov ecx, 3
mov r8d, 0x1770
call fcn.140026550
lea rcx, [0x1400a7578]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rcx, [0x1400a7578]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x1400a7688]
test rcx, rcx
je 0x14004a39a
xorps xmm0, xmm0
lea r9, [rsp + 0x30]
xor edx, edx
mov r8d, 0xffffffff
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14004a39a
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a39a
test byte [rax + 0x1c], r14b
je 0x14004a39a
cmp byte [rax + 0x19], 2
jb 0x14004a39a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140094378]
mov edx, 0x40
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, qword [0x1400a76d0]
test rcx, rcx
je 0x14004a3f9
lea rdx, str.Waiting_for_TapiWorkerThread_to_terminate.
call fcn.14004c4cc
test eax, eax
jne 0x14004a3f9
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a3f9
test byte [rax + 0x1c], r14b
je 0x14004a3f9
cmp byte [rax + 0x19], 2
jb 0x14004a3f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140094378]
mov edx, 0x41
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
call fcn.14004c2dc
test eax, eax
jne 0x14004a445
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004a445
test byte [rax + 0x1c], r14b
je 0x14004a445
cmp byte [rax + 0x19], 2
jb 0x14004a445
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140094378]
mov edx, 0x42
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rdi, qword [0x1400a7290]
lea r12, [0x1400a7290]
jmp 0x14004a4dd
mov rcx, qword [rdi]
mov rbx, rdi
mov rdi, rcx
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a4a0
test byte [rcx + 0x1c], r14b
je 0x14004a4a0
cmp byte [rcx + 0x19], 5
jb 0x14004a4a0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092700]
mov edx, 0xa
call fcn.14000459c
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14004a4b5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x868]
test rcx, rcx
je 0x14004a4d5
cmp dword [rbx + 0x8c8], ebp
jne 0x14004a4d5
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14006a328
cmp rdi, r12
jne 0x14004a458
mov rdi, qword [0x1400a74c0]
lea r12, [0x1400a74c0]
jmp 0x14004a538
mov rdx, qword [rdi]
lea rbx, [rdi - 0x10]
mov rax, qword [rbx + 0x18]
lea r8, [rdi]
mov rdi, rdx
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rcx, qword [rbx + 0x40]
mov qword [r8], rbp
mov qword [rbx + 0x18], rbp
call fcn.14006a328
mov rcx, qword [rbx + 0x38]
call fcn.14006a328
mov rcx, qword [rbx + 0x48]
call fcn.14006a328
mov rcx, rbx
call fcn.14006a328
cmp rdi, r12
jne 0x14004a4f6
mov rdi, qword [0x1400a7488]
lea r12, [0x1400a7488]
jmp 0x14004a5d5
mov rcx, qword [rdi]
mov rbx, rdi
mov rdi, rcx
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004a598
test byte [rcx + 0x1c], r14b
je 0x14004a598
cmp byte [rcx + 0x19], 5
jb 0x14004a598
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400940c0]
mov edx, 0xb
call fcn.14000459c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004a5ad
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x650]
test rcx, rcx
je 0x14004a5cd
cmp dword [rbx + 0x658], ebp
jne 0x14004a5cd
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14006a328
cmp rdi, r12
jne 0x14004a550
mov rbx, qword [0x1400a73a0]
lea rdi, [0x1400a73a0]
jmp 0x14004a5f9
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.14002e168
cmp rbx, rdi
jne 0x14004a5ee
mov rbx, qword [0x1400a7678]
lea rdi, [0x1400a7678]
jmp 0x14004a62e
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
call fcn.14004dadc
cmp rbx, rdi
jne 0x14004a60e
mov rbx, qword [0x1400a76c0]
lea rdi, [0x1400a76c0]
jmp 0x14004a663
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
call fcn.14004dadc
cmp rbx, rdi
jne 0x14004a643
mov rbx, qword [0x1400a7430]
lea rdi, [0x1400a7430]
jmp 0x14004a6b8
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
cmp dword [rcx + 0x24], 0x20
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
jne 0x14004a6a0
call fcn.14003aa44
jmp 0x14004a6b8
cmp dword [rcx + 0x24], 2
jne 0x14004a6ad
call fcn.14003ae70
jmp 0x14004a6b8
cmp dword [rcx + 0x24], 8
jne 0x14004a6b8
call fcn.14003ab84
cmp rbx, rdi
jne 0x14004a678
xor r8d, r8d
mov r9d, 0x40007d12
mov edx, esi
lea ecx, [r8 + 1]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
jmp fcn.14006a378