Function at 0x4efc60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4efc69
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f0349
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00405848
mov byte [ebp - 5], 1
mov dword [0x5123bc], esi
xor eax, eax
push ebp
push 0x4f02fd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50b48c], 0
sete byte [ebp - 0x1e]
mov eax, ebx
call fcn.0040c5f8
test al, al
je 0x4eff0b
mov byte [ebp - 0x1d], 1
mov dl, 1
mov eax, dword [0x42cda4]
call fcn.004048bc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4efedf
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004efabc
pop ecx
test esi, esi
je 0x4efd01
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5123a8], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0049f038
mov eax, dword [ebp - 0x28]
call fcn.00405b24
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4efec9
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00405dc4
test esi, esi
je 0x4efd64
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
call esi
mov eax, dword [0x50b9d4]
mov eax, dword [eax]
call fcn.004746b8
cmp byte [ebp - 0x1e], 0
je 0x4efde8
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0049f110
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.0040b798
mov eax, dword [ebp - 0x14]
mov edx, 0x4f0364
call fcn.00405c70
jne 0x4efde8
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, 0x4f0370
call fcn.0049fda4
test eax, eax
jne 0x4efde8
cmp dword [0x50b48c], 0
jne 0x4efdcb
mov eax, 0x50b48c
mov edx, dword [ebp - 0x10]
call fcn.0040589c
jmp 0x4efde8
push dword [0x50b48c]
push 0x4f0384
push dword [ebp - 0x10]
mov eax, 0x50b48c
mov edx, 3
call fcn.00405be4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0049f038
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00405b70
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0040c908
mov eax, dword [ebp - 0x34]
call fcn.0040c61c
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.0040c754
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405d24
push eax
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.00405d24
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x4efe4f
mov byte [ebp - 0x1d], 0
test esi, esi
je 0x4efeac
xor edx, edx
mov eax, dword [0x5123a8]
call fcn.0049f31c
mov edi, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x40], eax
fild qword [ebp - 0x44]
lea eax, [ebx + 1]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdivp st(1)
fmulp st(1)
call fcn.00403910
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
push edx
push eax
lea eax, [ebx + 1]
cdq
push edx
push eax
call fcn.0049f340
movsx eax, al
mov ecx, edi
xor edx, edx
call esi
mov eax, dword [0x50b9d4]
mov eax, dword [eax]
call fcn.004746b8
push 1
call sub.KERNEL32.DLL_Sleep
inc ebx
dec dword [ebp - 0x24]
jne 0x4efd37
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efee6
mov eax, dword [ebp - 0x18]
call fcn.004048ec
ret
mov eax, ebx
call fcn.0040c5d4
test al, al
je 0x4f02e8
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, ebx
call fcn.0049f110
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
call fcn.0040b798
mov eax, dword [ebp - 0x14]
mov edx, 0x4f03b0
call fcn.00405c70
jne 0x4f0081
mov dl, 1
mov eax, dword [0x42cda4]
call fcn.004048bc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4f007a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4f03bc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, 0x50b47c
call fcn.00405848
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5123a8], eax
test esi, esi
je 0x4eff90
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
mov edx, ebx
mov eax, dword [0x5123b8]
call fcn.004eda9c
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0049f038
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.00406120
mov edx, dword [ebp - 0x50]
mov cl, 1
mov eax, dword [0x5123b8]
call fcn.004edcac
test al, al
jne 0x4f0015
cmp dword [0x50b47c], 0
jne 0x4effe1
mov eax, 0x50b47c
mov edx, 0x4f03c8
call fcn.0040589c
test esi, esi
je 0x4efff4
push 0
xor ecx, ecx
mov edx, dword [0x50b47c]
or eax, 0xffffffff
call esi
mov eax, dword [ebp + 8]
mov edx, dword [0x50b47c]
call fcn.0040589c
mov byte [ebp - 5], 0
call fcn.00405260
call fcn.00405260
jmp 0x4f0304
test esi, esi
je 0x4f0026
push 0
xor ecx, ecx
xor edx, edx
mov eax, 0x64
call esi
cmp byte [ebp - 0x1e], 0
je 0x4f0064
mov eax, dword [0x5123b8]
mov edx, dword [0x4eec50]
mov dword [eax + 0x2984], edx
mov dword [eax + 0x2980], 0x4f0ef4
mov eax, dword [0x5123b8]
call fcn.004edbcc
mov eax, dword [0x5123b8]
xor edx, edx
mov dword [eax + 0x2980], edx
mov dword [eax + 0x2984], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f02e8
mov eax, dword [ebp - 0x18]
call fcn.004048ec
ret
mov eax, dword [ebp - 0x14]
mov edx, 0x4f03f8
call fcn.00405c70
jne 0x4f02e8
mov dl, 1
mov eax, dword [0x4e80b8]
call fcn.004e8860
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4f02e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8570
test esi, esi
je 0x4f00c9
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5123a8], eax
mov eax, dword [ebp - 0x1c]
call fcn.004e8804
dec eax
test eax, eax
jl 0x4f02cb
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
test esi, esi
je 0x4f0107
push 0
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
mov edx, dword [ebp - 0x58]
xor ecx, ecx
or eax, 0xffffffff
call esi
mov eax, dword [0x50b9d4]
mov eax, dword [eax]
call fcn.004746b8
cmp byte [ebp - 0x1e], 0
je 0x4f01ea
lea ecx, [ebp - 0x60]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
xor edx, edx
call fcn.0049f110
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x14]
call fcn.0040b798
mov eax, dword [ebp - 0x14]
mov edx, 0x4f0364
call fcn.00405c70
jne 0x4f01ea
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
mov edx, dword [ebp - 0x64]
mov ecx, 1
mov eax, 0x4f0370
call fcn.0049fda4
test eax, eax
jne 0x4f01ea
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
mov edx, dword [ebp - 0x68]
mov ecx, 1
mov eax, 0x4f0404
call fcn.0049fda4
test eax, eax
jne 0x4f01ea
cmp dword [0x50b48c], 0
jne 0x4f01c0
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
mov edx, dword [ebp - 0x6c]
mov eax, 0x50b48c
call fcn.0040589c
jmp 0x4f01ea
push dword [0x50b48c]
push 0x4f0384
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
push dword [ebp - 0x70]
mov eax, 0x50b48c
mov edx, 3
call fcn.00405be4
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e8814
mov eax, dword [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0049f038
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00405b70
lea eax, [ebp - 0x10]
mov ecx, 0x4f0414
mov edx, 0x4f0420
call fcn.0049fa74
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
call fcn.0040c908
mov eax, dword [ebp - 0x7c]
call fcn.0040c61c
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e85c4
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.0049f4e8
test esi, esi
je 0x4f02ae
xor edx, edx
mov eax, dword [0x5123a8]
call fcn.0049f31c
mov edi, eax
mov eax, dword [ebp - 0x1c]
call fcn.004e8804
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x40], eax
fild qword [ebp - 0x44]
lea eax, [ebx + 1]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdivp st(1)
fmulp st(1)
call fcn.00403910
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004e8804
cdq
push edx
push eax
lea eax, [ebx + 1]
cdq
push edx
push eax
call fcn.0049f340
movsx eax, al
mov ecx, edi
xor edx, edx
call esi
mov eax, dword [0x50b9d4]
mov eax, dword [eax]
call fcn.004746b8
push 1
call sub.KERNEL32.DLL_Sleep
inc ebx
dec dword [ebp - 0x24]
jne 0x4f00ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f02e8
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0304
xor eax, eax
mov dword [0x5123bc], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0350
lea eax, [ebp - 0x80]
mov edx, 0xc
call fcn.0040586c
lea eax, [ebp - 0x50]
call fcn.00405f70
lea eax, [ebp - 0x4c]
call fcn.00405848
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.0040586c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040586c
ret