Function at 0x4f3764
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4f376c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004055d4
xor eax, eax
push ebp
push 0x4f3a19
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41fc0c]
call fcn.004042a4
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4f39e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
call fcn.00444624
dec eax
test eax, eax
jl 0x4f39cc
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x14]
call fcn.00405124
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.00444654
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x30]
mov edx, 0xc
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x30]
mov ecx, 0x4f3a30
mov edx, 0x4f3a3c
call fcn.004e508c
mov dl, 0x3b
mov eax, dword [ebp - 0x28]
call fcn.00423fc4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
call fcn.00423e34
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f39c0
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040c2c4
cmp dword [ebp - 0x34], 0
je 0x4f39b8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040d09c
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
mov ecx, 0x4f3a3c
mov edx, 0x4f3a30
call fcn.004e508c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00405530
jne 0x4f39b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.00444654
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x10]
call fcn.004051bc
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.00444654
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x40]
mov edx, 0xe
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
or edx, 0xffffffff
call fcn.00447cfc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4f39b8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
mov edx, 0x4f3a48
call fcn.00405430
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x5175e0]
call fcn.00405430
mov eax, dword [ebp - 0x48]
call fcn.0040cb3c
test al, al
jne 0x4f397a
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x5175e0]
call fcn.00405430
mov eax, dword [ebp - 0x4c]
call fcn.0040cb60
push 0xffffffffffffffff
push dword [0x5175e0]
push dword [ebp - 0x20]
push 0x4f3a5c
push dword [ebp - 0x18]
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.004054a4
mov eax, dword [ebp - 0x50]
call fcn.004055e4
push eax
mov eax, dword [ebp - 8]
call fcn.004055e4
push eax
call sub.kernel32.dll_CopyFileA
call fcn.00404b60
jmp 0x4f39e9
inc ebx
dec esi
jne 0x4f3851
inc dword [ebp - 0xc]
dec dword [ebp - 0x2c]
jne 0x4f37d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f39e9
mov eax, dword [ebp - 0x28]
call fcn.004042d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3a20
lea eax, [ebp - 0x50]
mov edx, 9
call fcn.00405148
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00405148
lea eax, [ebp - 8]
call fcn.00405124
ret