Function at 0x4467e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x483008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
test eax, eax
je 0x446823
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
push 0x2c
mov word [ebx + 4], 0
mov dword [ebp - 0x18], 0
call fcn.0045e179
mov esi, eax
mov dword [ebp - 0x24], 0
add esp, 4
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], 0
mov dword [esi], 0
lea eax, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0xc
mov dword [esi + 0xc], eax
xor eax, eax
push 0xc
push str.Advapi32.dll
mov dword [esi + 0x10], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.00405840
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.0043e4a0
mov ecx, eax
call fcn.0043e560
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4468ee
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4468e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4468e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x18]
lea eax, [esi + 4]
mov dword [ebp - 0x20], 7
push eax
push 1
lea eax, [esi + 0x14]
push eax
call fcn.0044d230
mov esi, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [ebp - 4], 1
cmp dword [esi], 0
je 0x44692a
lea ecx, [esi + 8]
jmp 0x44692c
xor ecx, ecx
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x1c], ecx
je 0x446941
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x446943
mov eax, dword [edi]
jmp 0x446943
xor eax, eax
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
test eax, eax
jne 0x44698e
call ecx
cmp eax, 5
jne 0x446988
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x10], 0
je 0x446978
cmp dword [edi + 0x14], 8
jb 0x44697a
mov edi, dword [edi]
jmp 0x44697a
xor edi, edi
push edi
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebx]
test eax, eax
je 0x4469ac
call ecx
cmp eax, 0xb7
jne 0x4469a1
mov byte [ebx + 5], 1
mov ecx, dword [ebx]
call fcn.004378c0
mov eax, dword [ebx]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x4469d2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4469e7
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.0045e524
add esp, 8
mov dword [ebp - 0x18], 0
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 - 0x14]
xor ecx, ebp
call fcn.0045e155
mov esp, ebp
pop ebp
ret 4