Function at 0x1006543b
Capabilities:
Copy file

Disassembly:
mov eax, 0x100dc3fb
call fcn.100ac440
sub esp, 0x334
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, ebp
mov dword [ebp - 0x32c], ecx
push ebx
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x10], eax
call fcn.1000174b
and dword [ebp - 4], 0
push str.cook
lea ecx, [ebp - 0x330]
call fcn.1000223a
push str.cook.dll
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 1
call fcn.1000223a
and dword [ebp - 0x320], 0
mov esi, 0x100e2d52
push esi
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 2
call fcn.1000223a
push esi
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 3
call fcn.1000223a
mov edi, 0x104
push edi
lea eax, [ebp - 0x114]
push 0
push eax
mov byte [ebp - 4], 4
call fcn.100ab720
mov eax, dword [ebp - 0x32c]
mov eax, dword [eax + 0x5ec]
add esp, 0xc
cmp dword [eax + 0x248], 1
jne 0x100654fd
and dword [ebp - 0x320], 0
jmp 0x100656b4
push 0x2e
lea ecx, [ebp - 0x328]
call fcn.10003e18
test eax, eax
mov dword [ebp - 0x338], eax
jle 0x1006560e
mov eax, dword [ebp - 0x328]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x338]
lea ecx, [ebp - 0x328]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.10008b05
push eax
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 5
call fcn.10001eb6
mov ecx, dword [ebp - 0x340]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001199
lea ecx, [ebp - 0x324]
call fcn.10008cce
push dword [ebp - 0x338]
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x328]
call fcn.1000430d
push eax
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 6
call fcn.10001eb6
mov ecx, dword [ebp - 0x338]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001199
lea ecx, [ebp - 0x33c]
call fcn.10008cce
push 0x100ec5b4
push dword [ebp - 0x324]
call fcn.100ad446
test eax, eax
pop ecx
pop ecx
je 0x10065604
push str..rmvb
push dword [ebp - 0x324]
call fcn.100ad446
test eax, eax
pop ecx
pop ecx
je 0x10065604
push 0x100ec5a8
push dword [ebp - 0x324]
call fcn.100ad446
test eax, eax
pop ecx
pop ecx
je 0x10065604
push str..ram
push dword [ebp - 0x324]
call fcn.100ad446
test eax, eax
pop ecx
pop ecx
jne 0x1006560e
mov dword [ebp - 0x320], 1
mov ecx, dword [ebp - 0x32c]
lea eax, [ebp - 0x218]
push eax
call fcn.10055170
test eax, eax
je 0x10065639
lea eax, [ebp - 0x218]
push str.codeccook.dll
push eax
call fcn.100ac910
pop ecx
pop ecx
jmp 0x10065640
and dword [ebp - 0x320], 0
lea eax, [ebp - 0x114]
push 0x100e3ab4
push eax
call fcn.100ac900
cmp dword [ebp - 0x320], 0
pop ecx
pop ecx
je 0x100656b4
lea eax, [ebp - 0x114]
push eax
push edi
lea eax, [ebp - 0x31c]
push eax
push esi
push dword [ebp - 0x330]
push dword [ebp - 0x334]
call fcn.100028ab
test eax, eax
jbe 0x100656b4
push 0
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x100656b4
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x330]
push dword [ebp - 0x334]
call fcn.10002987
mov eax, dword [ebp - 0x32c]
mov eax, dword [eax + 0x5ec]
cmp dword [eax + 0x248], 2
jne 0x100656d5
mov eax, dword [ebx]
push 4
push eax
call fcn.100ad0b7
pop ecx
pop ecx
mov ecx, dword [ebp - 0x32c]
push ebx
call fcn.10064681
mov edi, eax
test edi, edi
je 0x10065793
cmp dword [ebp - 0x320], 0
je 0x100657aa
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x320]
push eax
push str.cook.dll
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1005cc83
add esp, 0xc
test eax, eax
je 0x10065783
push dword [ebp - 0x320]
mov ecx, dword [ebp - 0x32c]
lea eax, [ebp - 0x218]
push eax
call fcn.1005ce31
test eax, eax
jne 0x10065783
push eax
lea ecx, [ebp - 0x320]
call fcn.1000192d
push 0
lea ecx, [ebp - 0x330]
mov esi, eax
call fcn.1000192d
lea ecx, [ebp - 0x114]
push ecx
push esi
push eax
push 0
lea ecx, [ebp - 0x334]
call fcn.1000192d
push eax
call fcn.10002987
mov ecx, dword [ebp - 0x320]
add ecx, 0xfffffff0
call fcn.10001199
jmp 0x100657aa
push str.CPlayerWnd::_FlvPlay
push str._TruePlay_
push str.c:PowerPlayer.txt
call fcn.1008eb92
add esp, 0xc
mov ecx, dword [ebp - 0x33c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x324]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x334]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x330]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x328]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4