Function at 0x414e40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41da02
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [section..data]
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 ebx, ecx
mov dword [ebp - 0x110], ebx
mov eax, dword [ebp + 8]
movdqu xmm0, xmmword [ebp + 0x18]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebx + 8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
movdqu xmmword [ebp - 0x138], xmm0
mov byte [ebp - 0x109], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movdqu xmm0, xmmword [ebp - 0x138]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
movdqu xmmword [ebp - 0x20], xmm0
call fcn.004180e0
mov ecx, eax
mov eax, dword [ebx]
cmp ecx, eax
je 0x414f3d
movdqu xmm0, xmmword [ecx + 0x10]
lea esi, [ebp - 0x20]
mov ebx, 0xc
lea edi, [ebp - 0x30]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmm0, xmmword [ebp - 0x138]
movdqu xmmword [ebp - 0x20], xmm0
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x414f07
add esi, 4
add edi, 4
sub ebx, 4
jae 0x414ef2
xor ebx, ebx
jmp 0x414f33
movzx ebx, dl
movzx edx, byte [edi]
sub ebx, edx
jne 0x414f33
movzx ebx, byte [esi + 1]
movzx edx, byte [edi + 1]
sub ebx, edx
jne 0x414f33
movzx ebx, byte [esi + 2]
movzx edx, byte [edi + 2]
sub ebx, edx
jne 0x414f33
movzx ebx, byte [esi + 3]
movzx edx, byte [edi + 3]
sub ebx, edx
mov dword [ebp - 0x114], ecx
test ebx, ebx
jns 0x414f43
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x114]
cmp dword [ecx], eax
je 0x414f5f
mov esi, dword [ebp - 0x110]
mov byte [ebp - 0x109], 0
jmp 0x4151d4
mov ebx, dword [ebp - 0x124]
test ebx, ebx
je 0x414f4d
lea ecx, [ebp - 0x108]
call fcn.00415210
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x118]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00415bf0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov esi, eax
lea eax, [ebp - 0xf4]
cmp eax, esi
je 0x415035
cmp dword [ebp - 0xe0], 0x10
jb 0x414fc9
push dword [ebp - 0xf4]
call edi
add esp, 4
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
cmp dword [esi + 0x14], 0x10
jae 0x415004
mov eax, dword [esi + 0x10]
inc eax
je 0x415012
push eax
lea eax, [ebp - 0xf4]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x415012
mov eax, dword [esi]
mov dword [ebp - 0xf4], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xe0], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x24], 0x10
jb 0x415043
push dword [ebp - 0x38]
call edi
add esp, 4
mov edi, dword [ebp - 0xd4]
push ebx
mov dword [ebp - 0xd8], 0
push dword [edi + 4]
push edi
call fcn.00418660
mov edx, dword [ebp - 0xd0]
mov ecx, 0xccccccb
sub ecx, edx
mov esi, eax
cmp ecx, 1
jae 0x41507c
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
movdqu xmm0, xmmword [ebp - 0x138]
inc edx
mov dword [ebp - 0xd0], edx
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
push 0x4279ec
push 4
mov dword [eax], esi
movdqu xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xb0], 0
call fcn.0041b728
mov esi, eax
add esp, 8
test esi, esi
je 0x4150ca
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
jmp 0x4150cc
xor esi, esi
movdqu xmm0, xmmword [ebp - 0x138]
lea eax, [ebp - 0x98]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0xf8]
push 0xffffffffffffffff
movdqu xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xf4]
movdqu xmm0, xmmword [ebp - 0x108]
push 0
push eax
mov dword [ebp - 0xb4], 0
movdqu xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
call fcn.004019f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00417520
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.004177e0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x110]
lea eax, [ebp - 0xa8]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004182f0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00418380
lea ecx, [ebp - 0x98]
call fcn.004152e0
lea ecx, [ebp - 0x108]
call fcn.004152e0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [ebp - 0x109]
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.0041b5b1
mov esp, ebp
pop ebp
ret 0x20