Function at 0x57cc30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6a79
mov eax, dword fs:[0]
push eax
sub esp, 0x53c
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d0], ecx
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 4], 1
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x57cd60
mov dword [ebp - 0x488], fcn.0057cc30
mov dword [ebp - 0x484], 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x47c], esp
lea edx, [ebp + 0x24]
push edx
call fcn.00405630
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x480], esp
lea edx, [ebp + 8]
push edx
call fcn.00405630
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x488]
push edx
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.00444990
add esp, 0x4c
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4e4]
push edx
mov ecx, dword [ebp - 0x4d0]
add ecx, 0x34
call fcn.00444ab0
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0043ea20
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x478]
jmp 0x57d76e
mov ecx, dword [ebp - 0x4d0]
call fcn.0043e780
and eax, 1
je 0x57cd7c
mov eax, dword [ebp - 0x4d0]
cmp dword [eax + 0x30], 0
jne 0x57cdac
mov dword [ebp - 0x48c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x48c]
jmp 0x57d76e
push str.youku_iku_crash
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x62f56c], eax
cmp dword [0x62f56c], 0
jne 0x57ce0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x57ce0a
xor ecx, ecx
jne 0x57cdd6
mov dword [ebp - 0x490], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x490]
jmp 0x57d76e
xor edx, edx
jne 0x57ce0a
lea ecx, [ebp - 0x21c]
call fcn.004056c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x200]
call fcn.004056c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.004056c0
mov byte [ebp - 4], 6
push 0x5ff104
lea ecx, [ebp - 0x78]
call fcn.00405770
mov byte [ebp - 4], 7
push 1
push 1
lea eax, [ebp - 0x94]
push eax
call fcn.004712a0
add esp, 0xc
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0046dd30
add esp, 0xc
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4f4], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x4f4]
push eax
lea ecx, [ebp - 0x238]
call fcn.00405880
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb0]
call fcn.004058b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x94]
call fcn.004058b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.004058b0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0046e730
add esp, 4
push 0x5ff110
lea ecx, [ebp - 0xcc]
call fcn.00405770
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0046dd30
add esp, 0xc
mov dword [ebp - 0x4f8], eax
mov edx, dword [ebp - 0x4f8]
mov dword [ebp - 0x4fc], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405880
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.004058b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xcc]
call fcn.004058b0
push 0x5ff120
lea ecx, [ebp - 0x104]
call fcn.00405770
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.0046dd30
add esp, 0xc
mov dword [ebp - 0x500], eax
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0x504], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x504]
push edx
lea ecx, [ebp - 0x200]
call fcn.00405880
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
call fcn.004058b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x104]
call fcn.004058b0
lea eax, [ebp - 0x21c]
push eax
call fcn.004702b0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x57d093
lea edx, [ebp - 0x200]
push edx
call fcn.004702b0
add esp, 4
movzx eax, al
test eax, eax
jne 0x57d093
xor ecx, ecx
jne 0x57d012
cmp dword [0x62f56c], 0
je 0x57d02c
mov edx, dword [0x62f56c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [0x62f56c], 0
mov dword [ebp - 0x494], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.004058b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x200]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.004058b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x494]
jmp 0x57d76e
push 0
call fcn.0057bfb0
add esp, 4
push edx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0043d3f0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x280]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x498], esp
lea edx, [ebp + 0x24]
push edx
call fcn.00405630
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x50c], eax
mov byte [ebp - 4], 0xf
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x49c], esp
lea edx, [ebp + 8]
push edx
call fcn.00405630
mov dword [ebp - 0x510], eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x4d0]
call fcn.0057c120
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x518], ecx
mov byte [ebp - 4], 0x10
push str._qidcrashpid
call fcn.00434d90
add eax, 0x120
push eax
lea edx, [ebp - 0x158]
push edx
call fcn.00444500
add esp, 0xc
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp - 0x51c]
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x518]
push ecx
mov edx, dword [ebp - 0x520]
push edx
lea eax, [ebp - 0x264]
push eax
call fcn.0040c4c0
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x158]
call fcn.004058b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x13c]
call fcn.004058b0
lea ecx, [ebp - 0x2a0]
call fcn.004056c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2a0]
push ecx
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4a0], esp
lea edx, [ebp - 0x264]
push edx
call fcn.00405630
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x4d0]
call fcn.0057c6c0
mov dword [ebp - 0x528], eax
mov eax, dword [ebp - 0x528]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x57d22c
xor ecx, ecx
jne 0x57d1f4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.004058b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x264]
call fcn.004058b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.004058b0
jmp 0x57d6d4
cmp dword [ebp - 0x284], 1
je 0x57d26b
xor edx, edx
jne 0x57d235
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.004058b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x264]
call fcn.004058b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.004058b0
jmp 0x57d6d4
lea ecx, [ebp - 0x248]
call fcn.0043ecf0
mov byte [ebp - 4], 0x16
push 0x5ff144
lea ecx, [ebp - 0x174]
call fcn.00405770
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.00444ae0
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x174]
call fcn.004058b0
mov dword [ebp - 0x2a4], 0
jmp 0x57d2d5
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x248]
call fcn.0043b4d0
cmp dword [ebp - 0x2a4], eax
jae 0x57d690
lea ecx, [ebp - 0x440]
call fcn.004056c0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x2a4]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0043b4f0
push eax
lea ecx, [ebp - 0x424]
call fcn.00405630
mov byte [ebp - 4], 0x19
push 0
push 0x5ff148
lea ecx, [ebp - 0x424]
call fcn.00405a10
cmp eax, dword [0x60543c]
je 0x57d35b
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x440]
call fcn.004058d0
push 0x5ff14c
lea ecx, [ebp - 0x424]
call fcn.004058f0
jmp 0x57d3bc
push 0
push 0x5ff150
lea ecx, [ebp - 0x424]
call fcn.00405a10
cmp eax, dword [0x60543c]
je 0x57d399
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x440]
call fcn.004058d0
push str.DUMP
lea ecx, [ebp - 0x424]
call fcn.004058f0
jmp 0x57d3bc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x424]
call fcn.004058b0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x440]
call fcn.004058b0
jmp 0x57d2c6
lea ecx, [ebp - 0x454]
call fcn.00485de0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x408]
call fcn.00485de0
mov byte [ebp - 4], 0x1b
push 1
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.0046d0d0
add esp, 0xc
test eax, eax
jle 0x57d469
push 0x5f7a0f
lea ecx, [ebp - 0x4c0]
call fcn.00405770
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x4cc]
or eax, 1
mov dword [ebp - 0x4cc], eax
lea ecx, [ebp - 0x4c0]
push ecx
lea edx, [ebp - 0x408]
push edx
lea ecx, [ebp - 0x454]
call fcn.00402b30
push eax
lea ecx, [ebp - 0x454]
call fcn.004465d0
push eax
call fcn.00489530
add esp, 0x10
test eax, eax
jl 0x57d469
lea ecx, [ebp - 0x408]
call fcn.00402b30
cmp eax, 0x9c4000
ja 0x57d469
mov dword [ebp - 0x52c], 0
jmp 0x57d473
mov dword [ebp - 0x52c], 1
mov al, byte [ebp - 0x52c]
mov byte [ebp - 0x4a1], al
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x4cc]
and ecx, 1
je 0x57d4a3
and dword [ebp - 0x4cc], 0xfffffffe
lea ecx, [ebp - 0x4c0]
call fcn.004058b0
movzx edx, byte [ebp - 0x4a1]
test edx, edx
je 0x57d4f3
xor eax, eax
jne 0x57d4ae
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x408]
call fcn.00485ea0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x454]
call fcn.00485ea0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x424]
call fcn.004058b0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x440]
call fcn.004058b0
jmp 0x57d2c6
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x424]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c4], esp
lea eax, [ebp + 8]
push eax
call fcn.00405630
mov dword [ebp - 0x530], eax
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, dword [ebp - 0x4d0]
call fcn.0057bff0
mov dword [ebp - 0x534], eax
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x538], edx
mov byte [ebp - 4], 0x1d
push str._qidcrashkey
call fcn.00434d90
add eax, 0x13c
push eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.00444500
add esp, 0xc
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x540], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x538]
push edx
mov eax, dword [ebp - 0x540]
push eax
lea ecx, [ebp - 0x470]
push ecx
call fcn.0040c4c0
add esp, 0xc
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1c8]
call fcn.004058b0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1ac]
call fcn.004058b0
lea ecx, [ebp - 0x3f4]
call fcn.004b8ce0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x470]
push edx
lea eax, [ebp - 0x1e4]
push eax
call fcn.00469030
add esp, 8
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x548], ecx
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x408]
call fcn.00402b30
push eax
lea ecx, [ebp - 0x408]
call fcn.004465d0
push eax
mov edx, dword [ebp - 0x548]
push edx
lea ecx, [ebp - 0x3f4]
call fcn.004ba350
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x1e4]
call fcn.00405ea0
xor eax, eax
jne 0x57d62d
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x3f4]
call fcn.004b8f30
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x470]
call fcn.004058b0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x408]
call fcn.00485ea0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x454]
call fcn.00485ea0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x424]
call fcn.004058b0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x440]
call fcn.004058b0
jmp 0x57d2c6
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x248]
call fcn.0043b4b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.004058b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x264]
call fcn.004058b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.004058b0
xor ecx, ecx
jne 0x57d093
lea edx, [ebp - 0x21c]
push edx
call fcn.00470390
add esp, 4
lea eax, [ebp - 0x200]
push eax
call fcn.00470390
add esp, 4
xor ecx, ecx
jne 0x57d6f2
cmp dword [0x62f56c], 0
je 0x57d70c
mov edx, dword [0x62f56c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [0x62f56c], 0
mov dword [ebp - 0x4c8], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.004058b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x200]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.004058b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004058b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004058b0
mov eax, dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 0x3c