Function at 0x46dee4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x46deed
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
mov ebx, dword [ebp + 0xc]
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 0x46e51c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x483cc0]
mov eax, dword [eax + 0x374]
mov edx, 0x46e538
call fcn.00442dec
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, 0x46e55c
call fcn.00404810
mov eax, dword [ebp - 0x1c]
call fcn.00409324
test al, al
jne 0x46df9c
mov eax, dword [ebp - 0x1c]
call fcn.00409654
push dword [ebp - 0x1c]
push dword [ebp - 4]
push 0x46e574
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 0x46e574
mov eax, 0x483d24
mov edx, 3
call fcn.00404884
mov edx, dword [ebp - 4]
mov eax, 0x46e584
call fcn.00404b08
mov esi, eax
test esi, esi
jle 0x46e158
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
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 0x46e04d
mov eax, dword [ebp - 0x18]
call fcn.00409654
push dword [ebp - 0x18]
push 0x46e590
push dword [ebp - 4]
push 0x46e574
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404884
push 0x46e594
push 0x46e59c
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, 0x46e5b4
call fcn.00404910
jne 0x46e0e9
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 0x46e594
push 0x46e59c
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, 0x46e5cc
call fcn.00404910
jne 0x46e158
lea eax, [ebp - 0x30]
call fcn.0046db10
push 0x46e5d4
push 0x46e5e0
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 0x46e1e7
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x46e1dd
lea eax, [ebp - 8]
push eax
push 0x46e5ec
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.004106a8
add esp, 0x10
push 0x46e5f8
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.004106a8
add esp, 0xc
push 0x46e604
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0x30]
call fcn.00418c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46e223
mov eax, dword [ebp - 8]
call fcn.00409314
test al, al
je 0x46e248
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 0x46e2c9
mov eax, dword [ebp - 0xc]
call fcn.00409314
test al, al
je 0x46e286
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 0x46e2b7
mov eax, dword [ebp - 0x18]
call fcn.00409324
test al, al
je 0x46e2b7
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.00409444
mov eax, dword [0x483d24]
call fcn.00409444
cmp byte [ebp + 8], 0
je 0x46e46e
xor eax, eax
push ebp
push 0x46e313
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x483cc0]
call fcn.00474cd0
lea edx, [ebp - 0xe4]
mov eax, 0x46e654
call fcn.00468874
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x50]
call fcn.00414eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46e331
lea eax, [ebp - 0x14]
push eax
push 0x46e680
push 0x46e68c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004106a8
add esp, 0xc
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004106a8
add esp, 0x10
push 0xffffffffffffffff
push 0x46e69c
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.004106a8
add esp, 0x10
jmp 0x46e46e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e526
lea eax, [ebp - 0x114]
mov edx, dword [0x4010e8]
mov ecx, 3
call fcn.0040503c
lea eax, [ebp - 0xe4]
call fcn.004062cc
lea eax, [ebp - 0xe0]
call fcn.00404504
lea eax, [ebp - 0xdc]
mov edx, dword [0x4010e8]
mov ecx, 3
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