Function at 0x4b94f0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x35
push 0
push 0
dec ecx
jne 0x4b94f8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404570
mov eax, dword [ebp - 8]
call fcn.00404570
lea eax, [ebp - 0x170]
mov edx, dword [0x4076c4]
call fcn.00404b18
xor eax, eax
push ebp
push 0x4b983f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00479520
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00479520
cmp dword [ebp - 0xc], 0
je 0x4b97fb
cmp dword [ebp - 0x10], 0
je 0x4b97fb
mov eax, dword [ebp - 0x10]
call fcn.00408de0
test al, al
jne 0x4b9581
mov eax, dword [ebp - 0x10]
call fcn.00409200
test al, al
jne 0x4b9581
mov eax, dword [ebp - 0x10]
call fcn.00408e04
lea eax, [ebp - 0xc]
call fcn.004b9478
lea eax, [ebp - 0x10]
call fcn.004b9478
mov dl, 1
mov eax, dword [0x416fec]
call fcn.004032fc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4b97f4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x174]
mov ecx, 0x4b9858
mov edx, dword [ebp - 0xc]
call fcn.004043cc
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.00408f50
test eax, eax
jne 0x4b97de
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x164]
call fcn.00404158
mov eax, dword [ebp - 0x14]
mov edx, 0x4b9864
call fcn.004044cc
je 0x4b974f
mov eax, dword [ebp - 0x14]
mov edx, 0x4b9870
call fcn.004044cc
je 0x4b974f
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004043cc
mov eax, dword [ebp - 0x178]
call fcn.00408dd0
test al, al
je 0x4b9724
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004043cc
mov eax, dword [ebp - 0x17c]
call fcn.00408dd0
test al, al
je 0x4b96e1
push 0x80
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004043cc
mov eax, dword [ebp - 0x180]
call fcn.00404580
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004043cc
mov eax, dword [ebp - 0x184]
call fcn.00408fe0
test al, al
jne 0x4b96e1
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x4b987c
lea eax, [ebp - 0x188]
mov edx, 3
call fcn.00404440
mov eax, dword [ebp - 0x188]
push eax
lea eax, [ebp - 0x18c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004043cc
mov eax, dword [ebp - 0x18c]
pop edx
call fcn.00408ff8
push 0
lea eax, [ebp - 0x190]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004043cc
mov eax, dword [ebp - 0x190]
call fcn.00404580
push eax
lea eax, [ebp - 0x194]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004043cc
mov eax, dword [ebp - 0x194]
call fcn.00404580
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4b974f
lea eax, [ebp - 0x198]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004043cc
mov eax, dword [ebp - 0x198]
call fcn.00408de0
test al, al
je 0x4b974f
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x170]
call fcn.00408fa0
test eax, eax
je 0x4b95df
lea eax, [ebp - 0x170]
call fcn.00408fc4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4b97de
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x1a0]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
mov edx, dword [ebp - 0x10]
call fcn.004043cc
mov eax, dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1a8]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
call fcn.004043cc
mov eax, dword [ebp - 0x1a4]
pop edx
call fcn.004b94f0
inc ebx
dec esi
jne 0x4b977f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b97fb
lea eax, [ebp - 0x18]
call fcn.0040ddcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9846
lea eax, [ebp - 0x1a8]
mov edx, 0xe
call fcn.004040e4
lea eax, [ebp - 0x170]
mov edx, dword [0x4076c4]
call fcn.00404be8
lea eax, [ebp - 0x14]
call fcn.004040c0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004040e4
ret