Function at 0x4287f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x4287f9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 0x24]
xor eax, eax
push ebp
push 0x428b5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x180], ebx
fild dword [ebp - 0x180]
fstp qword [ebp - 0x38]
wait
lea eax, [ebp - 0x1c]
mov edx, edi
call fcn.00405e08
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00405e08
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x18]
call fcn.00405e08
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x180], esi
fild dword [ebp - 0x180]
fstp qword [ebp - 0x48]
wait
fild dword [ebp + 0x1c]
fstp qword [ebp - 0x50]
wait
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ebx
xor eax, eax
push ebp
push 0x4288da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x30]
call fcn.0041c9ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x428938
mov eax, dword [0x4303ac]
cmp byte [eax], 0
mov eax, dword [0x430384]
setne byte [eax]
lea edx, [ebp - 4]
xor eax, eax
call fcn.00403fac
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00415164
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004151a4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x428974
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, 4
inc edx
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.004063d8
lea eax, [ebp - 0xc]
mov edx, 0x428b7c
call fcn.00406200
lea eax, [ebp - 0x17c]
call fcn.00428438
call fcn.00403f4c
test eax, eax
jne 0x428a88
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00406258
mov eax, dword [ebp - 0x184]
mov dl, 1
call fcn.00415070
test al, al
je 0x428b33
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00406258
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x10]
call fcn.00428274
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x10]
call fcn.00415164
push dword [ebp - 0x18c]
mov eax, 0x2710
call fcn.00404034
lea edx, [ebp - 0x190]
call fcn.00414bec
push dword [ebp - 0x190]
push 0x428b94
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004062e0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00406094
push eax
mov eax, dword [ebp - 4]
call fcn.00406094
push eax
call sub.kernel32.dll_CopyFileW
push 0x428bac
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x428bbc
push dword [ebp - 0x10]
push 0x428bbc
push dword [ebp - 4]
push 0x428bac
lea eax, [ebp - 0x18]
mov edx, 8
call fcn.004062e0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0042870c
jmp 0x428b33
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.00403fac
lea edx, [ebp - 0x10]
mov eax, 2
call fcn.00403fac
lea edx, [ebp - 4]
mov eax, 3
call fcn.00403fac
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x27
jne 0x428aca
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, 1
call fcn.004063d8
mov eax, dword [ebp - 0x10]
cmp word [eax], 0x27
jne 0x428ae5
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004063d8
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x428af3
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
cmp word [ecx + eax*2 - 2], 0x27
jne 0x428b17
mov eax, edx
test eax, eax
je 0x428b09
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
mov ecx, 1
xchg edx, eax
call fcn.004063d8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00428748
test al, al
je 0x428b2e
mov eax, dword [ebp - 0xc]
call fcn.00415108
call fcn.00428450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428b65
lea eax, [ebp - 0x190]
mov edx, 4
call fcn.00405b68
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00405b68
ret