Function at 0x4da964
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.00421f1c
xor eax, eax
push ebp
push 0x4daba5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, 0x4dabc4
call fcn.004072dc
test eax, eax
setg byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
je 0x4da9dd
lea ecx, [ebp - 4]
xor edx, edx
xor eax, eax
call fcn.004d9234
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 0x4da9e7
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004068c8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x442408]
call fcn.004427bc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4dab5f
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 0x10]
cmp eax, 6
ja case.default.0x4daa14
jmp dword [eax*4 + 0x4daa1b]
lea eax, [ebp - 0x18]
call fcn.0041ccb0
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.00421218
jmp case.default.0x4daa14
lea eax, [ebp - 0x18]
call fcn.0041e8e8
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.0042143c
jmp case.default.0x4daa14
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x18]
call fcn.00420a20
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.004214dc
jmp case.default.0x4daa14
lea eax, [ebp - 0x18]
call fcn.0041e8e8
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.00421450
jmp case.default.0x4daa14
lea eax, [ebp - 0x18]
call fcn.0041e8e8
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.00421450
jmp case.default.0x4daa14
lea eax, [ebp - 0x18]
call fcn.0041e8e8
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.00421450
jmp case.default.0x4daa14
lea eax, [ebp - 0x18]
call fcn.0041e32c
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.00421414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dab66
mov eax, dword [ebp - 0x24]
call fcn.00404da0
ret