Function at 0x430920
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov dword [ebp - 0x7c], eax
mov edi, ecx
mov eax, dword [ebp + 0x14]
push 0x64
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x70]
push 0
push eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x74], esi
call fcn.00437ca0
add esp, 0xc
test esi, esi
je 0x430bee
test ebx, ebx
mov ebx, dword [ebp + 8]
jne 0x43097c
test ebx, ebx
jne 0x430bee
push 0x28
call fcn.004443a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4309a0
lea eax, [esi + 5]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0
movups xmmword [esi + 0x10], xmm0
push 0
movq qword [esi + 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x4309e1
push esi
call fcn.0043da60
add esp, 4
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov edx, esi
mov dword [esi + 0x20], 1
mov ecx, edi
mov dword [esi + 0x18], 1
call fcn.0042ee80
movups xmm0, xmmword [ebp + 0x1c]
mov ecx, edx
mov dword [ebp - 0x84], eax
push ecx
push eax
push ebx
push dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
lea edx, [ebp - 0x70]
push 0x28
mov ecx, edi
mov dword [ebp - 0x60], 4
movups xmmword [ebp - 0x58], xmm0
call fcn.0042f370
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x430a36
mov ebx, dword [esi + 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x430a4d
push eax
call fcn.0043da60
add esp, 4
mov dword [esi + 0xc], 0
cmp ebx, 0x304
jne 0x430abe
movups xmm0, xmmword [ebp + 0x1c]
mov edx, dword [ebp - 0x90]
sub esp, 0x10
mov eax, esp
mov ecx, edi
push dword [ebp + 0x18]
movups xmmword [eax], xmm0
call fcn.00430850
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x430abe
push dword [ebp - 0x88]
lea edx, [ebp - 0x70]
mov ecx, edi
push dword [ebp - 0x84]
push dword [ebp + 8]
push dword [ebp - 0x8c]
push 0x28
call fcn.0042f370
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x430aa7
mov ebx, dword [esi + 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x430abe
push eax
call fcn.0043da60
add esp, 4
mov dword [esi + 0xc], 0
mov eax, dword [ebp - 0x84]
lea edi, [edi + edi*2]
shl edi, 4
push 0xffffffffffffffff
test ebx, ebx
jne 0x430b5b
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
push dword [edi + 0x47b814]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub dword [esi + 0x20], 1
jne 0x430b3c
cmp dword [esi + 0x1c], ebx
je 0x430b3c
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x47b818]
call fcn.00430330
mov eax, dword [esi + 0x24]
test eax, eax
je 0x430b1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x430b33
push eax
call fcn.0043da60
add esp, 4
mov dword [esi + 0xc], 0
push esi
call fcn.0043da60
add esp, 4
push dword [edi + 0x47b814]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push dword [edi + 0x47b814]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub dword [esi + 0x20], 1
jne 0x430bbf
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x47b818]
call fcn.00430330
mov eax, dword [esi + 0x24]
test eax, eax
je 0x430b9d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x430bb4
push eax
call fcn.0043da60
add esp, 4
mov dword [esi + 0xc], 0
push esi
call fcn.0043da60
add esp, 4
jmp 0x430bc6
mov dword [esi + 0x1c], 1
push dword [edi + 0x47b814]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x7c]
mov dword [eax], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 6
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret