Function at 0x4487d7
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov eax, 0x4affdc
call fcn.00483228
sub esp, 0x38
push ebx
push esi
push edi
push 1
mov esi, 0x4e7e70
pop ebx
lea ecx, [ebp - 0x18]
push esi
mov dword [ebp - 4], ebx
xor edi, edi
call fcn.0049d946
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0049d946
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049d946
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0049835d
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 5
call fcn.0049d64d
lea eax, [ebp - 0x1c]
push eax
call fcn.00447289
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0049d9c5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
call fcn.00446d96
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x1c]
push eax
call fcn.004470fc
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0049d9c5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0049d8d8
push ebx
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x448ab8
mov ecx, 0x4e83f8
call fcn.00462b45
cmp eax, ebx
jne 0x448a95
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.WININIT.INI
call fcn.0049d946
push ecx
mov ecx, 0x4e83a0
mov eax, esp
mov dword [ebp - 0x24], esp
push edi
push eax
mov byte [ebp - 4], 8
call fcn.00407bd2
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0049d9c5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0049d8d8
lea eax, [ebp - 0x44]
push edi
push eax
push ecx
mov esi, str.rename
mov ecx, esp
mov dword [ebp - 0x28], esp
push esi
call fcn.0049d946
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.0049d64d
mov byte [ebp - 4], 5
call fcn.00449844
add esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x20]
push eax
call fcn.00448171
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1c]
push str.NUL
push eax
mov byte [ebp - 4], 0xb
call fcn.0049db95
push eax
lea ecx, [ebp - 0x44]
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.00498632
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0049d8d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x28]
push eax
call fcn.00448171
pop ecx
pop ecx
push eax
push 0x4dde10
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0xd
call fcn.0049d64d
lea eax, [ebp - 0x24]
push eax
call fcn.00448171
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0049db21
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xf
call fcn.0049dabb
push eax
lea ecx, [ebp - 0x44]
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.00498632
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.0049d8d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0049d8d8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0049d8d8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0049d8d8
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push esi
call fcn.0049d946
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.0049d64d
mov byte [ebp - 4], 5
call fcn.004496c2
pop ecx
lea eax, [ebp - 0x44]
pop ecx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
call fcn.0049d946
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0049d64d
mov byte [ebp - 4], 5
call fcn.00449741
add esp, 0xc
jmp 0x448ab6
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
push 0
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x448ab8
push 4
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x448ab8
mov edi, ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00498390
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret