Function at 0x404c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x425090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x10]
call fcn.00406aa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x4218a4
mov ecx, dword [0x426ef0]
call fcn.00403100
lea ecx, [ebp - 0x10]
push ecx
push str.spplayer.single
lea edx, [ebp - 0x24]
push edx
call fcn.00407330
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.00407ca0
push eax
call fcn.00401840
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
call fcn.00406ac0
cmp dword [ebp - 0x14], 0
jne 0x404d24
mov eax, dword [ebp - 0x10]
push eax
push str.Other_Instance_is_Running__s
call fcn.00402700
add esp, 8
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406ac0
mov eax, dword [ebp - 0x28]
jmp 0x404ee0
lea ecx, [ebp - 0x20]
call fcn.00406aa0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
push ecx
push str._pid
mov ecx, dword [0x426ef0]
call fcn.00403100
test eax, eax
je 0x404d9f
lea ecx, [ebp - 0x20]
call fcn.00407ca0
push eax
call fcn.00401a30
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004017d0
add esp, 8
test eax, eax
jne 0x404d9f
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00406ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406ac0
mov eax, dword [ebp - 0x2c]
jmp 0x404ee0
push 0
call fcn.00404be0
add esp, 4
push eax
call fcn.0040e338
add esp, 4
call fcn.00403a40
call fcn.0040e34a
cdq
mov ecx, 0x2710
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.sp_d_d
mov edx, dword [ebp - 0x34]
push edx
call fcn.0040a690
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00406aa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ecx
push str.Temp_swfplayer_s_
lea edx, [ebp - 0x18]
push edx
call fcn.0040a690
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00407ca0
push eax
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
call fcn.004020d0
add esp, 8
mov ecx, dword [ebp - 0x34]
add ecx, 8
push ecx
call fcn.004016a0
add esp, 4
mov ecx, dword [ebp - 0x34]
call fcn.00406510
mov ecx, dword [ebp - 0x34]
call fcn.00405c30
push 0
push 0
push 0
push 0x405660
push 0
push 0
call fcn.0040deee
add esp, 0x18
mov ecx, dword [ebp - 0x34]
call fcn.004059e0
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.00407ca0
push eax
call fcn.00403ab0
add esp, 4
call fcn.00404240
mov ecx, eax
call fcn.00404320
mov edx, dword [ebp - 0x14]
push edx
call fcn.00401890
add esp, 4
cmp dword [0x426f30], 0
jne 0x404eaf
cmp dword [ebp - 0x1c], 0
jbe 0x404eaf
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004017d0
add esp, 8
test eax, eax
je 0x404eaf
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00404ef0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00406ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00406ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406ac0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret