Function at 0x402f0c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov eax, 0x490a4c
push ebx
push esi
push edi
mov edi, 0x48fac4
lea ebx, [ebp - 0x6c]
call fcn.0047fb84
mov dword [ebx + 0x1c], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0048c464
inc dword [ebx + 0x1c]
lea edx, [ebp + 8]
mov word [ebx + 0x10], 8
lea eax, [ebp + 8]
call fcn.0048c464
inc dword [ebx + 0x1c]
mov edx, dword [ebp + 0x10]
push edx
cmp dword [ebp + 0xc], 0
je 0x402f5f
mov ecx, dword [ebp + 0xc]
jmp 0x402f65
lea ecx, [edi + 0x23a]
push ecx
cmp dword [ebp + 8], 0
je 0x402f71
mov eax, dword [ebp + 8]
jmp 0x402f77
lea eax, [edi + 0x239]
push eax
call sub.KERNEL32.DLL_CopyFileA
mov esi, eax
test esi, esi
jne 0x403136
mov word [ebx + 0x10], 0x20
lea edx, [edi + 0x23b]
lea eax, [ebp - 8]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
inc dword [ebx + 0x1c]
lea edx, [ebp + 8]
call fcn.0048c650
lea eax, [ebp - 0xc]
push eax
lea edx, [edi + 0x248]
lea eax, [ebp - 0x10]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
pop eax
call fcn.0048c650
lea eax, [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x18]
inc dword [ebx + 0x1c]
lea edx, [ebp + 0xc]
call fcn.0048c650
lea eax, [ebp - 0x18]
push eax
lea edx, [edi + 0x24d]
lea eax, [ebp - 0x1c]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x20]
pop eax
call fcn.0048c650
lea edx, [ebp - 0x20]
push edx
call sub.KERNEL32.DLL_GetLastError
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.0048c5b4
mov edx, eax
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
inc dword [ebx + 0x1c]
pop eax
call fcn.0048c650
lea edx, [ebp - 0x28]
push edx
lea edx, [edi + 0x256]
lea eax, [ebp - 0x2c]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x2c]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 4]
pop eax
call fcn.0048c650
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0048c5f8
mov word [ebx + 0x10], 0x14
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402e94
pop ecx
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0048c5f8
mov word [ebx + 0x10], 8
jmp 0x40324e
mov word [ebx + 0x10], 0x38
lea edx, [edi + 0x259]
lea eax, [ebp - 0x34]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
inc dword [ebx + 0x1c]
lea edx, [ebp + 8]
call fcn.0048c650
lea eax, [ebp - 0x38]
push eax
lea edx, [edi + 0x266]
lea eax, [ebp - 0x3c]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x3c]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x40]
pop eax
call fcn.0048c650
lea eax, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x44]
inc dword [ebx + 0x1c]
lea edx, [ebp + 0xc]
call fcn.0048c650
lea eax, [ebp - 0x44]
push eax
lea edx, [edi + 0x26b]
lea eax, [ebp - 0x48]
call fcn.0048c42c
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x48]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x30]
pop eax
call fcn.0048c650
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0048c5f8
mov word [ebx + 0x10], 0x2c
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00402e94
pop ecx
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0048c5f8
mov word [ebx + 0x10], 8
mov eax, esi
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebx + 0x1c]
call fcn.0048c5f8
dec dword [ebx + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0048c5f8
pop eax
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret