Function at 0x1400d2460
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbp, rcx
lea rax, [0x1402aa8a0]
mov rcx, qword [0x1402aa8a0]
cmp rcx, rax
je 0x1400d24c4
test dword [rcx + 0x44], 0x8000
je 0x1400d24c4
cmp byte [rcx + 0x41], 4
jb 0x1400d24c4
mov edx, 0x10
mov r9d, dword [rbp + 0x58]
lea r8, [0x140236de0]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [rsp + 0x38], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, qword [0x1402b0640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140047660.0]
mov rdx, rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
mov r9d, 0x89
lea r8, str.ServiceThread::suspend
lea rcx, [rsp + 0x40]
call fcn.140084010
nop
mov rdi, qword [rbp + 0x10]
lea rcx, [0x1402b05f8]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor esi, esi
mov ecx, esi
mov rax, qword [0x1402b05d0]
mov rbx, rax
test rax, rax
je 0x1400d2562
nop
cmp qword [rbx + 0x18], rdi
je 0x1400d25b0
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400d2550
mov rcx, rsi
mov rax, qword [0x1402b05e0]
mov rbx, rax
test rax, rax
je 0x1400d2586
cmp qword [rbx + 0x18], rdi
je 0x1400d25eb
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400d2574
mov rbx, rsi
lea rcx, [0x1402b05f8]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov qword [rbp + 0x18], rbx
mov eax, dword [rbp + 0x20]
cmp eax, 1
je 0x1400d2629
mov esi, 0x139f
jmp 0x1400d2683
test rcx, rcx
je 0x1400d25c4
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
mov rax, qword [0x1402b05d0]
cmp rbx, rax
jne 0x1400d25d4
mov rax, qword [rbx + 0x10]
mov qword [0x1402b05d0], rax
mov rax, qword [0x1402b05d8]
cmp rbx, rax
cmove rax, rcx
mov qword [0x1402b05d8], rax
jmp 0x1400d2589
test rcx, rcx
je 0x1400d25ff
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
mov rax, qword [0x1402b05e0]
cmp rbx, rax
jne 0x1400d260f
mov rax, qword [rbx + 0x10]
mov qword [0x1402b05e0], rax
mov rax, qword [0x1402b05e8]
cmp rbx, rax
cmove rax, rcx
mov qword [0x1402b05e8], rax
jmp 0x1400d2589
mov dword [rbp + 0x20], 4
mov rcx, qword [0x1402b0640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140047660.0]
lea rcx, [rax + 0x10]
call fcn.1400328a0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.DLL_SuspendThread]
mov ebx, eax
mov rcx, qword [0x1402b0640]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x28]
call qword [case.0x140047660.0]
lea rcx, [rax + 0x10]
call fcn.1400328c0
cmp ebx, 0xffffffff
jne 0x1400d2683
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp byte [rsp + 0x48], 0
jne 0x1400d2718
mov byte [rsp + 0x48], 1
cmp byte [rsp + 0x60], 0
je 0x1400d26d8
lea r9, str.ROLLBACK
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400bc8e0
mov rcx, qword [rsp + 0x40]
call fcn.1400bc6a0
cmp eax, 0x65
je 0x1400d26d8
mov r8d, eax
lea rdx, str.Rollback
lea rcx, [rsp + 0x40]
call fcn.1400bc870
lea rcx, [0x1402b05f8]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea rcx, [rsp + 0x40]
call fcn.14007e640
mov ebx, eax
lea rcx, [0x1402b05f8]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp ebx, 0x65
je 0x1400d2718
mov r8d, ebx
lea rdx, str.Begin
lea rcx, [rsp + 0x40]
call fcn.1400bc870
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140140100
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret