Function at 0x4f0ee8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4f0ef1
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 0x4f15d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00405704
mov byte [ebp - 5], 1
mov dword [0x5133c8], esi
xor eax, eax
push ebp
push 0x4f1585
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50c4e4], 0
sete byte [ebp - 0x1e]
mov eax, ebx
call fcn.0040c7c0
test al, al
je 0x4f1193
mov byte [ebp - 0x1d], 1
mov dl, 1
mov eax, dword [0x42d0c0]
call fcn.00404758
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4f1167
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004f0d44
pop ecx
test esi, esi
je 0x4f0f89
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5133b4], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0049fa4c
mov eax, dword [ebp - 0x28]
call fcn.004059e0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f1151
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.00405c80
test esi, esi
je 0x4f0fec
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
call esi
mov eax, dword [0x50ca30]
mov eax, dword [eax]
call fcn.004750cc
cmp byte [ebp - 0x1e], 0
je 0x4f1070
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0049fb24
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.0040b960
mov eax, dword [ebp - 0x14]
mov edx, 0x4f15ec
call fcn.00405b2c
jne 0x4f1070
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, 0x4f15f8
call fcn.004a07b8
test eax, eax
jne 0x4f1070
cmp dword [0x50c4e4], 0
jne 0x4f1053
mov eax, 0x50c4e4
mov edx, dword [ebp - 0x10]
call fcn.00405758
jmp 0x4f1070
push dword [0x50c4e4]
push 0x4f160c
push dword [ebp - 0x10]
mov eax, 0x50c4e4
mov edx, 3
call fcn.00405aa0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0049fa4c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00405a2c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0040cad0
mov eax, dword [ebp - 0x34]
call fcn.0040c7e4
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.0040c91c
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405be0
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.00405be0
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x4f10d7
mov byte [ebp - 0x1d], 0
test esi, esi
je 0x4f1134
xor edx, edx
mov eax, dword [0x5133b4]
call fcn.0049fd30
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.0049fd54
movsx eax, al
mov ecx, edi
xor edx, edx
call esi
mov eax, dword [0x50ca30]
mov eax, dword [eax]
call fcn.004750cc
push 1
call sub.KERNEL32.DLL_Sleep
inc ebx
dec dword [ebp - 0x24]
jne 0x4f0fbf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f116e
mov eax, dword [ebp - 0x18]
call fcn.00404788
ret
mov eax, ebx
call fcn.0040c79c
test al, al
je 0x4f1570
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, ebx
call fcn.0049fb24
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
call fcn.0040b960
mov eax, dword [ebp - 0x14]
mov edx, 0x4f1638
call fcn.00405b2c
jne 0x4f1309
mov dl, 1
mov eax, dword [0x42d0c0]
call fcn.00404758
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4f1302
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4f1644
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, 0x50c4d4
call fcn.00405704
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5133b4], eax
test esi, esi
je 0x4f1218
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
mov edx, ebx
mov eax, dword [0x5133c4]
call fcn.004eed24
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0049fa4c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.00405fdc
mov edx, dword [ebp - 0x50]
mov cl, 1
mov eax, dword [0x5133c4]
call fcn.004eef34
test al, al
jne 0x4f129d
cmp dword [0x50c4d4], 0
jne 0x4f1269
mov eax, 0x50c4d4
mov edx, 0x4f1650
call fcn.00405758
test esi, esi
je 0x4f127c
push 0
xor ecx, ecx
mov edx, dword [0x50c4d4]
or eax, 0xffffffff
call esi
mov eax, dword [ebp + 8]
mov edx, dword [0x50c4d4]
call fcn.00405758
mov byte [ebp - 5], 0
call fcn.004050fc
call fcn.004050fc
jmp 0x4f158c
test esi, esi
je 0x4f12ae
push 0
xor ecx, ecx
xor edx, edx
mov eax, 0x64
call esi
cmp byte [ebp - 0x1e], 0
je 0x4f12ec
mov eax, dword [0x5133c4]
mov edx, dword [0x4efed8]
mov dword [eax + 0x2984], edx
mov dword [eax + 0x2980], 0x4f217c
mov eax, dword [0x5133c4]
call fcn.004eee54
mov eax, dword [0x5133c4]
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 0x4f1570
mov eax, dword [ebp - 0x18]
call fcn.00404788
ret
mov eax, dword [ebp - 0x14]
mov edx, 0x4f1680
call fcn.00405b2c
jne 0x4f1570
mov dl, 1
mov eax, dword [0x4e9344]
call fcn.004e9aec
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4f1569
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e97fc
test esi, esi
je 0x4f1351
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x5133b4], eax
mov eax, dword [ebp - 0x1c]
call fcn.004e9a90
dec eax
test eax, eax
jl 0x4f1553
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
test esi, esi
je 0x4f138f
push 0
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
mov edx, dword [ebp - 0x58]
xor ecx, ecx
or eax, 0xffffffff
call esi
mov eax, dword [0x50ca30]
mov eax, dword [eax]
call fcn.004750cc
cmp byte [ebp - 0x1e], 0
je 0x4f1472
lea ecx, [ebp - 0x60]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
xor edx, edx
call fcn.0049fb24
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x14]
call fcn.0040b960
mov eax, dword [ebp - 0x14]
mov edx, 0x4f15ec
call fcn.00405b2c
jne 0x4f1472
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
mov edx, dword [ebp - 0x64]
mov ecx, 1
mov eax, 0x4f15f8
call fcn.004a07b8
test eax, eax
jne 0x4f1472
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
mov edx, dword [ebp - 0x68]
mov ecx, 1
mov eax, 0x4f168c
call fcn.004a07b8
test eax, eax
jne 0x4f1472
cmp dword [0x50c4e4], 0
jne 0x4f1448
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
mov edx, dword [ebp - 0x6c]
mov eax, 0x50c4e4
call fcn.00405758
jmp 0x4f1472
push dword [0x50c4e4]
push 0x4f160c
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
push dword [ebp - 0x70]
mov eax, 0x50c4e4
mov edx, 3
call fcn.00405aa0
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9aa0
mov eax, dword [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0049fa4c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00405a2c
lea eax, [ebp - 0x10]
mov ecx, 0x4f169c
mov edx, 0x4f16a8
call fcn.004a0488
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
call fcn.0040cad0
mov eax, dword [ebp - 0x7c]
call fcn.0040c7e4
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e9850
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.0049fefc
test esi, esi
je 0x4f1536
xor edx, edx
mov eax, dword [0x5133b4]
call fcn.0049fd30
mov edi, eax
mov eax, dword [ebp - 0x1c]
call fcn.004e9a90
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.004e9a90
cdq
push edx
push eax
lea eax, [ebx + 1]
cdq
push edx
push eax
call fcn.0049fd54
movsx eax, al
mov ecx, edi
xor edx, edx
call esi
mov eax, dword [0x50ca30]
mov eax, dword [eax]
call fcn.004750cc
push 1
call sub.KERNEL32.DLL_Sleep
inc ebx
dec dword [ebp - 0x24]
jne 0x4f1372
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1570
mov eax, dword [ebp - 0x1c]
call fcn.00404788
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f158c
xor eax, eax
mov dword [0x5133c8], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f15d8
lea eax, [ebp - 0x80]
mov edx, 0xc
call fcn.00405728
lea eax, [ebp - 0x50]
call fcn.00405e2c
lea eax, [ebp - 0x4c]
call fcn.00405704
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00405728
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405728
ret