Function at 0x4407a0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4407a8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040556c
xor eax, eax
push ebp
push 0x440a13
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x4407ea
mov eax, dword [ebp - 4]
call fcn.0040557c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x4407ee
mov byte [ebp - 0x11], 0
xor eax, eax
push ebp
push 0x4409de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040999c
test al, al
jne 0x440815
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4409e8
mov eax, dword [0x49076c]
cmp dword [eax], 2
jne 0x440836
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.0040557c
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x4409d4
mov dl, 1
mov eax, dword [0x4168b4]
call fcn.004041bc
mov dword [ebp - 0x18], eax
push 0xff
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x4408f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.00405340
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 8]
call fcn.0040deb4
lea eax, [ebp - 0x120]
mov ecx, 0x440a30
mov edx, dword [ebp - 8]
call fcn.00405404
mov eax, dword [ebp - 0x120]
call fcn.0040999c
test al, al
je 0x4408ef
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.00405340
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0xc]
call fcn.0040deb4
lea eax, [ebp - 0x128]
mov ecx, 0x440a30
mov edx, dword [ebp - 0xc]
call fcn.00405404
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44090b
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00408f24
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x440a44
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x440955
mov edx, 0x440a44
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.00409f68
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
mov edx, 0x440a58
call fcn.00405404
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.00405340
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x10]
call fcn.0040deb4
lea eax, [ebp - 0x140]
mov ecx, 0x440a30
mov edx, dword [ebp - 0x10]
call fcn.00405404
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x18]
call fcn.004041ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4409e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440a1a
lea eax, [ebp - 0x140]
mov edx, 0xa
call fcn.004050f4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004050f4
ret