Function at 0x4d642c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x18]
call fcn.00421e9c
xor eax, eax
push ebp
push 0x4d666d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, 0x4d668c
call fcn.004072dc
test eax, eax
setg byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
je 0x4d64a5
lea ecx, [ebp - 4]
xor edx, edx
xor eax, eax
call fcn.004d512c
push 0
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
mov eax, ebx
call fcn.00406900
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x4d64af
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004068c8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x442388]
call fcn.0044273c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4d6627
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 0x10]
cmp eax, 6
ja case.default.0x4d64dc
jmp dword [eax*4 + 0x4d64e3]
lea eax, [ebp - 0x18]
call fcn.0041cc30
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, eax
mov eax, dword [ebp + 8]
mov cl, 0xfc
call fcn.00421198
jmp case.default.0x4d64dc
lea eax, [ebp - 0x18]
call fcn.0041e868
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp + 8]
call fcn.004213bc
jmp case.default.0x4d64dc
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x18]
call fcn.004209a0
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
call fcn.0042145c
jmp case.default.0x4d64dc
lea eax, [ebp - 0x18]
call fcn.0041e868
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp + 8]
call fcn.004213d0
jmp case.default.0x4d64dc
lea eax, [ebp - 0x18]
call fcn.0041e868
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp + 8]
call fcn.004213d0
jmp case.default.0x4d64dc
lea eax, [ebp - 0x18]
call fcn.0041e868
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x2c]
mov eax, dword [ebp + 8]
call fcn.004213d0
jmp case.default.0x4d64dc
lea eax, [ebp - 0x18]
call fcn.0041e2ac
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00421394
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d662e
mov eax, dword [ebp - 0x24]
call fcn.00404da0
ret