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

Disassembly:
push 0xffffffffffffffff
push 0x48247e
mov eax, dword fs:[0]
push eax
mov eax, 0x1824
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1820], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x1838]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1858]
mov ebx, dword [esi + 0x10]
mov eax, dword [esp + 0x1854]
mov ebp, dword [esp + 0x1848]
mov edi, dword [esp + 0x184c]
mov dword [esp + 0x24], eax
cmp dword [esi + 0xc], ebx
jbe 0x42ff7c
call fcn.00461ea8
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x42ff97
call fcn.00461ea8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push ebx
push edx
push ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0042ddd0
test ebp, ebp
je 0x4302d6
test edi, edi
je 0x4302d6
push 3
push edi
push ebp
call fcn.00464ce6
add esp, 0xc
test eax, eax
je 0x42ffe1
mov ecx, dword [esp + 0x24]
push ecx
push edi
push ebp
call fcn.0042d7c0
add esp, 0xc
jmp 0x4302d8
push 0x800
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00461950
push 0x400
lea eax, [esp + 0x44]
push edi
push eax
call fcn.00462b97
add esp, 0x18
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x34]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [esp + 0x34]
push eax
call fcn.0042b260
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
push 3
push edi
push ebp
call ebx
test eax, eax
jne 0x4302d8
push 0x48bce8
lea ecx, [esp + 0x18]
call fcn.0041d2c0
mov dword [esp + 0x1840], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042cb40
push eax
mov ecx, esi
mov byte [esp + 0x1844], 1
call fcn.0042fe70
lea ecx, [esp + 0x18]
call fcn.0042bd10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041b2e0
push edi
call fcn.0042ce30
movzx eax, al
add esp, 4
test eax, eax
jne 0x430213
push 0x800
push eax
lea edx, [esp + 0x83c]
push edx
call fcn.00461950
add esp, 0xc
lea eax, [esp + 0x834]
push eax
push 0
push 0x48a924
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x43011c
push 0x48bcd4
lea ecx, [esp + 0x18]
call fcn.0041d2c0
mov dword [esp + 0x1840], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.0042cb40
mov byte [esp + 0x1840], 3
jmp 0x4301ee
push 3
lea eax, [esp + 0x838]
push eax
push edi
call ebx
test eax, eax
je 0x4301b8
push 4
lea ecx, [esp + 0x838]
push 0
push ecx
call fcn.0042b520
add esp, 0xc
push 3
push edi
push ebp
call ebx
mov ebx, eax
test ebx, ebx
jne 0x4302d2
push 0x48bcc0
lea ecx, [esp + 0x18]
call fcn.0041d2c0
mov dword [esp + 0x1840], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.0042cb40
push eax
mov ecx, esi
mov byte [esp + 0x1844], 5
call fcn.0042fe70
lea ecx, [esp + 0x18]
call fcn.0042bd10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041b2e0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x430213
push str.T_rT
lea ecx, [esp + 0x18]
call fcn.0041d2c0
mov dword [esp + 0x1840], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.0042cb40
mov byte [esp + 0x1840], 7
push eax
mov ecx, esi
call fcn.0042fe70
lea ecx, [esp + 0x18]
call fcn.0042bd10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041b2e0
push 0x800
lea ecx, [esp + 0x1038]
push 0
push ecx
call fcn.00461950
add esp, 0xc
lea edx, [esp + 0x1034]
push edx
push 0
push 0x48a924
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea ecx, [esp + 0x1038]
push ecx
push ebp
call ebx
push 5
lea edx, [esp + 0x1038]
push edi
push edx
call fcn.0042b520
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4302c5
push 0x48bc98
lea ecx, [esp + 0x18]
call fcn.0041d2c0
mov dword [esp + 0x1840], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.0042cb40
push eax
mov ecx, esi
mov byte [esp + 0x1844], 9
call fcn.0042fe70
lea ecx, [esp + 0x28]
call fcn.0042bd10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1840], 0xffffffff
call fcn.0041b2e0
mov ecx, dword [0x4a7cf8]
push 1
call fcn.0043ef80
mov eax, ebx
jmp 0x4302d8
xor eax, eax
mov ecx, dword [esp + 0x1838]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.00461932
add esp, 0x1830
ret