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

Disassembly:
push 0xffffffffffffffff
push 0x472549
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x103c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x105c]
mov ebx, dword [esi + 0x10]
mov eax, dword [esp + 0x1058]
mov ebp, dword [esp + 0x104c]
mov edi, dword [esp + 0x1050]
mov dword [esp + 0x28], eax
cmp dword [esi + 0xc], ebx
jbe 0x42e8dc
call fcn.004577aa
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x42e8f7
call fcn.004577aa
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push ebx
push edx
push ecx
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0042d670
test ebp, ebp
je 0x42ebec
test edi, edi
je 0x42ebec
push 3
push edi
push ebp
call fcn.00459ded
add esp, 0xc
test eax, eax
je 0x42e941
mov ecx, dword [esp + 0x28]
push ecx
push edi
push ebp
call fcn.0042ce50
add esp, 0xc
jmp 0x42ebee
push 0x800
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.00457170
push 0x400
lea eax, [esp + 0x48]
push edi
push eax
call fcn.0045810b
add esp, 0x18
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x38]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [0x48f014]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x492c58]
mov dword [esp + 0x1048], 0
call fcn.0043ce50
push 3
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
test ebx, ebx
jne 0x42ebdf
push 0x47a954
lea ecx, [esp + 0x18]
call fcn.0041e3d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x1044], 1
call ebx
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.0042bfc0
push eax
mov ecx, esi
mov byte [esp + 0x1048], 2
call fcn.0042e7d0
lea ecx, [esp + 0x1c]
call fcn.0042aff0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1044], 0
call fcn.0041a630
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.0042c260
movzx eax, al
add esp, 8
test eax, eax
jne 0x42eb50
push 0x800
push eax
lea ecx, [esp + 0x840]
push ecx
call fcn.00457170
add esp, 0xc
lea edx, [esp + 0x838]
push edx
push 0
push 0x47923c
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x42ea8d
push 0x47a940
lea ecx, [esp + 0x18]
call fcn.0041e3d0
mov byte [esp + 0x1044], 3
call ebx
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042bfc0
mov byte [esp + 0x1044], 4
jmp 0x42eb2e
push 3
lea edx, [esp + 0x83c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42eaff
push 4
lea eax, [esp + 0x83c]
push 0
push eax
call fcn.0042a8f0
add esp, 0xc
push 3
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
test ebx, ebx
jne 0x42ebdf
push 0x47a92c
lea ecx, [esp + 0x18]
call fcn.0041e3d0
mov byte [esp + 0x1044], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042bfc0
mov byte [esp + 0x1044], 6
jmp 0x42eb2e
push str.T_rT
lea ecx, [esp + 0x18]
call fcn.0041e3d0
mov byte [esp + 0x1044], 7
call ebx
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.0042bfc0
mov byte [esp + 0x1044], 8
push eax
mov ecx, esi
call fcn.0042e7d0
lea ecx, [esp + 0x1c]
call fcn.0042aff0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1044], 0
call fcn.0041a630
push 5
push edi
push ebp
call fcn.0042a8f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42eb7d
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x42ebd2
push 0x47a904
lea ecx, [esp + 0x18]
call fcn.0041e3d0
mov byte [esp + 0x1044], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.0042bfc0
push eax
mov ecx, esi
mov byte [esp + 0x1048], 0xa
call fcn.0042e7d0
lea ecx, [esp + 0x2c]
call fcn.0042aff0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1044], 0
call fcn.0041a630
mov ecx, dword [0x492c58]
push 1
call fcn.0043c7a0
lea ecx, [esp + 0x18]
call fcn.0041a630
mov eax, ebx
jmp 0x42ebee
xor eax, eax
mov ecx, dword [esp + 0x103c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.0045715c
add esp, 0x1034
ret