Function at 0x480ab0
Capabilities:
Check mutex on windows

Disassembly:
push 0x108
mov eax, 0x44e4ef
call fcn.0043bc97
mov esi, ecx
mov dword [ebp - 0x2c], esi
push 0x406ce8
push dword [esi + 0x10]
xor edi, edi
mov ebx, edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x480d04
push 7
push 0x407cfc
push dword [esi + 0x14]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x480d04
push 0x40b1a8
push edi
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x480ccb
cmp esi, 0xffffffff
je 0x480ccb
push 0xffffffffffffffff
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea ecx, [ebp - 0x114]
call fcn.004167c7
push 0x40b180
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00423364
push 0x407044
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00423364
push 0x407c58
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00423364
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
push 0x4a1724
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004240ea
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x114]
call fcn.00416970
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00429900
lea ecx, [ebp - 0x3c]
call fcn.00432c1e
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00429900
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00429900
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00429900
lea ecx, [ebp - 0x114]
call fcn.00416930
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
test ebx, ebx
js 0x480c7c
cmp edi, eax
jae 0x480c7c
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 8
call fcn.004817f0
cmp edi, dword [eax + 4]
jae 0x480d0c
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push 0
push ecx
lea ecx, [ebp - 0x14]
lea eax, [eax + edi*4]
push ecx
push dword [eax]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.0048161e
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x480c58
test eax, eax
jne 0x480c58
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.00480d1a
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x480c73
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x4a3670]
call edi
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc edi
jmp 0x480bf1
mov edi, 0x401cc8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
call fcn.0041685f
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], edi
call fcn.0041685f
lea ecx, [ebp - 0xdc]
call fcn.0041685f
lea ecx, [ebp - 0x110]
call fcn.0041685f
jmp 0x480ce0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x480ce0
movzx ebx, bx
or ebx, 0x80070000
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x480d04
cmp esi, 0xffffffff
je 0x480d04
mov ecx, dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], esi
call fcn.0043d568
mov eax, ebx
call fcn.0043bbfc
ret
mov ecx, 0x80070057
call fcn.0045fefb
mov eax, dword [ebp - 0x24]
int3