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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov esi, ecx
mov rcx, qword [str.___t_]
lea r15, str.___t_
mov r14b, 4
cmp rcx, r15
je 0x140053d75
test byte [rcx + 0x1c], r14b
je 0x140053d75
cmp byte [rcx + 0x19], 5
jb 0x140053d75
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003f38]
mov edx, 0x39
call fcn.14000e618
xor r9d, r9d
xor ecx, ecx
mov r8d, 0xffffffff
lea edx, [r9 + 0x14]
call fcn.140062fc4
xor ebp, ebp
lea r12, [0x140002d80]
lea r13d, [rbp + 2]
test eax, eax
jne 0x140053dd5
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140053dfe
test byte [rcx + 0x1c], r14b
je 0x140053ddc
cmp byte [rcx + 0x19], r13b
jb 0x140053ddc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rbp + 0x3a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003f38]
mov r9d, eax
call fcn.14000e63c
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140053dfe
test byte [rcx + 0x1c], r14b
je 0x140053dfe
cmp byte [rcx + 0x19], 5
jb 0x140053dfe
mov rcx, qword [rcx + 0x10]
mov edx, 0x69
mov r8, r12
call fcn.14000e618
xor ecx, ecx
mov edi, ebp
call qword [sym.imp.RPCRT4.dll_RpcMgmtStopServerListening]
mov ebx, eax
test eax, eax
je 0x140053e3c
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140053e3a
test byte [rcx + 0x1c], r14b
je 0x140053e3a
cmp byte [rcx + 0x19], r13b
jb 0x140053e3a
mov rcx, qword [rcx + 0x10]
mov edx, 0x6a
mov r9d, eax
mov r8, r12
call fcn.14000e63c
mov edi, ebx
mov rcx, qword [0x14009a3c0]
test rcx, rcx
je 0x140053ee6
lea rdx, [0x140002d00]
call fcn.140054540
test eax, eax
jne 0x140053e95
mov rax, qword [str.___t_]
cmp rax, r15
je 0x140053e95
test byte [rax + 0x1c], r14b
je 0x140053e95
cmp byte [rax + 0x19], r13b
jb 0x140053e95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x6b
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r12
call fcn.14000e63c
mov rcx, qword [0x14009a3c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140053edf
mov rax, qword [str.___t_]
cmp rax, r15
je 0x140053edf
test byte [rax + 0x1c], r14b
je 0x140053edf
cmp byte [rax + 0x19], r13b
jb 0x140053edf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x6c
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r12
call fcn.14000e63c
mov qword [0x14009a3c0], rbp
lea rcx, [0x14000b330]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIfEx]
mov ebx, eax
test eax, eax
je 0x140053f2a
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140053f31
test byte [rcx + 0x1c], r14b
je 0x140053f31
cmp byte [rcx + 0x19], r13b
jb 0x140053f31
mov rcx, qword [rcx + 0x10]
mov edx, 0x6d
mov r9d, eax
mov r8, r12
call fcn.14000e63c
mov rcx, qword [str.___t_]
test edi, edi
cmove edi, ebx
test edi, edi
je 0x140053f6a
cmp rcx, r15
je 0x140053f6a
test byte [rcx + 0x1c], r14b
je 0x140053f6a
cmp byte [rcx + 0x19], r13b
jb 0x140053f6a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003f38]
mov edx, 0x3b
mov r9d, edi
call fcn.14000e63c
mov rcx, qword [str.___t_]
mov ebx, ebp
cmp rcx, r15
je 0x140053f8e
test byte [rcx + 0x1c], r14b
je 0x140053f8e
cmp byte [rcx + 0x19], 5
jb 0x140053f8e
mov rcx, qword [rcx + 0x10]
mov edx, 0x3f
mov r8, r12
call fcn.14000e618
lea r8, [0x140030930]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140053fe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140054071
test byte [rcx + 0x1c], r14b
je 0x140054071
cmp byte [rcx + 0x19], r13b
jb 0x140054071
lea edx, [rdi + 0x40]
jmp 0x140054062
lea rdx, [0x140002c30]
mov rcx, rax
call fcn.140054540
test eax, eax
jne 0x14005402b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14005402b
test byte [rcx + 0x1c], r14b
je 0x14005402b
cmp byte [rcx + 0x19], r13b
jb 0x14005402b
mov rcx, qword [rcx + 0x10]
mov edx, 0x41
mov r9d, eax
mov r8, r12
call fcn.14000e63c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140054071
mov rax, qword [str.___t_]
cmp rax, r15
je 0x140054071
test byte [rax + 0x1c], r14b
je 0x140054071
cmp byte [rax + 0x19], r13b
jb 0x140054071
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x42
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r12
call fcn.14000e63c
test ebx, ebx
je 0x1400540ba
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [str.___t_]
cmp rax, r15
je 0x1400540ba
test byte [rax + 0x1c], r14b
je 0x1400540ba
cmp byte [rax + 0x19], r13b
jb 0x1400540ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003f38]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x3c
call fcn.14000e63c
call fcn.140053944
test eax, eax
jne 0x1400540ee
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x1400540ee
test byte [rcx + 0x1c], r14b
je 0x1400540ee
cmp byte [rcx + 0x19], r13b
jb 0x1400540ee
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3d]
lea r8, [0x140003f38]
call fcn.14000e618
call fcn.1400546b8
test eax, eax
jne 0x140054122
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140054122
test byte [rcx + 0x1c], r14b
je 0x140054122
cmp byte [rcx + 0x19], r13b
jb 0x140054122
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3e]
lea r8, [0x140003f38]
call fcn.14000e618
mov rcx, qword [0x14009a3b0]
test rcx, rcx
je 0x1400541a5
lea rdx, [0x140003e60]
call fcn.140054540
test eax, eax
jne 0x14005417b
mov rax, qword [str.___t_]
cmp rax, r15
je 0x14005417b
test byte [rax + 0x1c], r14b
je 0x14005417b
cmp byte [rax + 0x19], r13b
jb 0x14005417b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003f38]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x3f
call fcn.14000e63c
mov ecx, 3
mov r8d, 0x1770
call fcn.140030c8c
lea rcx, [0x14009a2e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14009a2e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14009a3e8]
test rcx, rcx
je 0x14005421b
xor eax, eax
lea r9, [rsp + 0x30]
xor edx, edx
mov r8d, 0xffffffff
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x14005421b
mov rax, qword [str.___t_]
cmp rax, r15
je 0x14005421b
test byte [rax + 0x1c], r14b
je 0x14005421b
cmp byte [rax + 0x19], r13b
jb 0x14005421b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003f38]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x40
call fcn.14000e63c
mov rcx, qword [0x14009a440]
test rcx, rcx
je 0x140054274
lea rdx, [0x140003ee0]
call fcn.140054540
test eax, eax
jne 0x140054274
mov rax, qword [str.___t_]
cmp rax, r15
je 0x140054274
test byte [rax + 0x1c], r14b
je 0x140054274
cmp byte [rax + 0x19], r13b
jb 0x140054274
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003f38]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x41
call fcn.14000e63c
call fcn.140053b6c
test eax, eax
jne 0x1400542ba
mov rax, qword [str.___t_]
cmp rax, r15
je 0x1400542ba
test byte [rax + 0x1c], r14b
je 0x1400542ba
cmp byte [rax + 0x19], r13b
jb 0x1400542ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003f38]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x42
call fcn.14000e63c
mov rdi, qword [0x14009a000]
lea r12, [0x14009a000]
jmp 0x140054343
mov rbx, rdi
mov rdi, qword [rdi]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140054312
test byte [rcx + 0x1c], r14b
je 0x140054312
cmp byte [rcx + 0x19], 5
jb 0x140054312
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400022d8]
mov edx, 0xa
call fcn.14000e618
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140054321
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x868]
test rcx, rcx
je 0x14005433b
cmp dword [rbx + 0x8c8], ebp
jne 0x14005433b
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov rcx, rbx
call fcn.140072328
cmp rdi, r12
jne 0x1400542ca
mov rdi, qword [0x14009a230]
lea r12, [0x14009a230]
jmp 0x140054396
lea rbx, [rdi - 0x10]
mov rax, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x10]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
call fcn.140072328
mov rcx, qword [rbx + 0x38]
call fcn.140072328
mov rcx, qword [rbx + 0x48]
call fcn.140072328
mov rcx, rbx
call fcn.140072328
cmp rdi, r12
jne 0x140054358
mov rdi, qword [0x14009a1f8]
lea r12, [0x14009a1f8]
jmp 0x140054424
mov rbx, rdi
mov rdi, qword [rdi]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x1400543f3
test byte [rcx + 0x1c], r14b
je 0x1400543f3
cmp byte [rcx + 0x19], 5
jb 0x1400543f3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c80]
mov edx, 0xb
call fcn.14000e618
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140054402
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x650]
test rcx, rcx
je 0x14005441c
cmp dword [rbx + 0x658], ebp
jne 0x14005441c
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov rcx, rbx
call fcn.140072328
cmp rdi, r12
jne 0x1400543ab
mov rbx, qword [0x14009a110]
lea rdi, [0x14009a110]
jmp 0x140054444
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.140039130
cmp rbx, rdi
jne 0x140054439
mov rbx, qword [0x14009a3f0]
lea rdi, [0x14009a3f0]
jmp 0x140054479
mov rcx, rbx
mov rbx, qword [rbx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
call fcn.140055728
cmp rbx, rdi
jne 0x140054459
mov rbx, qword [0x14009a430]
lea rdi, [0x14009a430]
jmp 0x1400544ae
mov rcx, rbx
mov rbx, qword [rbx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
call fcn.140055728
cmp rbx, rdi
jne 0x14005448e
mov rbx, qword [0x14009a1a0]
lea rdi, [0x14009a1a0]
jmp 0x140054503
mov rcx, rbx
mov rbx, qword [rbx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
mov qword [rax], rdx
mov qword [rdx + 8], rax
cmp dword [rcx + 0x24], 0x20
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
jne 0x1400544eb
call fcn.140048214
jmp 0x140054503
cmp dword [rcx + 0x24], r13d
jne 0x1400544f8
call fcn.140048348
jmp 0x140054503
cmp dword [rcx + 0x24], 8
jne 0x140054503
call fcn.1400487ec
cmp rbx, rdi
jne 0x1400544c3
xor r8d, r8d
mov r9d, 0x40007d12
mov edx, esi
lea ecx, [r8 + 1]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.1400728a0