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

Disassembly:
push 0xffffffffffffffff
push 0x479948
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
mov eax, dword [0x49eef8]
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 0x47dd68
lea ecx, [esp + 0x28]
call fcn.004062a0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push str._s_rapi.dll
push ecx
mov dword [esp + 0x248], 0
call fcn.00402e10
add esp, 0xc
push 0x47dd68
lea ecx, [esp + 0x10]
call fcn.004062a0
push 0x47dd68
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.004062a0
push 0x47dd68
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 2
call fcn.004062a0
push 0x47dd68
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 3
call fcn.004062a0
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 0x47ddf8
push ecx
call fcn.00402e10
mov edx, dword [esp + 0x18]
push 0x5c
push edx
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 0x14
test eax, eax
je 0x44d6d0
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x44d6d0
inc eax
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00407760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 5
call fcn.004043f0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.004043f0
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.004043f0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.004043f0
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 0x44d571
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.00404470
push 9
push str._rapi.dll
lea ecx, [esp + 0x20]
call fcn.00404470
push 0xb
push str._ceutil.dll
lea ecx, [esp + 0x28]
call fcn.00404470
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x44d6d0
mov edx, dword [esp + 0x18]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44d5ce
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call esi
test eax, eax
je 0x44d5e0
mov edx, dword [esp + 0x20]
push edx
call edi
push 0x47dd68
lea ecx, [esp + 0x18]
call fcn.004062a0
push 0x47dd68
lea ecx, [esp + 0x20]
mov byte [esp + 0x240], 6
call fcn.004062a0
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push str._srapi.dll
push ecx
mov byte [esp + 0x248], 7
call fcn.00402e10
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push 0x47fa48
push eax
call fcn.00402e10
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.00402e10
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push str._s_ceutil.dll
push eax
call fcn.00402e10
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 0x44d6a8
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 0x44d6d0
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 0x44d6f8
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 0x44d720
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 0x44d748
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 0x44d770
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 0x44d79b
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.00472076
add esp, 0x234
ret