Function at 0x10072cc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144cd5
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push str.LoginAgent::DeleteUser
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 4], 0
call fcn.1000ab60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
push 0x2b
push str.Global0C5354C6_381F_4AED_A3BA_8DB8B9D7AB51
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 7
call fcn.10002060
cmp dword [ebp - 0x4dc], 8
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x4f0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4f0]
call fcn.10002400
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10072d94
mov eax, 0x1f
jmp 0x10072da4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
and eax, 0x1f
test eax, eax
sete byte [ebp - 0x18]
lea ecx, [ebp - 0xc0]
call fcn.1006e6e0
mov byte [ebp - 4], 4
call fcn.100e9270
test al, al
je 0x100730c9
mov ebx, dword [ebp - 0x90]
test ebx, ebx
je 0x100730c9
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
mov edx, dword [edi + 0x10]
cmovae eax, dword [ebp - 0xc0]
cmp dword [edi + 0x14], 0x10
jb 0x10072df3
mov edi, dword [edi]
push dword [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.1001ff80
add esp, 8
test al, al
je 0x100730a0
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
mov edx, dword [esi + 0x10]
cmovae eax, dword [ebp - 0xa0]
cmp dword [esi + 0x14], 0x10
jb 0x10072e2b
mov esi, dword [esi]
push ebx
push eax
mov ecx, esi
call fcn.1001ff80
add esp, 8
test al, al
je 0x100730a0
lea ecx, [ebp - 0xc0]
call fcn.10069290
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10012010
lea ecx, [ebp - 0xc0]
call fcn.100e9540
test al, al
je 0x10073070
lea ecx, [ebp - 0x50c]
call fcn.100feb80
mov dword [ebp - 0x5f8], 0
mov dword [ebp - 0x5e0], 0
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 0x598], 0
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x5e4], 0xf
mov byte [ebp - 0x5f8], 0
mov dword [ebp - 0x5d0], 0
mov dword [ebp - 0x5cc], 0xf
mov byte [ebp - 0x5e0], 0
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 0x5b4], 0xf
mov byte [ebp - 0x5c8], 0
mov dword [ebp - 0x5a0], 0
mov dword [ebp - 0x59c], 0xf
mov byte [ebp - 0x5b0], 0
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x584], 0xf
mov byte [ebp - 0x598], 0
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x56c], 0xf
mov byte [ebp - 0x580], 0
mov byte [ebp - 0x567], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0xf
mov byte [ebp - 0x564], 0
mov byte [ebp - 0x534], 0
mov byte [ebp - 0x518], 0
lea ecx, [ebp - 0x5f8]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.100ff2b0
lea ecx, [ebp - 0x5f8]
call fcn.10071e10
lea ecx, [ebp - 0x4f0]
call fcn.10002400
lea ecx, [ebp - 0x508]
call fcn.10002400
mov dword [ebp - 0x5a8], 0
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x598], 0
mov dword [ebp - 0x594], 0xf
mov byte [ebp - 0x5a8], 0
mov dword [ebp - 0x578], 0
mov dword [ebp - 0x574], 0xf
mov byte [ebp - 0x588], 0
mov byte [ebp - 0x548], 0
mov byte [ebp - 0x524], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x518], 0
lea edx, [ebp - 0x5a8]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4fc]
call fcn.1006c7a0
lea ecx, [ebp - 0x4fc]
call fcn.10010e20
lea ecx, [ebp - 0x5a8]
mov byte [ebp - 4], 4
call fcn.1006a5c0
call fcn.1006db40
mov bl, 1
jmp 0x10073104
push str.LoginAgent::DeleteUser
mov edx, 4
lea ecx, [ebp - 0x5c0]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0xa
cmp byte [eax + 0x48], 0
je 0x100730f7
mov edx, str.failed_delete_Userinfo
mov ecx, eax
call fcn.100205a0
jmp 0x100730f7
push str.LoginAgent::DeleteUser
mov edx, 0x10
lea ecx, [ebp - 0x5c0]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 6
cmp byte [eax + 0x48], 0
je 0x100730f7
mov edx, str.the_delete_request_isnt_for_active_user___exit
jmp 0x100730f0
push str.LoginAgent::DeleteUser
mov edx, 0x10
lea ecx, [ebp - 0x5c0]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 5
cmp byte [eax + 0x48], 0
je 0x100730f7
mov edx, str.already_deleted
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x5c0]
call fcn.1000ad70
xor bl, bl
lea ecx, [ebp - 0xc0]
call fcn.10069330
cmp byte [ebp - 0x18], 0
je 0x10073123
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10073131
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10073131
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4d8]
call fcn.1000ac70
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1007316c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10073162
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007318a
push edx
push ecx
call fcn.101157ed
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
call fcn.1011a6bf
int3