Function at 0x4f3bd0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x4f3bd8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f422a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [0x5175e0]
call fcn.004051bc
mov eax, dword [ebp - 0x10]
call fcn.004053e4
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
jne 0x4f3c2b
mov eax, dword [ebp - 0x10]
call fcn.004053e4
mov edx, eax
lea eax, [ebp - 0x10]
mov ecx, 1
call fcn.00405684
lea edx, [ebp - 0x14]
mov eax, 0x4f4240
call fcn.004ea430
lea edx, [ebp - 0x18]
mov eax, 0x4f4258
call fcn.004ea2f8
lea edx, [ebp - 0x1c]
mov eax, 0x4f4268
call fcn.004ea430
lea edx, [ebp - 0x20]
mov eax, 0x4f4280
call fcn.004ea2f8
mov dl, 1
mov eax, dword [0x41fc0c]
call fcn.004042a4
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x4f41e2
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 0x4f3fae
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00444654
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x38]
mov edx, 0xc
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
mov ecx, 0x4f4294
mov edx, 0x4f42a0
call fcn.004e508c
mov dl, 0x3b
mov eax, dword [ebp - 0x30]
call fcn.00423fc4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
call fcn.00423e34
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f3fa2
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x40]
mov edx, ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040c2c4
cmp dword [ebp - 0x3c], 0
je 0x4f3f9a
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x44]
mov ecx, 0x4f42a0
mov edx, 0x4f4294
call fcn.004e508c
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 - 8]
call fcn.00444654
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x48]
mov edx, 0xe
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
or edx, 0xffffffff
call fcn.00447cfc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4f3f9a
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
mov edx, 0x4f42ac
call fcn.00405430
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.0040c2c4
cmp dword [ebp - 0x50], 0
je 0x4f3eb2
push dword [ebp - 0x14]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0x54]
call fcn.0040cb2c
test al, al
je 0x4f3eb2
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0xc]
mov edx, 0x4f42ac
call fcn.00405430
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x5175e0]
call fcn.00405430
mov eax, dword [ebp - 0x5c]
call fcn.0040cb3c
test al, al
jne 0x4f3e5e
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x5175e0]
call fcn.00405430
mov eax, dword [ebp - 0x60]
call fcn.0040cb60
push 0xffffffffffffffff
push dword [0x5175e0]
push dword [ebp - 0xc]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.004054a4
mov eax, dword [ebp - 0x64]
call fcn.004055e4
push eax
push dword [ebp - 0x14]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0x68]
call fcn.004055e4
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4f3f9a
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
call fcn.0040c2c4
cmp dword [ebp - 0x6c], 0
je 0x4f3f9a
push dword [ebp - 0x18]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0x70]
call fcn.0040cb2c
test al, al
je 0x4f3f9a
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
mov edx, 0x4f42ac
call fcn.00405430
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x5175e0]
call fcn.00405430
mov eax, dword [ebp - 0x78]
call fcn.0040cb3c
test al, al
jne 0x4f3f45
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x5175e0]
call fcn.00405430
mov eax, dword [ebp - 0x7c]
call fcn.0040cb60
push 0xffffffffffffffff
push dword [0x5175e0]
push dword [ebp - 0xc]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.004054a4
mov eax, dword [ebp - 0x80]
call fcn.004055e4
push eax
push dword [ebp - 0x18]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0x84]
call fcn.004055e4
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
dec esi
jne 0x4f3d16
inc dword [ebp - 8]
dec dword [ebp - 0x34]
jne 0x4f3ca4
lea edx, [ebp - 0x88]
mov eax, dword [0x51761c]
call fcn.0040c034
mov eax, dword [ebp - 0x88]
mov edx, 0x4f42cc
call fcn.00405530
jne 0x4f41cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
call fcn.00444624
dec eax
test eax, eax
jl 0x4f41cc
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00444654
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x8c]
mov edx, 0xb
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x8c]
mov ecx, 0x4f4294
mov edx, 0x4f42a0
call fcn.004e508c
mov dl, 0x3b
mov eax, dword [ebp - 0x30]
call fcn.00423fc4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
call fcn.00423e34
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f41c0
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x94]
mov edx, ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.0040c2c4
cmp dword [ebp - 0x90], 0
je 0x4f41b8
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x98]
mov edx, ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x98]
mov ecx, 0x4f42a0
mov edx, 0x4f4294
call fcn.004e508c
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x28]
call fcn.0040c2c4
cmp dword [ebp - 0x9c], 0
je 0x4f41b8
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x1c]
call fcn.0040c2c4
cmp dword [ebp - 0xa0], 0
je 0x4f4151
push dword [ebp - 0x1c]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0xa4]
call fcn.0040cb3c
test al, al
je 0x4f4151
push dword [ebp - 0x1c]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0xa8]
call fcn.004ea540
jmp 0x4f41b8
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x20]
call fcn.0040c2c4
cmp dword [ebp - 0xac], 0
je 0x4f41b8
push dword [ebp - 0x20]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0xb0]
call fcn.0040cb3c
test al, al
je 0x4f41b8
push dword [ebp - 0x20]
push 0x4f42c0
push dword [ebp - 0x28]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.004054a4
mov eax, dword [ebp - 0xb4]
call fcn.004ea540
inc ebx
dec esi
jne 0x4f4074
inc dword [ebp - 8]
dec dword [ebp - 0x34]
jne 0x4f3ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f41e9
mov eax, dword [ebp - 0x30]
call fcn.004042d4
ret