Function at 0x430aa4
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x430aad
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x430d56
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x430d2e
push dword fs:[eax]
mov dword fs:[eax], esp
test cl, cl
je 0x430b45
mov eax, dword [ebp - 8]
call fcn.004096dc
mov eax, dword [ebp - 8]
call fcn.00409490
test al, al
jne 0x430b45
push 0
mov eax, dword [ebp - 8]
call fcn.00404be0
push eax
mov eax, dword [ebp - 4]
call fcn.00404be0
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x430b45
mov edx, ebx
lea eax, [ebp - 0x114]
call fcn.00404918
mov eax, dword [ebp - 0x114]
call fcn.004096dc
test al, al
je 0x430b45
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x430d38
mov eax, dword [0x4a48a4]
cmp dword [eax], 2
jne 0x430b6d
push 5
mov eax, dword [ebp - 8]
call fcn.00404be0
push eax
mov eax, dword [ebp - 4]
call fcn.00404be0
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x430d24
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov dword [ebp - 0x10], eax
push 0xff
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x430c30
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.0040dae0
lea eax, [ebp - 0x118]
mov edx, 0x430d70
call fcn.004049e8
mov eax, dword [ebp - 0x118]
call fcn.00409490
test al, al
je 0x430c26
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.0040dae0
lea eax, [ebp - 0x120]
mov edx, 0x430d70
call fcn.004049e8
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x430c42
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
call fcn.00408b24
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x430d84
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x430c8c
mov edx, 0x430d84
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 8]
call fcn.004099e0
push dword [ebp - 0x134]
push 0x430d98
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.004099e0
push dword [ebp - 0x138]
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.00404aa0
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.0040dae0
lea eax, [ebp - 0x13c]
mov edx, 0x430d70
call fcn.004049e8
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x10]
call fcn.00403870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x430d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430d5d
lea eax, [ebp - 0x140]
mov edx, 0xc
call fcn.00404734
ret