Function at 0x4199c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445dff
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x465054]
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 esi, edx
mov ebx, ecx
mov dword [ebp - 0xdc], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd8], 0
call fcn.004017e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push esi
call fcn.00409250
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.00418fa0
add esp, 0x18
mov dword [ebp - 4], 1
mov ecx, ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xd8], 4
call fcn.004017d0
mov esi, dword [eax]
lea eax, [ebp - 0x34]
add esi, 0x30
push eax
mov ecx, esi
call fcn.004163d0
add esp, 4
test eax, eax
je 0x419dd4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004182c0
mov byte [ebp - 4], 3
mov ebx, 4
mov dword [ebp - 0xd8], ebx
and ebx, 0xfffffffb
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x419b28
mov edi, dword [ebp - 0x30]
cmp esi, edi
je 0x419ad1
nop word [eax + eax]
mov ecx, esi
call fcn.0040abb0
add esi, 0x18
cmp esi, edi
jne 0x419ac0
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x419b03
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e02
push ecx
push esi
call fcn.00423548
mov edi, dword [ebp - 0xe0]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 5
cmp dword [ebp - 0xc0], 0
je 0x419b69
cmp dword [ebp - 0xa8], 0
je 0x419b69
cmp dword [ebp - 0x90], 0
je 0x419b69
lea eax, [ebp - 0x28]
mov byte [ebp - 0xd1], 1
push eax
lea ecx, [ebp - 0xd0]
call fcn.004184f0
mov byte [ebp - 4], 6
or ebx, 1
jmp 0x419b82
lea ecx, [ebp - 0x70]
mov byte [ebp - 0xd1], 0
call fcn.00419050
mov dword [ebp - 4], 7
or ebx, 2
mov edx, eax
mov dword [ebp - 0xd8], ebx
lea ecx, [ebp - 0x58]
call fcn.0041cf00
mov dword [ebp - 4], 9
test bl, 2
je 0x419baf
and ebx, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xd8], ebx
call fcn.0040abb0
mov byte [ebp - 4], 0xa
test bl, 1
je 0x419c0f
and ebx, 0xfffffffe
mov dword [ebp - 0xd8], ebx
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x419bfb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419bf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e07
push edx
push ecx
call fcn.00423548
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x419d36
push str._2nd_instance
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0040a0f0
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x419d21
mov esi, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
cmp esi, edi
jne 0x419d10
push 0x11
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.ims_client:__show
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409b80
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0041ce40
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x419cf6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419cec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e0c
push edx
push ecx
call fcn.00423548
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x419d21
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.0041ce40
add esi, 0x18
cmp esi, edi
jne 0x419d10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.0040abb0
jmp 0x419d6a
test eax, eax
jne 0x419e11
cmp byte [ebp - 0xd1], al
je 0x419d5d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xdc]
push ecx
mov ecx, edi
call fcn.00419670
jmp 0x419d6a
mov edx, dword [ebp - 0xdc]
mov ecx, edi
call fcn.00419120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0040abb0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
call fcn.0040abb0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
call fcn.0040abb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb8]
call fcn.0040abb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.0040abb0
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.0042353a
mov esp, ebp
pop ebp
ret
push str.Parse_Java_command_line:_check_line
lea ecx, [ebp - 0x70]
call fcn.00409ce0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x70]
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040a970
add esp, 4
lea eax, [ebp - 0x1c]
push 0x463084
push eax
call fcn.00424ffc
call fcn.0042802f
call fcn.0042802f
call fcn.0042802f
mov edx, eax
mov ecx, str.Mutex_access_failed
call fcn.00418a30
int3