Function at 0x44de70
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x47cd78
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x481de0
lea ecx, [esp + 0x28]
call fcn.00406310
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push str._s_rapi.dll
push ecx
mov dword [esp + 0x248], 0
call fcn.00402e80
add esp, 0xc
push 0x481de0
lea ecx, [esp + 0x10]
call fcn.00406310
push 0x481de0
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.00406310
push 0x481de0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call fcn.00406310
push 0x481de0
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 3
call fcn.00406310
push 0x104
lea edx, [esp + 0x2c]
push edx
push 0
mov byte [esp + 0x248], 4
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push 0x481e70
push ecx
call fcn.00402e80
mov edx, dword [esp + 0x18]
push 0x5c
push edx
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 0x14
test eax, eax
je 0x44e180
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x44e180
inc eax
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00407ca0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 5
call fcn.00404460
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404460
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404460
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00404460
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 8
push str.rapi.dll
lea ecx, [esp + 0x14]
call fcn.004044e0
push 9
push str._rapi.dll
lea ecx, [esp + 0x20]
call fcn.004044e0
push 0xb
push str._ceutil.dll
lea ecx, [esp + 0x28]
call fcn.004044e0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x44e180
mov edx, dword [esp + 0x18]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44e07e
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call esi
test eax, eax
je 0x44e090
mov edx, dword [esp + 0x20]
push edx
call edi
push 0x481de0
lea ecx, [esp + 0x18]
call fcn.00406310
push 0x481de0
lea ecx, [esp + 0x20]
mov byte [esp + 0x240], 6
call fcn.00406310
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push str._srapi.dll
push ecx
mov byte [esp + 0x248], 7
call fcn.00402e80
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push 0x484310
push eax
call fcn.00402e80
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x18
push ecx
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push str._sceutil.dll
push ecx
call fcn.00402e80
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push str._s_ceutil.dll
push eax
call fcn.00402e80
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add esp, 0x18
push ecx
push edx
call esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e158
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e1a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e1d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e1f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e220
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e24b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004764f6
add esp, 0x234
ret