Function at 0x417dd0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421686
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x42e00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x108], esi
movups xmm0, xmmword [ebx + 0x18]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
push 0xffffffffffffffff
push dword [esi + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], edi
movups xmmword [ebp - 0x128], xmm0
mov byte [ebp - 0x101], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movups xmm0, xmmword [ebp - 0x128]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x12c]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00419f20
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x417e80
mov byte [ebp - 0x101], 0
jmp 0x4180b7
test edi, edi
je 0x417e74
lea ecx, [ebp - 0x100]
call fcn.004180f0
mov eax, dword [ebx + 0x10]
push dword [ebp - 0x110]
mov dword [ebp - 4], 0
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418920
mov esi, eax
lea eax, [ebp - 0xec]
cmp eax, esi
je 0x417ef5
mov ecx, eax
call fcn.00402470
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xdc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x2c]
call fcn.00402470
mov edi, dword [ebp - 0xcc]
push dword [ebp - 0x114]
mov dword [ebp - 0xd0], 0
push dword [edi + 4]
push edi
call fcn.0041af20
mov edx, dword [ebp - 0xc8]
mov ecx, 0xccccccb
sub ecx, edx
mov esi, eax
cmp ecx, 1
jae 0x417f3b
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
movups xmm0, xmmword [ebp - 0x128]
inc edx
mov dword [ebp - 0xc8], edx
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
push 0x42363c
push 4
mov dword [eax], esi
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xa8], 0
call fcn.0041eca4
mov esi, eax
add esp, 8
test esi, esi
je 0x417f87
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
jmp 0x417f98
push 4
push str.JHI_memory_allocation_of_size__d_failed_.
xor esi, esi
call fcn.00401aa0
add esp, 8
movups xmm0, xmmword [ebp - 0x128]
lea eax, [ebp - 0x100]
mov dword [ebp - 0xb0], esi
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xac], 0
movups xmmword [ebp - 0xa0], xmm0
call fcn.00418580
mov esi, dword [ebp - 0x108]
lea eax, [ebp - 0xa0]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041b030
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
call fcn.0041b0c0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call fcn.004181c0
movups xmm0, xmmword [ebp - 0x128]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x2c]
push eax
call fcn.00417cf0
cmp dword [eax + 0x14], 0x10
jb 0x418023
mov eax, dword [eax]
push dword [esi + 4]
push eax
push str.session_record_added_to_session_table_session_id:___s__n_current_session_count:__d_n
call fcn.00401b10
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00402470
lea ecx, [ebp - 0xc4]
call fcn.0041a2f0
push dword [ebp - 0xc4]
call fcn.0041e769
mov eax, dword [ebp - 0xcc]
add esp, 4
mov dword [ebp - 0xc4], 0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0xcc]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], 0
cmp ecx, eax
je 0x4180a3
mov esi, dword [ecx]
push ecx
call fcn.0041e769
mov eax, dword [ebp - 0xcc]
add esp, 4
mov ecx, esi
cmp esi, eax
jne 0x418086
mov esi, dword [ebp - 0x108]
push eax
call fcn.0041e769
add esp, 4
lea ecx, [ebp - 0xec]
call fcn.00402470
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [ebp - 0x101]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e725
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20