Function at 0x47c238
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x47c241
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x40]
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 esi, eax
lea edi, [ebp - 0x30]
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 - 4], ecx
lea eax, [ebp - 0x30]
call fcn.00416ce8
lea eax, [ebp - 0x40]
call fcn.00416ce8
mov eax, dword [ebp - 4]
call fcn.004049b4
mov eax, dword [ebp + 0x10]
call fcn.004049b4
xor eax, eax
push ebp
push 0x47c815
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x483cc0]
mov eax, dword [eax + 0x374]
mov edx, 0x47c830
call fcn.00442dec
mov eax, dword [0x482610]
mov eax, dword [eax]
call fcn.004624c0
lea ecx, [ebp - 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.0046c664
lea edx, [ebp - 0x68]
xor eax, eax
call fcn.00402ebc
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004094e4
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
mov ecx, 0x47c854
call fcn.00404810
mov eax, dword [ebp - 0x1c]
call fcn.00409324
test al, al
jne 0x47c2fa
mov eax, dword [ebp - 0x1c]
call fcn.00409654
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 0x47c86c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404884
lea edx, [ebp - 0x70]
xor eax, eax
call fcn.00402ebc
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.004094e4
push dword [ebp - 0x6c]
push dword [ebp - 4]
push 0x47c86c
mov eax, 0x483d24
mov edx, 3
call fcn.00404884
mov edx, dword [ebp - 4]
mov eax, 0x47c87c
call fcn.00404b08
mov ebx, eax
test ebx, ebx
jle 0x47c4b6
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404a24
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x10]
call fcn.00408b30
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00402ebc
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.004094e4
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
call fcn.00404810
mov eax, dword [ebp - 0x18]
call fcn.00409324
test al, al
jne 0x47c3ab
mov eax, dword [ebp - 0x18]
call fcn.00409654
push dword [ebp - 0x18]
push 0x47c888
push dword [ebp - 4]
push 0x47c86c
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404884
push 0x47c88c
push 0x47c894
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004106a8
add esp, 0xc
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x84]
call fcn.00413d3c
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00408b30
mov eax, dword [ebp - 0x80]
mov edx, 0x47c8ac
call fcn.00404910
jne 0x47c447
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 1
mov edx, 4
lea eax, [ebp - 0x30]
call fcn.0046d3b8
lea eax, [ebp - 0x30]
call fcn.0046d738
push 0x47c88c
push 0x47c894
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004106a8
add esp, 0xc
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0xac]
call fcn.00413d3c
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00408b30
mov eax, dword [ebp - 0xa8]
mov edx, 0x47c8c4
call fcn.00404910
jne 0x47c4b6
lea eax, [ebp - 0x30]
call fcn.0046db10
push 0x47c8cc
push 0x47c8d8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0xdc]
push eax
push 0
call fcn.004106a8
add esp, 0xc
xor eax, eax
push ebp
push 0x47c5bf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0xc], 0
je 0x47c5b5
push 0x47c8e4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0xec]
call fcn.00416a68
lea eax, [ebp - 0xec]
call fcn.004127e4
test al, al
je 0x47c541
push 0x47c8f0
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x47c8f8
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.004106a8
add esp, 0x10
xor eax, eax
push ebp
push 0x47c583
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47c904
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.004106a8
add esp, 0xc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47c5b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47c5fb
mov eax, dword [ebp - 8]
call fcn.00409314
test al, al
je 0x47c620
push 0
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
mov eax, dword [ebp - 8]
call fcn.004049c4
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x483cc0]
mov eax, dword [eax + 0x36c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x47c6bf
mov eax, dword [ebp - 0xc]
call fcn.00409314
test al, al
je 0x47c662
push 0
mov eax, dword [0x483d24]
call fcn.004049c4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0xc]
call fcn.00409314
test al, al
je 0x47c693
mov eax, dword [ebp - 0x18]
call fcn.00409324
test al, al
je 0x47c693
push 0
mov eax, dword [ebp - 0x14]
call fcn.004049c4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 8]
call fcn.00409314
test al, al
je 0x47c6a7
mov eax, dword [ebp - 8]
call fcn.00409444
mov eax, dword [0x483d24]
call fcn.00409314
test al, al
je 0x47c6bf
mov eax, dword [0x483d24]
call fcn.00409444
cmp byte [ebp + 8], 0
je 0x47c76d
xor eax, eax
push ebp
push 0x47c709
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x483cc0]
call fcn.00474cd0
lea edx, [ebp - 0xf8]
mov eax, 0x47c96c
call fcn.00468874
mov edx, dword [ebp - 0xf8]
lea eax, [ebp - 0x50]
call fcn.00414eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47c724
lea eax, [ebp - 0x14]
push eax
push 0x47c998
push 0x47c9a4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004106a8
add esp, 0x10
push 0xffffffffffffffff
push 0x47c9b4
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.004106a8
add esp, 0x10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c81f
lea eax, [ebp - 0x108]
call fcn.004106a0
lea eax, [ebp - 0xf8]
call fcn.004062cc
lea eax, [ebp - 0xf4]
mov edx, 2
call fcn.00404528
lea eax, [ebp - 0xec]
mov edx, dword [0x4010e8]
mov ecx, 4
call fcn.0040503c
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.00404528
lea eax, [ebp - 0xa4]
mov edx, dword [0x4010e8]
mov ecx, 2
call fcn.0040503c
lea eax, [ebp - 0x84]
mov edx, 9
call fcn.00404528
lea eax, [ebp - 0x60]
mov edx, dword [0x4010e8]
mov ecx, 4
call fcn.0040503c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404528
lea eax, [ebp + 0x10]
call fcn.00404504
ret