Function at 0x470d80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x470d89
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x5c]
push ecx
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x5c]
mov edx, dword [0x46de04]
call fcn.004057c4
lea eax, [ebp - 0x2c]
mov edx, dword [0x46deb0]
call fcn.004057c4
mov eax, dword [ebp - 4]
call fcn.00404f68
mov eax, dword [ebp + 0xc]
call fcn.00404f68
mov eax, dword [ebp + 8]
call fcn.00404f68
lea eax, [ebp - 0x34]
mov edx, dword [0x46dfb8]
call fcn.004055b0
xor eax, eax
push ebp
push 0x470ffb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4e35e4], 1
lea ecx, [ebp - 8]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x5c]
call fcn.0046f44c
test al, al
jne 0x470e50
push 0
push 0x471014
push dword [ebp - 8]
push 0x471034
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404e38
mov eax, dword [ebp - 0x60]
movzx ecx, word [0x471040]
mov dl, 1
call fcn.0043f028
mov byte [0x4e35e4], 0
jmp 0x470f9c
lea eax, [ebp - 0xc]
mov ecx, 0x47104c
mov edx, dword [ebp + 8]
call fcn.00404dc4
lea eax, [ebp - 0x10]
mov ecx, 0x47105c
mov edx, dword [ebp + 8]
call fcn.00404dc4
lea eax, [ebp - 0x14]
mov ecx, 0x47106c
mov edx, dword [ebp + 8]
call fcn.00404dc4
mov eax, dword [ebp - 0xc]
call fcn.00409988
test al, al
jne 0x470e94
mov eax, dword [ebp - 0xc]
call fcn.004099ac
mov eax, dword [ebp - 0x10]
call fcn.00409988
test al, al
jne 0x470ea8
mov eax, dword [ebp - 0x10]
call fcn.004099ac
mov eax, dword [ebp - 0x14]
call fcn.00409988
test al, al
jne 0x470ebc
mov eax, dword [ebp - 0x14]
call fcn.004099ac
xor eax, eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0x10]
push 0x47107c
push 0x471088
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404e38
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x5c]
call fcn.0046f870
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x5c]
call fcn.004705cc
push dword [ebp - 0xc]
push 0x47107c
lea edx, [ebp - 0x64]
mov eax, dword [ebp + 0xc]
call fcn.00409d2c
push dword [ebp - 0x64]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404e38
push 0
mov eax, dword [ebp - 0x24]
call fcn.00404f78
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404f78
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x6c]
mov eax, dword [0x4deeb8]
mov eax, dword [eax]
call fcn.0046cac8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00409c40
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
mov ecx, 0x47109c
call fcn.00404dc4
push dword [ebp + 8]
push 0x47107c
push dword [ebp - 4]
push 0x4710b0
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404e38
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00470ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471002
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00404ad8
lea eax, [ebp - 0x5c]
mov edx, dword [0x46de04]
call fcn.00405680
lea eax, [ebp - 0x34]
mov edx, dword [0x46dfb8]
call fcn.00405680
lea eax, [ebp - 0x2c]
mov edx, dword [0x46deb0]
call fcn.00405680
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404ad8
lea eax, [ebp + 8]
mov edx, 2
call fcn.00404ad8
ret