Function at 0x140005af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor r15d, r15d
mov r14d, r15d
mov rbx, qword [0x140060388]
mov rcx, rbx
mov rdi, qword [0x140060380]
sub rcx, rdi
movabs r12, 0x6666666666666667
mov rax, r12
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140005f5c
mov esi, r15d
lea rax, [rdi + rsi]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x140005b8e
mov qword [rax + 0x68], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [0x140060380]
lea rax, [rdi + rsi]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x140005bac
mov qword [rax + 0x68], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [0x140060380]
lea rax, [rdi + 0x18]
add rax, rsi
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x140005bc1
mov rax, qword [rax]
mov word [rax], r15w
mov rax, qword [0x140060380]
lea rdx, [rax + rsi]
mov rcx, qword [rdx + 0x70]
test rcx, rcx
je 0x140005bea
mov qword [rdx + 0x70], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140060380]
add rax, 0x48
add rax, rsi
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x140005bff
mov rax, qword [rax]
mov word [rax], r15w
mov rdi, qword [0x140060380]
mov rbx, qword [rdi + rsi + 0x78]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140005d70
nop dword [rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140014c90
mov rdi, qword [rbx + 0x40]
mov qword [rbp + 0x10], rdi
test rdi, rdi
je 0x140005c44
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
test rdi, rdi
je 0x140005c56
mov qword [rbp + 0x10], r15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x40]
call fcn.140014c90
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x140005c71
mov rax, qword [rax]
mov word [rax], r15w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140005cb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006358
call fcn.140024800
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140005cc5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140005d05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006364
call fcn.140024800
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140005d38
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140005d33
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140005d33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140005d20
mov rbx, rax
jmp 0x140005d5f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140005d5f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140005d50
cmp byte [rbx + 0x19], 0
je 0x140005c20
mov rdi, qword [0x140060380]
mov rbx, qword [rdi + rsi + 0x88]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140005ee0
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x18]
call fcn.140014c90
mov rdi, qword [rbx + 0x40]
mov qword [rbp + 0x38], rdi
test rdi, rdi
je 0x140005db4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
test rdi, rdi
je 0x140005dc6
mov qword [rbp + 0x38], r15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x60]
call fcn.140014c90
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x140005de1
mov rax, qword [rax]
mov word [rax], r15w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x140005e26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000635e
call fcn.140024800
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140005e35
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140005e75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006364
call fcn.140024800
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140005ea8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140005ea3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140005ea3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140005e90
mov rbx, rax
jmp 0x140005ecf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140005ecf
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140005ec0
cmp byte [rbx + 0x19], 0
je 0x140005d90
mov rdi, qword [0x140060380]
mov rcx, qword [rdi + rsi + 0x98]
test rcx, rcx
je 0x140005f25
mov rax, qword [rcx]
lea rdx, [0x1400600f8]
call qword [rax + 0x48]
mov rdi, qword [0x140060380]
lea rax, [rdi + rsi]
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140005f25
mov qword [rax + 0x98], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [0x140060380]
inc r14d
add rsi, 0xa0
mov rbx, qword [0x140060388]
mov rcx, rbx
sub rcx, rdi
mov rax, r12
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
jb 0x140005b70
cmp rdi, rbx
je 0x140005f83
mov rcx, rdi
call fcn.1400032b0
add rdi, 0xa0
cmp rdi, rbx
jne 0x140005f61
mov rax, qword [0x140060380]
mov qword [0x140060388], rax
mov rcx, qword [0x140060320]
test rcx, rcx
je 0x140005f9c
mov qword [0x140060320], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140060328]
test rcx, rcx
je 0x140005fb5
mov qword [0x140060328], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140060288]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [0x140060280]
cmp dword [rbx + 8], 0
je 0x14000634d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x14000636a
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x50], xmm0
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140024488
test eax, eax
jne 0x140006375
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [0x140060280]
mov qword [0x140060280], r15
test rcx, rcx
je 0x14000602a
cmp dword [rcx + 8], eax
jne 0x140006347
lea edx, [rax + 0x10]
call fcn.140024800
mov rcx, qword [0x140060288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140060290]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400602d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400602d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400602e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400602e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400602f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400602f8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140060300]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140060308]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, 0xffffffffffffffff
mov qword [0x140060290], rsi
mov qword [0x140060288], rsi
movdqa xmm0, xmmword [0x140053ca0]
movdqa xmmword [0x1400602d0], xmm0
mov qword [0x1400602e0], rsi
mov qword [0x1400602f0], rsi
mov qword [0x1400602e8], rsi
mov qword [0x1400602f8], rsi
movdqa xmmword [0x140060300], xmm0
mov rcx, qword [0x1400603b8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006113
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400603b8], r15
mov rcx, qword [0x1400603c0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006131
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400603c0], r15
mov rdi, qword [0x140060190]
mov rbx, qword [0x140060188]
cmp rbx, rdi
je 0x140006167
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
add rbx, 0x20
cmp rbx, rdi
jne 0x140006144
mov rdi, qword [0x140060190]
mov rbx, qword [0x140060188]
cmp rbx, rdi
cmovne rdi, rbx
mov qword [0x140060190], rdi
mov dword [0x140060180], r15d
mov dword [rsp + 0x28], 9
mov word [rsp + 0x2c], 0
mov byte [rsp + 0x2e], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov word [rsp + 0x38], 0
mov byte [rsp + 0x3a], 0
mov qword [rsp + 0x3c], r15
mov qword [rsp + 0x44], 0
mov dword [rsp + 0x20], 5
mov eax, dword [0x140060160]
mov dword [rsp + 0x24], eax
mov rcx, qword [0x140060170]
test rcx, rcx
je 0x140006280
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [0x140060178]
test rax, rax
je 0x1400061ff
lock inc dword [rax + 8]
mov rax, qword [0x140060178]
mov rcx, qword [0x140060170]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x18], eax
mov r9d, 2
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
call fcn.1400141b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rcx, qword [0x140060178]
test rcx, rcx
je 0x14000625e
lock inc dword [rcx + 8]
mov rcx, qword [0x140060178]
mov rax, qword [0x140060170]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x50]
lea rcx, [0x140060100]
call fcn.1400148e0
mov qword [0x140060170], r15
mov rbx, qword [0x140060178]
mov qword [0x140060178], r15
test rbx, rbx
je 0x1400062c1
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400062c1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400062c1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdx, qword [0x140060460]
test rdx, rdx
je 0x1400062df
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov qword [0x140060460], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 0x32
lea rdx, str.DtsService::ApoControllerSystem::CleanUp_completed
lea rcx, [rsp + 0x60]
call fcn.140015710
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140002680
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400247e0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002b8c8
int3
mov ecx, 1
call fcn.140023ebc
nop
call fcn.14002bf94
nop
call fcn.14002bf94
nop
call fcn.14002bf94
int3
mov ecx, 5
call fcn.140023ebc
int3
mov ecx, 2
call fcn.140023ebc
int3