Function at 0x401df0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57165a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5d6fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x401c70
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.0040a721
mov ecx, eax
test ecx, ecx
je 0x4020a6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x80
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00402b90
mov esi, dword [ebp - 0x14]
lea ebx, [edi + 0xcc]
push 0xa
push 0
push esi
push ebx
call fcn.0040b15e
mov eax, dword [ebx]
mov ecx, str._Class
sub ecx, eax
mov dword [ebp - 0x4c], str._Class
sar ecx, 1
push 6
mov eax, dword [eax - 0xc]
push str._Class
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], eax
call fcn.00559101
mov edx, eax
mov ecx, SysReAllocString
mov eax, dword [ebp - 0x50]
sub ecx, edx
add esp, 8
mov dword [ebp - 0x54], edx
cmp ecx, eax
jl 0x4020b0
add edx, eax
js 0x4020ba
mov eax, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x401ece
push edx
mov ecx, ebx
call fcn.00402930
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx]
cmp edx, ecx
ja 0x401ee0
lea edx, [eax + edx*2]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x54]
lea eax, [eax + ecx*2]
push edx
push dword [ebp - 0x4c]
push edx
push eax
call fcn.00402d70
mov esi, dword [ebx]
add esp, 0x10
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x54]
cmp ecx, dword [esi - 8]
mov esi, dword [ebp - 0x14]
jg 0x4020b0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
push dword [ebx]
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401f5a
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
je 0x401f5a
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor edi, edi
jmp 0x402069
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
mov dword [ebp - 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.00408fb8
call fcn.0040b326
test eax, eax
jne 0x401f93
push 0xffffffffffffffff
push eax
push 0x64
call fcn.0040b4cd
xor edi, edi
jmp 0x402069
push 0
call fcn.0040bb52
add esp, 4
mov ecx, edi
push 0
call fcn.0040a892
push str.Local_AppWizard_Generated_Applications
mov ecx, edi
call fcn.0040aee6
push 0
mov ecx, edi
call fcn.004090ed
push 0x8c
call fcn.0040770b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x58], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x402002
push 0x8c
push 0
push ebx
call fcn.00556120
add esp, 0xc
mov ecx, ebx
push 0x5b6f08
push 0x5b72dc
push 0x5b6dc8
push 0x80
call fcn.0040c8f0
jmp 0x402004
xor eax, eax
mov byte [ebp - 4], 0
test eax, eax
jne 0x402010
xor edi, edi
jmp 0x402069
push eax
mov ecx, edi
call fcn.0040cec8
push 0x2c
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00556120
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00408424
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.004092bf
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040d18c
test eax, eax
jne 0x402052
xor edi, edi
jmp 0x402061
mov ecx, dword [edi + 0x20]
push 0
call fcn.0040e27d
mov edi, 1
lea ecx, [ebp - 0x48]
call fcn.00408608
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x402088
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553b70
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402d40
push 0x80070057
call fcn.00402d40
push 0x80070057
call fcn.00402d40
int3