Function at 0x48a3dc
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe74
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x7f
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0xc], 0x7f
mov dword [ebp - 0x10], edx
mov dword [edi], ecx
mov dword [ebp - 0x18], eax
push edi
lea edi, [ebp - 0x16c]
xor ebx, ebx
mov ecx, 0x10
mov esi, 0x5b46e2
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x18], 0
pop edi
jne 0x48a432
mov eax, 1
jmp 0x48ab69
cmp dword [ebp + 0x14], 0
je 0x48a448
cmp dword [ebp + 0x14], 1
je 0x48a448
mov eax, 6
jmp 0x48ab69
mov edx, dword [ebp + 0x18]
xor ecx, ecx
xor eax, eax
mov dword [edx + 0x34], ecx
mov dword [ebp - 0x178], 0xc
mov dword [ebp - 0x170], eax
lea edx, [ebp - 0x18c]
push 1
push edx
call sub.advapi32.dll_InitializeSecurityDescriptor
test eax, eax
jne 0x48a47e
mov eax, 3
jmp 0x48ab69
push 0
push 0
push 1
lea edx, [ebp - 0x18c]
push edx
call sub.advapi32.dll_SetSecurityDescriptorDacl
test eax, eax
jne 0x48a49e
mov eax, 3
jmp 0x48ab69
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x174], edx
push 0x5b47a4
push 0
lea ecx, [ebp - 0x178]
push ecx
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48a4d0
mov eax, 3
jmp 0x48ab69
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1c]
push edx
call sub.kernel32.dll_WaitForSingleObject
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0x5b45b8
call fcn.00489c80
add esp, 0x10
test eax, eax
je 0x48a792
mov edx, dword [ebp + 0x1c]
mov esi, dword [edx]
cmp esi, dword [ebp - 8]
jae 0x48a786
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + esi*4]
add eax, 4
push eax
call fcn.0048a234
add esp, 0xc
test eax, eax
je 0x48a77c
push 0x40
push 0
lea edx, [ebp - 0x16c]
push edx
call sub.cc3260mt.dll__memset
add esp, 0xc
lea ecx, [ebp - 0x16c]
push 7
push 0x5b47d2
push ecx
call sub.cc3260mt.dll__memcpy
add esp, 0xc
push 0x38
mov eax, dword [ebp - 4]
mov edx, dword [eax + esi*4]
add edx, 8
push edx
lea ecx, [ebp - 0x165]
push ecx
call sub.cc3260mt.dll__memcpy
add esp, 0xc
lea eax, [ebp - 0x16c]
push eax
push 0
lea edx, [ebp - 0x178]
push edx
call sub.kernel32.dll_CreateMutexA
mov ebx, eax
test ebx, ebx
jne 0x48a593
mov eax, 3
jmp 0x48ab69
cmp dword [ebp + 0x10], 0
je 0x48a634
mov dword [edi], 0xff
push edi
lea edx, [ebp - 0x12c]
push edx
push 8
push 0x5b47da
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a354
add esp, 0x14
test eax, eax
je 0x48a61e
cmp dword [edi], 0xa
jne 0x48a61e
cmp byte [ebp - 0x124], 0
jne 0x48a5d9
cmp byte [ebp - 0x123], 0
je 0x48a5ef
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
push 8
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call sub.cc3260mt.dll__memcmp
add esp, 0xc
test eax, eax
je 0x48a634
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
cmp dword [ebp + 0xc], 0
je 0x48a6d5
mov dword [edi], 0xff
push edi
lea ecx, [ebp - 0x12c]
push ecx
push 8
push 0x5b47e3
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a354
add esp, 0x14
test eax, eax
je 0x48a6bf
cmp dword [edi], 0xa
jne 0x48a6bf
cmp byte [ebp - 0x124], 0
jne 0x48a67a
cmp byte [ebp - 0x123], 0
je 0x48a690
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
push 8
lea ecx, [ebp - 0x12c]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.cc3260mt.dll__memcmp
add esp, 0xc
test eax, eax
je 0x48a6d5
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
cmp dword [ebp + 8], 0
je 0x48a76d
mov dword [edi], 0xff
push edi
lea eax, [ebp - 0x12c]
push eax
push 8
push 0x5b47ec
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a354
add esp, 0x14
test eax, eax
je 0x48a75a
cmp dword [edi], 0x12
jne 0x48a75a
cmp byte [ebp - 0x11c], 0
jne 0x48a71b
cmp byte [ebp - 0x11b], 0
je 0x48a72e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
push 8
lea eax, [ebp - 0x12c]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.cc3260mt.dll__memcmp
add esp, 0xc
test eax, eax
je 0x48a76d
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48a77c
mov dword [ebp - 0x18], 1
inc esi
mov eax, dword [ebp + 0x1c]
mov dword [eax], esi
jmp 0x48a786
inc esi
cmp esi, dword [ebp - 8]
jb 0x48a508
mov edx, dword [ebp - 4]
push edx
call fcn.00489c48
pop ecx
jmp 0x48a7c9
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048a290
mov edx, dword [ebp + 0x18]
pop ecx
xor ecx, ecx
mov dword [edx + 0x34], ecx
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x30], 0xffffffff
mov edx, dword [ebp + 0x18]
mov eax, 8
mov dword [edx + 0x2c], ecx
jmp 0x48ab69
cmp dword [ebp - 0x18], 0
je 0x48a800
mov edx, dword [ebp - 0x1c]
push edx
call sub.kernel32.dll_ReleaseMutex
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048a290
pop ecx
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x34], ebx
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax + 0x2c], edx
xor eax, eax
jmp 0x48ab69
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jbe 0x48a811
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
jmp 0x48a814
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0048a194
pop ecx
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 4]
push ecx
push 0x5b47f5
lea eax, [ebp - 0x2c]
push eax
call fcn.00489c80
add esp, 0x10
test eax, eax
je 0x48aacd
cmp esi, dword [ebp - 0xc]
jae 0x48aac1
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + esi*4]
add edx, 4
push edx
call fcn.0048a234
add esp, 0xc
test eax, eax
je 0x48aab7
push 0x40
push 0
lea ecx, [ebp - 0x16c]
push ecx
call sub.cc3260mt.dll__memset
add esp, 0xc
lea eax, [ebp - 0x16c]
push 7
push 0x5b480b
push eax
call sub.cc3260mt.dll__memcpy
add esp, 0xc
push 0x38
mov edx, dword [ebp - 4]
mov ecx, dword [edx + esi*4]
add ecx, 8
push ecx
lea eax, [ebp - 0x165]
push eax
call sub.cc3260mt.dll__memcpy
add esp, 0xc
lea edx, [ebp - 0x16c]
push edx
push 0
lea ecx, [ebp - 0x178]
push ecx
call sub.kernel32.dll_CreateMutexA
cmp dword [ebp + 0x10], 0
mov ebx, eax
je 0x48a96a
mov dword [edi], 0xff
push edi
lea eax, [ebp - 0x12c]
push eax
push 8
push 0x5b4813
push ebx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a2b0
add esp, 0x18
test eax, eax
je 0x48a954
cmp dword [edi], 0xa
jne 0x48a954
cmp byte [ebp - 0x124], 0
jne 0x48a90f
cmp byte [ebp - 0x123], 0
je 0x48a925
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
push 8
lea eax, [ebp - 0x12c]
push eax
mov edx, dword [ebp + 0x10]
push edx
call sub.cc3260mt.dll__memcmp
add esp, 0xc
test eax, eax
je 0x48a96a
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
cmp dword [ebp + 0xc], 0
je 0x48aa0c
mov dword [edi], 0xff
push edi
lea edx, [ebp - 0x12c]
push edx
push 8
push 0x5b481c
push ebx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a2b0
add esp, 0x18
test eax, eax
je 0x48a9f6
cmp dword [edi], 0xa
jne 0x48a9f6
cmp byte [ebp - 0x124], 0
jne 0x48a9b1
cmp byte [ebp - 0x123], 0
je 0x48a9c7
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
push 8
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call sub.cc3260mt.dll__memcmp
add esp, 0xc
test eax, eax
je 0x48aa0c
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
cmp dword [ebp + 8], 0
je 0x48aaa5
mov dword [edi], 0xff
push edi
lea ecx, [ebp - 0x12c]
push ecx
push 8
push 0x5b4825
push ebx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a2b0
add esp, 0x18
test eax, eax
je 0x48aa92
cmp dword [edi], 0x12
jne 0x48aa92
cmp byte [ebp - 0x11c], 0
jne 0x48aa53
cmp byte [ebp - 0x11b], 0
je 0x48aa66
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
push 8
lea ecx, [ebp - 0x12c]
push ecx
mov eax, dword [ebp + 8]
push eax
call sub.cc3260mt.dll__memcmp
add esp, 0xc
test eax, eax
je 0x48aaa5
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048a26c
pop ecx
push ebx
call fcn.0048a290
pop ecx
jmp 0x48aab7
mov dword [ebp - 0x18], 1
add esi, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
inc esi
mov dword [eax], esi
jmp 0x48aac1
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x48a84b
mov edx, dword [ebp - 4]
push edx
call fcn.00489c48
pop ecx
jmp 0x48ab01
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048a290
mov edx, dword [ebp + 0x18]
pop ecx
xor ecx, ecx
mov dword [edx + 0x34], ecx
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x30], 0xffffffff
mov edx, dword [ebp + 0x18]
mov eax, 8
mov dword [edx + 0x2c], ecx
jmp 0x48ab69
cmp dword [ebp - 0x18], 0
je 0x48ab37
mov edx, dword [ebp - 0x1c]
push edx
call sub.kernel32.dll_ReleaseMutex
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048a290
pop ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x34], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x2c], 0xaa
xor eax, eax
jmp 0x48ab69
mov edx, dword [ebp - 0x1c]
push edx
call sub.kernel32.dll_ReleaseMutex
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048a290
pop ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x30], 0xffffffff
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, 9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18