Function at 0x42eeaf
Capabilities:
Delete file
Get common file path
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497910
push 0x444780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff758
push ebx
push esi
push edi
mov dword [ebp - 0x8b8], ecx
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x33c], 0xffffffff
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x558]
push ecx
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x76c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444858
add esp, 0x14
lea edx, [ebp - 0x76c]
push edx
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x338]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4b3580
lea edx, [ebp - 0x338]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x4b3588
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x42ef97
jmp 0x42f1f9
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
jne 0x42efca
jmp 0x42f1f9
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42efdc
mov eax, dword [ebp - 0x8b8]
mov ecx, dword [eax + 0x28]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx*4 + 0x4b3554]
mov dword [ebp - 0x664], eax
mov ecx, dword [ebp - 0x664]
push ecx
call fcn.00443eb0
add esp, 4
mov dword [ebp - 0x668], eax
mov ecx, dword [ebp - 0x8b8]
add ecx, 0x34
call fcn.0040ccb0
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
jmp 0x42f03a
mov edx, dword [ebp - 0x348]
add edx, 1
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x340]
jge 0x42f123
mov ecx, dword [ebp - 0x348]
push ecx
mov ecx, dword [ebp - 0x8b8]
add ecx, 0x34
call fcn.00430a10
mov edx, dword [eax + 4]
mov dword [ebp - 0x770], edx
cmp dword [ebp - 0x770], 0
jle 0x42f0cd
push 0
lea eax, [ebp - 0x774]
push eax
mov ecx, dword [ebp - 0x770]
push ecx
mov edx, dword [ebp - 0x348]
push edx
mov ecx, dword [ebp - 0x8b8]
add ecx, 0x34
call fcn.00430a10
mov eax, dword [eax]
push eax
call fcn.0042e410
add esp, 4
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42f0ba
jmp 0x42f1f9
mov edx, dword [ebp - 0x770]
cmp edx, dword [ebp - 0x774]
je 0x42f0cd
jmp 0x42f1f9
mov eax, dword [ebp - 0x340]
sub eax, 1
cmp dword [ebp - 0x348], eax
jge 0x42f11e
push 0
lea ecx, [ebp - 0x774]
push ecx
mov edx, dword [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x664]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42f10b
jmp 0x42f1f9
mov edx, dword [ebp - 0x668]
cmp edx, dword [ebp - 0x774]
je 0x42f11e
jmp 0x42f1f9
jmp 0x42f02b
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x124], 0xffffffff
mov ecx, dword [ebp - 0x8b8]
cmp dword [ecx + 0x2c], 0
je 0x42f1a3
lea edx, [ebp - 0x8b4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0xffffffff
je 0x42f1a1
lea ecx, [ebp - 0x338]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x338]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42f18a
jmp 0x42f1f9
mov ecx, dword [ebp - 0x33c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x33c], 0xffffffff
jmp 0x42f1ad
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42f1c4
jmp 0x42f1f9
cmp dword [ebp + 0x10], 0
je 0x42f1ef
push 0
mov edx, dword [ebp - 0x8b8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8b8]
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x8b8]
mov edx, dword [ebp - 0x8b8]
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x60], eax
mov dword [ebp - 0x230], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0042f207
jmp 0x42f241
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc