Function at 0x102f390
Capabilities:
Copy file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1058328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 0
jne 0x102f3f1
mov dword [ebp - 0x18], 0x10a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x18]
jmp 0x102f602
lea ecx, [ebp - 0x10]
call fcn.01010c62
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.01010a73
movzx ecx, al
test ecx, ecx
jne 0x102f41b
lea ecx, [ebp + 0xc]
call fcn.01010a73
movzx edx, al
test edx, edx
je 0x102f451
mov dword [ebp - 0x1c], 0x57
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x1c]
jmp 0x102f602
lea eax, [ebp + 8]
push eax
call fcn.01025920
movzx ecx, al
test ecx, ecx
jne 0x102f497
mov dword [ebp - 0x20], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x20]
jmp 0x102f602
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 8
push ecx
call fcn.01025680
lea ecx, [ebp - 0x10]
call fcn.010107dc
push eax
call fcn.010529c3
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x102f4f7
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x24]
jmp 0x102f602
push 0
lea ecx, [ebp - 0x10]
call fcn.010107dc
push eax
lea ecx, [ebp + 8]
call fcn.010107dc
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x102f5d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
jne 0x102f5a0
push 0x80
lea ecx, [ebp - 0x10]
call fcn.010107dc
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea ecx, [ebp - 0x10]
call fcn.010107dc
push eax
lea ecx, [ebp + 8]
call fcn.010107dc
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x102f563
mov dword [ebp - 0x14], 0
jmp 0x102f59e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x28]
jmp 0x102f602
jmp 0x102f5d2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x2c]
jmp 0x102f602
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01010c92
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8