Function at 0x72c9334d
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x72c9606c]
push esi
xor esi, esi
cmp eax, esi
jne 0x72c93379
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, esi
mov dword [0x72c9606c], eax
jne 0x72c93379
push 7
pop eax
jmp 0x72c9386c
push ebx
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.72c92f6b
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 6
ja 0x72c93617
je 0x72c935e1
dec eax
je 0x72c935d0
dec eax
je 0x72c935a9
dec eax
je 0x72c9343a
dec eax
je 0x72c933f3
dec eax
jne 0x72c93642
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.72c9196d
mov edi, eax
cmp edi, esi
jne 0x72c93842
push dword [ebx + 0x14]
add ebx, 0x20
push dword [ebp + 8]
push ebx
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c9383f
push 0x1d8308
jmp 0x72c9389a
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.72c9196d
mov edi, eax
cmp edi, esi
jne 0x72c93842
push dword [ebx + 0x14]
lea eax, [ebx + 0x20]
push dword [ebp + 8]
push eax
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c9383f
push ebx
call fcn.72c932f0
push 0x1d8304
push 0
mov dword [esi + 0x54], 1
push 0
jmp 0x72c938ad
mov eax, dword [ebp + 0x14]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea eax, [eax + eax + 0x24]
push eax
push 0x2040
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
xor ecx, ecx
cmp ebx, ecx
je 0x72c9383f
mov dword [ebx + 0x1c], ecx
cmp dword [0x72c9607c], ecx
jne 0x72c93480
call fcn.72c92f6b
mov dword [0x72c96084], eax
call fcn.72c92f6b
mov dword [ebx + 0x18], eax
cmp dword [0x72c9607c], ecx
jne 0x72c934ba
call fcn.72c93170
mov edi, eax
test edi, edi
je 0x72c934ba
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x72c93842
push 0x14
push 0x40
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x72c93581
mov esi, dword [ebp + 0x14]
push 5
pop ecx
push 0
push dword [ebp + 8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push dword [eax + 0x10]
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c9355e
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], ecx
mov eax, dword [0x72c96078]
cmp eax, ecx
je 0x72c93506
mov dword [esi + 0x30], eax
push 0x1d8300
push ecx
push ecx
push esi
mov dword [esi + 0x54], 1
call fcn.72c9448d
mov edi, eax
test edi, edi
jne 0x72c93556
mov edi, dword [esi + 0x54]
test edi, edi
jne 0x72c93556
mov eax, dword [ebp + 0xc]
and dword [ebx], edi
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x10], ecx
push dword [eax + 0x10]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x14], eax
push esi
call fcn.72c91357
jmp 0x72c93561
push 7
pop edi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0xc]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x72c9358a
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push 7
pop edi
test edi, edi
jne 0x72c934a1
mov eax, dword [0x72c96070]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [0x72c96070], ebx
mov dword [eax], ebx
jmp 0x72c93842
push esi
push dword [ebp + 8]
push dword [ebp + 0x18]
call fcn.72c932b4
mov ebx, eax
cmp ebx, esi
je 0x72c9383f
push dword [ebp + 0x14]
push ebx
call fcn.72c946cb
mov edi, eax
push ebx
jmp 0x72c93729
push dword [ebp + 0x14]
push 4
call fcn.72c91466
mov edi, eax
jmp 0x72c93842
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.72c9196d
mov edi, eax
cmp edi, esi
jne 0x72c93842
push dword [ebx + 0x14]
add ebx, 0x20
push dword [ebp + 8]
push ebx
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c9383f
push 0x1d830c
jmp 0x72c9389a
push 7
pop edi
cmp eax, edi
je 0x72c93871
cmp eax, 8
je 0x72c9374e
cmp eax, 0x64
je 0x72c9373d
cmp eax, 0x65
je 0x72c9373a
cmp eax, 0xffffffff
je 0x72c93649
push 8
jmp 0x72c93841
cmp dword [ebp + 0x10], esi
jne 0x72c93733
cmp dword [ebp + 0x14], esi
jne 0x72c93733
cmp dword [ebp + 0x18], esi
jne 0x72c93733
push esi
push esi
push 0x72c911d4
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c93842
xor ebx, ebx
inc ebx
mov dword [esi + 0x34], ebx
xor edi, edi
push 0x1d8318
push edi
push edi
push esi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x34], edi
call fcn.72c9448d
test byte [esi + 0x34], bl
je 0x72c936e8
cmp dword [esi + 0x4c], edi
mov dword [ebp + 0x18], edi
jle 0x72c936e8
mov eax, dword [0x72c9608c]
lea ecx, [esi + 0x38]
cmp eax, edi
je 0x72c936d8
mov edx, dword [eax]
and edx, 0x7f
mov dword [eax + edx*8 + 8], ebx
mov eax, dword [0x72c9608c]
mov edx, dword [eax]
mov edi, dword [ecx]
and edx, 0x7f
mov dword [eax + edx*8 + 4], edi
mov eax, dword [0x72c9608c]
inc dword [eax]
mov eax, dword [0x72c9608c]
xor edi, edi
inc dword [ebp + 0x18]
mov edx, dword [ebp + 0x18]
add ecx, 4
cmp edx, dword [esi + 0x4c]
jl 0x72c936ad
jmp 0x72c936ed
mov eax, dword [0x72c9608c]
test byte [esi + 0x34], 2
je 0x72c9371c
cmp eax, edi
je 0x72c9371c
mov ecx, dword [eax]
and ecx, 0x7f
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [0x72c9608c]
mov ecx, dword [eax]
mov edx, dword [esi + 0x48]
and ecx, 0x7f
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [0x72c9608c]
inc dword [eax]
cmp dword [esi + 0x34], edi
jne 0x72c93682
mov edi, dword [esi + 0x54]
push esi
call fcn.72c91357
jmp 0x72c93842
push 0xb
jmp 0x72c93841
push esi
jmp 0x72c9373f
push 1
push dword [ebp + 0x18]
push 4
call fcn.72c914bb
jmp 0x72c935da
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.72c9196d
mov edi, eax
cmp edi, esi
jne 0x72c93842
push dword [ebx + 0x14]
add ebx, 0x20
push dword [ebp + 8]
push ebx
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c93837
mov eax, dword [ebp + 0x18]
and dword [esi + 0x34], 0
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
push 0x1d8314
xor ebx, ebx
push eax
inc ebx
mov dword [esi + 0x54], ebx
push dword [eax]
push esi
call fcn.72c9448d
mov edi, eax
test edi, edi
jne 0x72c937a4
mov edi, dword [esi + 0x54]
test byte [esi + 0x34], bl
je 0x72c937fb
and dword [ebp + 0x14], 0
cmp dword [esi + 0x4c], 0
jle 0x72c937fb
lea eax, [esi + 0x38]
mov dword [ebp + 0x18], eax
mov eax, dword [0x72c9608c]
test eax, eax
je 0x72c937ea
mov ecx, dword [eax]
mov edx, dword [ebp + 0x18]
and ecx, 0x7f
mov dword [eax + ecx*8 + 8], ebx
mov eax, dword [0x72c9608c]
mov ecx, dword [eax]
mov edx, dword [edx]
and ecx, 0x7f
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [0x72c9608c]
inc dword [eax]
mov eax, dword [0x72c9608c]
inc dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0x18], 4
cmp ecx, dword [esi + 0x4c]
jl 0x72c937be
jmp 0x72c93800
mov eax, dword [0x72c9608c]
test byte [esi + 0x34], 2
je 0x72c9382f
test eax, eax
je 0x72c9382f
mov ecx, dword [eax]
and ecx, 0x7f
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [0x72c9608c]
mov ecx, dword [eax]
mov edx, dword [esi + 0x48]
and ecx, 0x7f
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [0x72c9608c]
inc dword [eax]
push esi
call fcn.72c91357
jmp 0x72c9383a
push 7
pop edi
mov eax, edi
dec eax
jne 0x72c93842
push 7
pop edi
push dword [0x72c9606c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.72c92f6b
cmp eax, dword [ebp - 4]
je 0x72c93868
mov eax, dword [0x72c96074]
test eax, eax
je 0x72c93868
push eax
call dword [sym.imp.KERNEL32.dll_PulseEvent]
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 0x14
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.72c9196d
mov edi, eax
cmp edi, esi
jne 0x72c93842
push dword [ebx + 0x14]
add ebx, 0x20
push dword [ebp + 8]
push ebx
call fcn.72c932b4
mov esi, eax
test esi, esi
je 0x72c9383f
push 0x1d8310
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
push eax
mov dword [esi + 0x54], 1
push dword [eax]
push esi
call fcn.72c9448d
mov edi, eax
test edi, edi
jne 0x72c93728
jmp 0x72c93725