Function at 0x10003580
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
push 0x3c
lea eax, [esp + 0x24]
push 0
push eax
mov byte [esp + 0x1f], 0
call fcn.10017cd0
mov ecx, dword [esp + 0x70]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
lea esi, [ebp + 1]
push esi
call fcn.1001419a
mov ebx, eax
push esi
mov dword [esp + 0x24], ebx
call fcn.1001419a
mov edi, eax
push esi
mov dword [esp + 0x24], edi
call fcn.1001419a
push esi
push 0
push ebx
mov dword [esp + 0x2c], eax
call fcn.10017cd0
push esi
push 0
push edi
call fcn.10017cd0
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
call fcn.10017cd0
mov eax, dword [esp + 0x44]
add esp, 0x30
push 0x80000000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x68]
push 0
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
call fcn.10002c70
test eax, eax
jne 0x10003660
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10014ad6
mov edx, dword [esp + 0x1c]
push edx
call fcn.10014ad6
mov eax, dword [esp + 0x1c]
push eax
call fcn.10014ad6
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x4c
ret 8
mov edi, dword [esp + 0x1c]
push 4
push str.WWW.
push edi
mov dword [esp + 0x70], edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x10003681
lea ecx, [edi + 4]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0x18]
push 0x2e
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
je 0x100036a2
push eax
call fcn.10003890
test al, al
je 0x100037a3
mov ecx, dword [esp + 0x64]
call fcn.100037d0
test al, al
jne 0x100037a3
mov ebx, dword [esp + 0x60]
cmp dword [ebx + 0x10], 0
je 0x10003778
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebx + 0x68], 0x10
jb 0x100036d7
mov edi, dword [ebx + 0x54]
jmp 0x100036da
lea edi, [ebx + 0x54]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push edi
mov dword [esp + 0x64], eax
call fcn.10007ac0
mov ebx, dword [ebx + 0x10]
push esi
call fcn.1001419a
add esp, 8
mov edi, eax
lea ecx, [ecx]
push esi
push 0
push edi
call fcn.10017cd0
add esp, 0xc
test byte [ebx], 1
je 0x1000371e
mov eax, dword [esp + 0x64]
push ebp
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrNCatA]
test byte [ebx], 2
je 0x10003730
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push edi
call dword [sym.imp.SHLWAPI.dll_StrNCatA]
test byte [ebx], 4
je 0x10003742
mov edx, dword [esp + 0x14]
push ebp
push edx
push edi
call dword [sym.imp.SHLWAPI.dll_StrNCatA]
lea eax, [ebx + 8]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1000375b
add ebx, dword [ebx + 4]
cmp dword [ebx + 4], eax
ja 0x10003700
jmp 0x10003760
mov byte [esp + 0x13], 1
push edi
call fcn.10014ad6
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
push edi
call fcn.10014ad6
mov edx, dword [esp + 0x1c]
push edx
call fcn.10014ad6
mov eax, dword [esp + 0x1c]
push eax
call fcn.10014ad6
mov al, byte [esp + 0x1f]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
push edi
call fcn.10014ad6
push ebx
call fcn.10014ad6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10014ad6
add esp, 0xc
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c
ret 8