Function at 0x409b80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43329e
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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 edi, ecx
mov dword [ebp - 0xb8], edi
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0xc0], esi
push esi
push eax
call fcn.004273f0
add esp, 8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405550
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0x10
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x409bf5
push dword [ebp - 0x44]
call ebx
add esp, 4
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x30], 0xf
push eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00427530
add esp, 4
cmp dword [ebp - 0x4c], 0x21
jb 0x409c78
push 0x20
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a360
mov esi, eax
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x409c5e
cmp dword [ebp - 0x48], 0x10
jb 0x409c43
push dword [ebp - 0x5c]
call ebx
add esp, 4
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00407800
cmp dword [ebp - 0x9c], 0x10
jb 0x409c72
push dword [ebp - 0xb0]
call ebx
add esp, 4
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00427370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
push str.md5:_s
push 0xbe
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
add esp, 0x18
cmp dword [edi + 0x44], 0
je 0x409d09
cmp dword [ebp - 0x4c], 0
je 0x409d09
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
mov ecx, dword [eax + 0x10]
jb 0x409cc6
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x74]
call fcn.004093d0
test eax, eax
je 0x409d09
cmp dword [esi + 0x14], 8
jb 0x409ce0
mov esi, dword [esi]
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push esi
cmovae eax, dword [ebp - 0x74]
push eax
push str.not_same_md5.__s__s
push 0xc1
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
add esp, 0x14
jmp 0x40a273
mov eax, 7
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x4c]
mov edi, dword [edi + 0x50]
cmp esi, edi
je 0x40a245
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
movq qword [ebp - 0xe8], xmm0
push dword [ebp - 0xe8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xe4]
cmp eax, 1
jne 0x409e36
lea eax, [ebp - 0xdc]
mov ecx, 0x453b40
push eax
call fcn.0041b050
cmp dword [eax + 0x14], 8
jb 0x409d73
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
sete byte [ebp - 0xb1]
cmp dword [ebp - 0xc8], 8
jb 0x409da2
push dword [ebp - 0xdc]
call ebx
add esp, 4
lea eax, [ebp - 0xdc]
mov ecx, 0x451070
push eax
call fcn.00412c10
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x409e2b
cmp dword [ebp - 0x14], 8
jb 0x409dce
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebx + 0x14], 8
jae 0x409e01
mov eax, dword [ebx + 0x10]
inc eax
je 0x409e0c
add eax, eax
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x409e0c
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x409f22
cmp eax, 2
lea eax, [ebp - 0xdc]
push eax
jne 0x409e96
mov ecx, 0x453c80
call fcn.0041b050
cmp dword [eax + 0x14], 8
jb 0x409e54
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
sete byte [ebp - 0xb1]
cmp dword [ebp - 0xc8], 8
jb 0x409e83
push dword [ebp - 0xdc]
call ebx
add esp, 4
lea eax, [ebp - 0xdc]
mov ecx, 0x451070
push eax
call fcn.00412c50
jmp 0x409ee8
mov ecx, 0x453dc0
call fcn.0041b050
cmp dword [eax + 0x14], 8
jb 0x409ea8
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
sete byte [ebp - 0xb1]
cmp dword [ebp - 0xc8], 8
jb 0x409ed7
push dword [ebp - 0xdc]
call ebx
add esp, 4
lea eax, [ebp - 0xdc]
mov ecx, 0x451070
push eax
call fcn.00412bd0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x409f22
cmp dword [ebp - 0x14], 8
jb 0x409f09
push dword [ebp - 0x28]
call ebx
mov eax, dword [ebp - 0xc4]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b100
cmp dword [ebp - 0xc8], 8
jb 0x409f36
push dword [ebp - 0xdc]
call ebx
add esp, 4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
movzx eax, byte [ebp - 0xb1]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push str._s_exist:_d
push 0xd8
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
add esp, 0x14
cmp byte [ebp - 0xb1], 0
jne 0x409fd6
push 3
push dword [ebp - 0xbc]
push str.req_apk_install_status__d__d
push 0x200
push str.LDPlayerHelperModel::reqInstallAppStatus
call fcn.00423230
mov eax, dword [ebp - 0xbc]
add esp, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x7c], eax
push dword [ebp - 0xb8]
mov dword [ebp - 0x80], 0x451070
push dword [ebp - 0xb8]
movq xmm0, qword [ebp - 0x80]
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 3
call fcn.004153e0
add esp, 0x14
jmp 0x40a237
push str.ldconsole.exe
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xb0]
call fcn.0040ac60
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
push 0x13
push str.installapk___index
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0040a510
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0xdc]
call fcn.0040b020
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0040b230
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc8], 8
jb 0x40a04d
push dword [ebp - 0xdc]
call ebx
add esp, 4
push 0xc
push str.___filename
lea ecx, [ebp - 0x44]
call fcn.0040a510
push 0xffffffffffffffff
push 0
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x44]
call fcn.0040b230
push 8
push str.____wait
lea ecx, [ebp - 0x44]
call fcn.0040a510
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.install_apk:__s
push 0xe8
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0xea60
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0042c790
add esp, 0x24
push dword [ebp - 0x2c]
push str.install_apk_end:__d
push 0xeb
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
add esp, 0x10
cmp dword [ebp - 0x2c], 1
jne 0x40a170
push str.post_install_sucess
push 0xee
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
add esp, 0xc
push 2
push dword [ebp - 0xbc]
push str.req_apk_install_status__d__d
push 0x200
push str.LDPlayerHelperModel::reqInstallAppStatus
call fcn.00423230
mov eax, dword [ebp - 0xbc]
add esp, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x88], eax
push dword [ebp - 0xb8]
mov dword [ebp - 0x8c], 0x451070
push dword [ebp - 0xb8]
movq xmm0, qword [ebp - 0x8c]
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 2
jmp 0x40a1f5
push str.post_install_error
push 0xf2
push str.LDHelperDownloadItem::startInstallApk
call fcn.00423230
add esp, 0xc
push 6
push dword [ebp - 0xbc]
push str.req_apk_install_status__d__d
push 0x200
push str.LDPlayerHelperModel::reqInstallAppStatus
call fcn.00423230
mov eax, dword [ebp - 0xbc]
add esp, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movq qword [ebp - 0x98], xmm0
mov dword [ebp - 0x94], eax
push dword [ebp - 0xb8]
mov dword [ebp - 0x98], 0x451070
push dword [ebp - 0xb8]
movq xmm0, qword [ebp - 0x98]
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 6
call fcn.004153e0
add esp, 0x14
cmp dword [ebp - 0x30], 8
jb 0x40a20b
push dword [ebp - 0x44]
call ebx
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x9c], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40a237
push dword [ebp - 0xb0]
call ebx
add esp, 4
add esi, 0xc
cmp esi, edi
jne 0x409d30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xb8]
mov byte [ecx + 0x8e], 1
cmp eax, 8
jb 0x40a25f
push dword [ebp - 0x28]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x60], 8
jb 0x40a281
push dword [ebp - 0x74]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x40a2a3
push dword [ebp - 0x5c]
call ebx
add esp, 4
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.00431ce8
mov esp, ebp
pop ebp
ret