Function at 0x64006b80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64022701
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6402c09c]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [0x64030290]
mov esi, dword [ebp + 8]
sub ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], esi
jne 0x64006be0
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [0x64030290], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or eax, eax
je 0x64006bf4
push esi
pop eax
jmp 0x64006e43
mov eax, dword [ebp + 0xc]
push eax
push 7
pop edi
nop
nop
push esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
call fcn.64008680
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0xf0], ebx
call fcn.640073c0
push eax
pop ecx
call fcn.64007d20
call fcn.640073c0
mov esi, dword [esp + 0x14]
cmp esi, ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
je 0x64006c58
cmp esi, eax
je 0x64006c5d
call fcn.640120d8
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x18], edx
jne 0x64006d6c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xc4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], bx
call fcn.64008590
lea ecx, [esp + 0xd8]
push ecx
call fcn.64007450
add esp, 4
mov ecx, esp
mov byte [esp + 0x104], 1
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xe0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], bx
call fcn.64008590
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x120], 2
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], bx
call fcn.64008590
lea ecx, [esp + 0xa0]
push ecx
mov byte [esp + 0x124], 1
call fcn.64009ea0
add esp, 0x3c
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 3
call fcn.64009f40
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xf0], 4
call fcn.640073c0
push eax
pop ecx
call fcn.64007c10
lea ecx, [esp + 0x30]
call fcn.64007130
lea ecx, [esp + 0x68]
call fcn.64007130
mov byte [esp + 0xe8], bl
cmp dword [esp + 0xd4], 8
jb 0x64006d6c
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.64011d22
add esp, 4
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
cmp eax, 0x100
jge 0x64006d9b
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.640073c0
push eax
pop ecx
call fcn.64007d20
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
call fcn.640073c0
cmp esi, ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
je 0x64006daf
cmp esi, eax
je 0x64006db4
call fcn.640120d8
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x20]
je 0x64006de1
cmp esi, ebx
jne 0x64006dc7
call fcn.640120d8
cmp edi, dword [esi + 4]
jne 0x64006dd1
call fcn.640120d8
cmp dword [edi + 0x40], 8
jb 0x64006ddc
mov edi, dword [edi + 0x2c]
jmp 0x64006de5
add edi, 0x2c
jmp 0x64006de5
mov edi, dword [esp + 0x28]
cmp dword [0x6402e060], ebx
jne 0x64006e09
push str.ReleaseMutex
push str.my4lp3vn23wse
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x6402e060], eax
mov eax, dword [0x64030290]
cmp eax, ebx
jne 0x64006e20
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [0x64030290], eax
push eax
call dword [0x6402e060]
cmp dword [esp + 0xb8], 8
jb 0x64006e41
mov edx, dword [esp + 0xa4]
push edx
call fcn.64011d22
add esp, 4
push edi
pop eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.6401257c
mov esp, ebp
pop ebp
ret