Function at 0x402c80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58e1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x9a0], eax
push ebx
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x9b8]
mov dword fs:[0], eax
sub esp, 0x1c
mov edi, ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
xor ebx, ebx
push 0x21
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x59b04c
mov byte [ecx + 4], bl
call fcn.00405bb0
mov dword [esp + 0x9dc], ebx
mov eax, dword [0x5ef5f8]
test eax, eax
jne 0x402cfb
call fcn.00404c10
mov ecx, dword [0x5ef5f8]
push ecx
mov dword [esp + 0x9e0], 0xffffffff
call fcn.00486200
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x402d21
call fcn.00404b70
mov eax, dword [0x5ef5f4]
mov eax, dword [eax + 0x3f0]
cmp eax, 2
je 0x402e1c
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x402d44
call fcn.00404b70
push 0x59b070
call fcn.0047b0e0
mov edx, dword [0x5ef5f8]
add esp, 4
test edx, edx
jne 0x402d60
call fcn.00404c10
mov eax, dword [0x5ef5f8]
mov esi, dword [eax + 0x40]
mov ebx, dword [esi + 0x2c]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x2c], esp
xor edx, edx
push 0xffffffffffffffff
lea ecx, [esi + 0x168]
push edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
push ecx
mov word [eax + 4], dx
call fcn.00405d70
mov ecx, ebx
mov edx, edi
call fcn.00401e40
test eax, eax
jne 0x402e1a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push str.0002
mov byte [ecx + 4], al
call fcn.00405bb0
mov dword [esp + 0x9dc], 1
mov eax, dword [0x5ef5f8]
test eax, eax
jne 0x402ddf
call fcn.00404c10
mov ecx, dword [0x5ef5f8]
mov dword [esp + 0x9dc], 0xffffffff
call fcn.00488790
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x402e04
call fcn.00404b70
mov edx, dword [esi + 0x2c]
push edx
push 0x59b084
call fcn.0047b0e0
add esp, 8
jmp 0x40327c
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x9c0], 2
mov eax, dword [0x5ef5f4]
test eax, eax
jne 0x402e3d
call fcn.00404b70
push 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x5ef5f4]
call fcn.0047a8d0
cmp dword [eax + 0x18], 8
jb 0x402e5a
mov eax, dword [eax + 4]
jmp 0x402e5d
add eax, 4
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov eax, edx
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x402ea1
cmp esi, ebx
je 0x402ea1
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], ebx
jmp 0x402ea7
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x38], 8
jb 0x402ebb
mov eax, dword [esp + 0x24]
push eax
call fcn.005273b8
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x28
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x59b094
mov byte [ecx + 4], 0
call fcn.00405bb0
mov byte [esp + 0x9dc], 3
mov ecx, dword [0x5ef5f8]
test ecx, ecx
jne 0x402ef5
call fcn.00404c10
mov edx, dword [0x5ef5f8]
push edx
mov byte [esp + 0x9e0], 2
call fcn.00486200
mov eax, dword [0x5ef5f4]
test eax, eax
jne 0x402f17
call fcn.00404b70
mov ecx, dword [0x5ef5f4]
cmp dword [ecx + 0x3f0], 2
je 0x402f82
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x402f35
call fcn.00404b70
mov eax, dword [0x5ef5f4]
push eax
mov eax, 0x11
call fcn.0047ac90
cmp eax, 1
jne 0x402f82
push 0x78
push 0x3c
call fcn.00490890
mov ecx, dword [0x5ef5f4]
add esp, 8
mov esi, eax
test ecx, ecx
jne 0x402f67
call fcn.00404b70
push esi
push str.Exe
call fcn.0047b0e0
imul esi, esi, 0x3e8
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004032a0
test eax, eax
je 0x402fbb
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x402f9a
call fcn.00404b70
push str.Pop_Chrome_MiNi
call fcn.0047b0e0
mov esi, dword [esp + 0x18]
add esp, 4
cmp esi, ebx
je 0x40327c
push esi
call edi
jmp 0x403275
mov eax, dword [0x5ef5f4]
test eax, eax
jne 0x402fc9
call fcn.00404b70
push str.PopMiNi_Start
call fcn.0047b0e0
mov ecx, dword [0x5ef5f8]
add esp, 4
test ecx, ecx
jne 0x402fe5
call fcn.00404c10
mov edx, dword [0x5ef5f8]
mov esi, dword [edx + 0x40]
push 4
lea ebx, [esi + 0x34]
push 0x59ace8
xor eax, eax
mov edx, ebx
call fcn.00403c00
cmp eax, 0xffffffff
jne 0x40301a
mov esi, dword [esp + 0x14]
test esi, esi
je 0x40327c
push esi
call edi
jmp 0x403275
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.00401000
cmp dword [esi + 0xc], 0
mov dword [esp + 0x10], 0
jne 0x40303d
mov dword [esp + 0x10], 1
cmp dword [esi + 0x10], 0
jne 0x403071
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x114]
push eax
mov eax, ebx
call fcn.00405d70
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x403064
call fcn.00404b70
push str.delete_url_param
call fcn.0047b0e0
add esp, 4
cmp dword [ebx + 0x18], 8
jb 0x40307c
mov edi, dword [ebx + 4]
jmp 0x40307f
lea edi, [ebx + 4]
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x40308e
call fcn.00404b70
push edi
push str.MiNiUrl__s_
call fcn.0047b0e0
mov eax, dword [0x5ef5f4]
add esp, 8
test eax, eax
jne 0x4030aa
call fcn.00404b70
mov ecx, dword [esi + 0xc]
push ecx
push str.MiNi__d_
call fcn.0047b0e0
add esp, 8
call fcn.004927f0
test eax, eax
je 0x40311d
mov edx, 0x59ace8
lea eax, [esp + 0x3c]
call fcn.00406240
mov edx, 0x59b174
lea eax, [esp + 0x58]
mov byte [esp + 0x9c0], 4
call fcn.00406240
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
push ebx
mov byte [esp + 0x9cc], 5
call fcn.004928f0
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.00406300
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c0], 2
call fcn.00406300
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.004726b0
mov byte [esp + 0x9c0], 6
cmp dword [esi + 0xc], 0
lea edi, [esp + 0x74]
je 0x40314a
push 0x221
mov ecx, 0x352
jmp 0x40314e
push 0
xor ecx, ecx
call fcn.00472ac0
cmp dword [ebx + 0x18], 8
jb 0x40315e
mov edi, dword [ebx + 4]
jmp 0x403161
lea edi, [ebx + 4]
mov eax, dword [esp + 0x8bc]
test eax, eax
je 0x403172
push eax
call fcn.0046c1f0
call fcn.004027b0
call dword [sym.imp.ole32.dll_OleUninitialize]
push 4
lea edi, [esi + 0x1bc]
push 0x59ace8
xor eax, eax
mov edx, edi
call fcn.00403c00
cmp eax, 0xffffffff
je 0x4031fb
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x2c], esp
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add esi, 0x1d8
mov ebx, 7
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], 0
push esi
mov word [eax + 4], cx
call fcn.00405d70
sub esp, 0x1c
mov eax, esp
mov byte [esp + 0x9f8], bl
mov dword [esp + 0x54], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], 0
push edi
mov word [eax + 4], dx
call fcn.00405d70
mov byte [esp + 0x9f8], 6
call fcn.00403690
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x59b180
call fcn.004057a0
mov byte [esp + 0x9dc], 8
mov eax, dword [0x5ef5f8]
test eax, eax
jne 0x403224
call fcn.00404c10
mov ecx, dword [0x5ef5f8]
push ecx
mov byte [esp + 0x9e0], 6
call fcn.00486200
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x403247
call fcn.00404b70
push str.PopMiNi_End
call fcn.0047b0e0
add esp, 4
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x9c4], 2
call fcn.00472870
mov esi, dword [esp + 0x14]
test esi, esi
je 0x40327c
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x9b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9a0]
xor ecx, esp
call fcn.005273c3
mov esp, ebp
pop ebp
ret