Function at 0x4f8d00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3e
push 0
push 0
dec ecx
jne 0x4f8d08
push ebx
push esi
push edi
mov esi, dword [0x4fdd74]
mov edi, dword [0x4fdd54]
xor eax, eax
push ebp
push 0x4f94b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
call fcn.00409f40
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
mov ecx, 0xff
call fcn.00404b24
mov eax, 0x4f94c4
call fcn.0040292c
call fcn.004028dc
cmp dword [esi + 0x6b8], 0
jne 0x4f9233
mov eax, 0x200
call fcn.00402774
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f922c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x4f94cc
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x110]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x110]
push 0x4f94f0
lea eax, [ebp - 0x114]
mov edx, ebx
call fcn.00404a80
push dword [ebp - 0x114]
lea eax, [ebp - 0x10c]
mov edx, 5
call fcn.00404c08
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.0040a018
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x11c]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x11c]
push 0x4f94f0
lea eax, [ebp - 0x120]
mov edx, ebx
call fcn.00404a80
push dword [ebp - 0x120]
lea eax, [ebp - 0x118]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x118]
call fcn.00409594
test al, al
je 0x4f8e83
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x128]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x128]
push 0x4f94f0
lea eax, [ebp - 0x12c]
mov edx, ebx
call fcn.00404a80
push dword [ebp - 0x12c]
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x124]
call fcn.00409884
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x130]
mov edx, ebx
call fcn.00404a80
mov eax, dword [ebp - 0x130]
call fcn.00409884
mov ebx, 0x4f94f4
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x138]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x138]
push 0x4f94f0
lea eax, [ebp - 0x13c]
mov edx, ebx
call fcn.00404a80
push dword [ebp - 0x13c]
lea eax, [ebp - 0x134]
mov edx, 5
call fcn.00404c08
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.0040a018
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x144]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x144]
push 0x4f94f0
lea eax, [ebp - 0x148]
mov edx, ebx
call fcn.00404a80
push dword [ebp - 0x148]
lea eax, [ebp - 0x140]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x140]
call fcn.00409594
test al, al
je 0x4f8fa6
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x150]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x150]
push 0x4f94f0
lea eax, [ebp - 0x154]
mov edx, ebx
call fcn.00404a80
push dword [ebp - 0x154]
lea eax, [ebp - 0x14c]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x14c]
call fcn.00409884
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x158]
mov edx, ebx
call fcn.00404a80
mov eax, dword [ebp - 0x158]
call fcn.00409884
mov ebx, 0x4f9500
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x160]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x160]
push 0x4f94f0
lea eax, [ebp - 0x164]
lea edx, [esi + 0x5d8]
call fcn.00404aec
push dword [ebp - 0x164]
lea eax, [ebp - 0x15c]
mov edx, 5
call fcn.00404c08
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 4]
call fcn.0040a018
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x16c]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x16c]
push 0x4f94f0
lea eax, [ebp - 0x170]
lea edx, [esi + 0x5d8]
call fcn.00404aec
push dword [ebp - 0x170]
lea eax, [ebp - 0x168]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x168]
call fcn.00409594
test al, al
je 0x4f90d5
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x178]
lea edx, [esi + 0x573]
call fcn.00404aec
push dword [ebp - 0x178]
push 0x4f94f0
lea eax, [ebp - 0x17c]
lea edx, [esi + 0x5d8]
call fcn.00404aec
push dword [ebp - 0x17c]
lea eax, [ebp - 0x174]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x174]
call fcn.00409884
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x180]
mov edx, ebx
call fcn.00404a80
mov eax, dword [ebp - 0x180]
call fcn.00409884
mov ebx, 0x4f9510
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x188]
lea edx, [esi + 0x39]
call fcn.00404aec
push dword [ebp - 0x188]
push 0x4f94f0
lea eax, [ebp - 0x18c]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x18c]
lea eax, [ebp - 0x184]
mov edx, 5
call fcn.00404c08
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 4]
call fcn.0040a018
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x194]
lea edx, [esi + 0x39]
call fcn.00404aec
push dword [ebp - 0x194]
push 0x4f94f0
lea eax, [ebp - 0x198]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x198]
lea eax, [ebp - 0x190]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x190]
call fcn.00409594
test al, al
je 0x4f91f2
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x1a0]
lea edx, [esi + 0x39]
call fcn.00404aec
push dword [ebp - 0x1a0]
push 0x4f94f0
lea eax, [ebp - 0x1a4]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x19c]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x19c]
call fcn.00409884
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x1a8]
mov edx, ebx
call fcn.00404a80
mov eax, dword [ebp - 0x1a8]
call fcn.00409884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9477
mov eax, dword [ebp - 4]
call fcn.00402794
ret
mov eax, 0x200
call fcn.00402774
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f9470
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x6bc]
cmp eax, dword [esi + 0xc]
jg 0x4f9388
mov ebx, 0x4f9510
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x1b0]
lea edx, [esi + 0x50e]
call fcn.00404aec
push dword [ebp - 0x1b0]
push 0x4f94f0
lea eax, [ebp - 0x1b4]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1ac]
mov edx, 5
call fcn.00404c08
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 4]
call fcn.0040a018
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x1bc]
lea edx, [esi + 0x50e]
call fcn.00404aec
push dword [ebp - 0x1bc]
push 0x4f94f0
lea eax, [ebp - 0x1c0]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x1b8]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x1b8]
call fcn.00409594
test al, al
je 0x4f935f
push dword [edi]
push 0x4f94e4
lea eax, [ebp - 0x1c8]
lea edx, [esi + 0x50e]
call fcn.00404aec
push dword [ebp - 0x1c8]
push 0x4f94f0
lea eax, [ebp - 0x1cc]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1cc]
lea eax, [ebp - 0x1c4]
mov edx, 5
call fcn.00404c08
mov eax, dword [ebp - 0x1c4]
call fcn.00409884
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x1d0]
mov edx, ebx
call fcn.00404a80
mov eax, dword [ebp - 0x1d0]
call fcn.00409884
jmp 0x4f945a
mov ebx, 0x4f9510
push dword [edi]
push 0x4f9524
lea eax, [ebp - 0x1d8]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00404c08
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 4]
call fcn.0040a018
push dword [edi]
push 0x4f9524
lea eax, [ebp - 0x1e0]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.00404c08
mov eax, dword [ebp - 0x1dc]
call fcn.00409594
test al, al
je 0x4f9436
push dword [edi]
push 0x4f9524
lea eax, [ebp - 0x1e8]
lea edx, [esi + 0x10]
call fcn.00404aec
push dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00404c08
mov eax, dword [ebp - 0x1e4]
call fcn.00409884
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x1ec]
mov edx, ebx
call fcn.00404a80
mov eax, dword [ebp - 0x1ec]
call fcn.00409884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9477
mov eax, dword [ebp - 4]
call fcn.00402794
ret