Function at 0x131469dc
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x104
push 0
push 0
dec ecx
jne 0x131469e5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x5d4]
push ecx
mov ecx, 0x173
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.13143e34
xor eax, eax
push ebp
push 0x13146e1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.13143a0c
cmp byte [ebp - 0x3f4], 0
je 0x13146dbb
mov eax, dword [ebp - 0x3c4]
test eax, eax
jne 0x13146a4d
lea eax, [ebp - 8]
call fcn.131452e4
jmp 0x13146b1c
cmp eax, 1
jne 0x13146a5f
lea eax, [ebp - 8]
call fcn.1314536c
jmp 0x13146b1c
cmp eax, 2
jne 0x13146a71
lea eax, [ebp - 8]
call fcn.131453f4
jmp 0x13146b1c
cmp eax, 3
jne 0x13146add
lea eax, [ebp - 0x5d8]
call fcn.131454d0
mov eax, dword [ebp - 0x5d8]
xor edx, edx
call fcn.13143c40
je 0x13146ab0
lea eax, [ebp - 0x5dc]
call fcn.131454d0
mov edx, dword [ebp - 0x5dc]
lea eax, [ebp - 8]
mov ecx, 0x13146e30
call fcn.13143b94
jmp 0x13146b1c
lea eax, [ebp - 0x7e8]
call fcn.131454fc
lea edx, [ebp - 0x7e8]
lea eax, [ebp - 8]
mov ecx, 0x105
call fcn.13143aec
lea eax, [ebp - 8]
mov edx, 0x13146e30
call fcn.13143b34
jmp 0x13146b1c
cmp eax, 4
jne 0x13146b0f
lea eax, [ebp - 0x7e8]
call fcn.131454fc
lea edx, [ebp - 0x7e8]
lea eax, [ebp - 8]
mov ecx, 0x105
call fcn.13143aec
lea eax, [ebp - 8]
mov edx, 0x13146e30
call fcn.13143b34
jmp 0x13146b1c
cmp eax, 5
jne 0x13146b1c
lea eax, [ebp - 8]
call fcn.131452b8
lea eax, [ebp - 0x7ec]
lea edx, [ebp - 0x3dc]
mov ecx, 0xb
call fcn.13143718
cmp dword [ebp - 0x7ec], 0
je 0x13146b6c
push dword [ebp - 8]
lea eax, [ebp - 0x7f0]
lea edx, [ebp - 0x3dc]
mov ecx, 0xb
call fcn.13143aec
push dword [ebp - 0x7f0]
push 0x13146e30
lea eax, [ebp - 8]
mov edx, 3
call fcn.13143bf8
lea eax, [ebp - 0x7f8]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x7f8]
lea eax, [ebp - 0x7f4]
mov edx, dword [ebp - 8]
call fcn.13143b94
mov edx, dword [ebp - 0x7f4]
mov eax, dword [ebp - 4]
call fcn.13143c40
je 0x13146dbb
mov eax, dword [ebp - 8]
call fcn.13143b18
call fcn.13145844
test al, al
je 0x13146dbb
push 0x80
lea eax, [ebp - 0x800]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x800]
lea eax, [ebp - 0x7fc]
mov edx, dword [ebp - 8]
call fcn.13143b94
mov eax, dword [ebp - 0x7fc]
call fcn.13143b18
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
push 0
lea eax, [ebp - 0x808]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x808]
lea eax, [ebp - 0x804]
mov edx, dword [ebp - 8]
call fcn.13143b94
mov eax, dword [ebp - 0x804]
call fcn.13143b18
push eax
mov eax, dword [ebp - 4]
call fcn.13143b18
mov esi, eax
push esi
call sub.KERNEL32.DLL_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x13146d95
lea eax, [ebp - 0x7e8]
call fcn.131454fc
lea edx, [ebp - 0x7e8]
lea eax, [ebp - 8]
mov ecx, 0x105
call fcn.13143aec
lea eax, [ebp - 8]
mov edx, 0x13146e30
call fcn.13143b34
lea eax, [ebp - 0x80c]
lea edx, [ebp - 0x3dc]
mov ecx, 0xb
call fcn.13143718
cmp dword [ebp - 0x80c], 0
je 0x13146cd0
push dword [ebp - 8]
lea eax, [ebp - 0x810]
lea edx, [ebp - 0x3dc]
mov ecx, 0xb
call fcn.13143aec
push dword [ebp - 0x810]
push 0x13146e30
lea eax, [ebp - 8]
mov edx, 3
call fcn.13143bf8
mov eax, dword [ebp - 8]
call fcn.13143b18
call fcn.13145844
test al, al
je 0x13146dbb
push 0x80
lea eax, [ebp - 0x818]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x818]
lea eax, [ebp - 0x814]
mov edx, dword [ebp - 8]
call fcn.13143b94
mov eax, dword [ebp - 0x814]
call fcn.13143b18
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
push 0
lea eax, [ebp - 0x820]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x820]
lea eax, [ebp - 0x81c]
mov edx, dword [ebp - 8]
call fcn.13143b94
mov eax, dword [ebp - 0x81c]
call fcn.13143b18
push eax
push esi
call sub.KERNEL32.DLL_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x13146dbb
lea eax, [ebp - 0x824]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x824]
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.13143b94
jmp 0x13146dbb
lea eax, [ebp - 0x828]
lea edx, [ebp - 0x3f2]
mov ecx, 0xb
call fcn.13143aec
mov ecx, dword [ebp - 0x828]
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.13143b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13146e23
lea eax, [ebp - 0x828]
mov edx, 7
call fcn.131439e8
lea eax, [ebp - 0x80c]
call fcn.13143544
lea eax, [ebp - 0x808]
mov edx, 7
call fcn.131439e8
lea eax, [ebp - 0x7ec]
call fcn.13143544
lea eax, [ebp - 0x5dc]
mov edx, 2
call fcn.131439e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.131439e8
ret