Function at 0x4322c4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], eax
mov esi, 0x4f96f8
xor eax, eax
push ebp
push 0x4328e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_SetSecurityDescriptorDacl
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 0x24]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov ecx, 0x4328fc
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x28]
call fcn.0049b4c8
push eax
push 0x800
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [0x4f96bc], eax
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x4323cb
lea eax, [ebp - 0x2c]
mov ecx, 0x4328fc
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x2c]
call fcn.0049b4c8
push eax
push 0
push 0xf001f
call sub.KERNEL32.DLL_OpenFileMappingA
mov dword [0x4f96bc], eax
cmp dword [0x4f96bc], 0
jne 0x432432
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x432908
call fcn.00431ab4
jmp 0x432432
mov eax, dword [0x4edfa0]
call fcn.0049b4c8
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00473908
mov dword [0x4f96d0], eax
push ebp
xor edx, edx
mov eax, 2
call fcn.00432230
pop ecx
mov dword [0x4f96d4], eax
push ebp
mov dl, 1
mov eax, 3
call fcn.00432230
pop ecx
mov dword [0x4f96d8], eax
push ebp
xor edx, edx
mov eax, 4
call fcn.00432230
pop ecx
mov dword [0x4f96dc], eax
push ebp
xor edx, edx
mov eax, 5
call fcn.00432230
pop ecx
mov dword [0x4f96e0], eax
lea eax, [ebp - 0x38]
mov ecx, 0x432944
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x38]
call fcn.0049b4c8
push eax
push 0x800
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [0x4f96c0], eax
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x4324c7
lea eax, [ebp - 0x3c]
mov ecx, 0x432944
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x3c]
call fcn.0049b4c8
push eax
push 0
push 0xf001f
call sub.KERNEL32.DLL_OpenFileMappingA
mov dword [0x4f96c0], eax
cmp dword [0x4f96c0], 0
jne 0x4324c7
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x432908
call fcn.00431ab4
lea eax, [ebp - 0x40]
mov ecx, 0x432950
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x40]
call fcn.0049b4c8
push eax
push 0x800
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [0x4f96c4], eax
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x43255c
lea eax, [ebp - 0x44]
mov ecx, 0x432950
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x44]
call fcn.0049b4c8
push eax
push 0
push 0xf001f
call sub.KERNEL32.DLL_OpenFileMappingA
mov dword [0x4f96c4], eax
cmp dword [0x4f96c4], 0
jne 0x43255c
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x432908
call fcn.00431ab4
lea eax, [ebp - 0x48]
mov ecx, 0x43295c
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x48]
call fcn.0049b4c8
push eax
push 0x800
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [0x4f96c8], eax
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x4325f1
lea eax, [ebp - 0x4c]
mov ecx, 0x43295c
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x4c]
call fcn.0049b4c8
push eax
push 0
push 0xf001f
call sub.KERNEL32.DLL_OpenFileMappingA
mov dword [0x4f96c8], eax
cmp dword [0x4f96c8], 0
jne 0x4325f1
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x432908
call fcn.00431ab4
lea eax, [ebp - 0x50]
mov ecx, 0x432968
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x50]
call fcn.0049b4c8
push eax
push 0x800
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [0x4f96cc], eax
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x432686
lea eax, [ebp - 0x54]
mov ecx, 0x432968
mov edx, dword [0x4edfa4]
call fcn.0049b31c
mov eax, dword [ebp - 0x54]
call fcn.0049b4c8
push eax
push 0
push 0xf001f
call sub.KERNEL32.DLL_OpenFileMappingA
mov dword [0x4f96cc], eax
cmp dword [0x4f96cc], 0
jne 0x432686
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x432908
call fcn.00431ab4
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4f96bc]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [0x4f96e4], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4f96c0]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [0x4f96e8], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4f96c4]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [0x4f96ec], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4f96c8]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [0x4f96f0], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4f96cc]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [0x4f96f4], eax
cmp dword [0x4f96e4], 0
jne 0x432731
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x432908
call fcn.00431ab4
mov eax, dword [0x4f96e4]
add eax, 0x800
sub eax, 4
mov dword [esi], eax
mov eax, dword [esi]
mov edx, eax
sub edx, 4
mov dword [0x4f96fc], edx
mov edx, eax
sub edx, 8
mov dword [0x4f9700], edx
mov edx, eax
sub edx, 0xc
mov dword [0x4f972c], edx
mov edx, eax
sub edx, 0x10
mov dword [0x4f9718], edx
mov edx, eax
sub edx, 0x14
mov dword [0x4f971c], edx
mov edx, eax
sub edx, 0x18
mov dword [0x4f9720], edx
mov edx, eax
sub edx, 0x1c
mov dword [0x4f9724], edx
mov edx, eax
sub edx, 0x20
mov dword [0x4f9728], edx
mov edx, eax
sub edx, 0x24
mov dword [0x4f9704], edx
mov edx, eax
sub edx, 0x28
mov dword [0x4f9708], edx
sub eax, 0x2c
mov dword [0x4f970c], eax
mov eax, dword [esi]
sub eax, 0x30
mov dword [0x4f9710], eax
mov eax, dword [esi]
sub eax, 0x34
mov dword [0x4f9714], eax
mov eax, dword [0x4f9714]
sub eax, 8
mov dword [0x4f9730], eax
mov eax, dword [0x4f9730]
dec eax
mov dword [0x4f9734], eax
mov eax, dword [0x4f9734]
dec eax
mov dword [0x4f9738], eax
cmp ebx, 0xb7
jne 0x432851
mov eax, dword [0x4edfa0]
call fcn.0049b4c8
push eax
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
mov dword [0x4f96d0], eax
mov eax, 2
call fcn.004321a8
mov dword [0x4f96d4], eax
mov eax, 3
call fcn.004321a8
mov dword [0x4f96d8], eax
mov eax, 4
call fcn.004321a8
mov dword [0x4f96dc], eax
mov eax, 5
call fcn.004321a8
mov dword [0x4f96e0], eax
jmp 0x432896
mov eax, dword [esi]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f96fc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f9720]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f9704]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f9708]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f970c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f9710]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f9714]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi]
cmp dword [eax], 0
jge 0x4328a3
mov eax, dword [esi]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4f96fc]
cmp dword [eax], 0
jge 0x4328b6
mov eax, dword [0x4f96fc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4328ec
lea eax, [ebp - 0x54]
mov edx, 8
call fcn.0049b03c
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0049b03c
ret