Function at 0x1027340
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1057b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.01010c62
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c62
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
call fcn.01025920
movzx ecx, al
test ecx, ecx
jne 0x10273dd
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 0x10276b8
lea edx, [ebp + 0xc]
push edx
call fcn.010259a0
movzx eax, al
test eax, eax
jne 0x102742f
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 0x10276b8
lea ecx, [ebp - 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp + 8]
push edx
call fcn.01010eb5
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
call fcn.01026bf0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10274a3
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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]
jmp 0x10276b8
push 0x2e
lea ecx, [ebp + 8]
call fcn.01028b10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10274f8
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 - 0x34]
jmp 0x10276b8
lea ecx, [ebp + 8]
call fcn.01010a68
sub eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.01028be0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
call fcn.01011a07
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.01025680
movzx eax, al
test eax, eax
jne 0x1027586
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 - 0x38]
jmp 0x10276b8
lea ecx, [ebp - 0x14]
push ecx
call fcn.01025920
movzx edx, al
test edx, edx
jne 0x1027663
lea ecx, [ebp - 0x14]
call fcn.010107dc
push eax
call fcn.010529c3
test eax, eax
je 0x10275fa
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 - 0x3c]
jmp 0x10276b8
push 0
lea ecx, [ebp - 0x14]
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 0x1027663
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 - 0x40]
jmp 0x10276b8
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.010115e7
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
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 - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc