Function at 0x424020
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x489dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
lea edi, [esi + 0x290]
push edi
lea ecx, [esp + 0x24]
call fcn.0040e220
push str._safemon360MobileBase.tpi
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24c], 0
call fcn.00419880
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x240], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4240b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0x88
push esi
lea ecx, [esp + 0x1c]
call fcn.0040e220
push str.360MobileBase.tpi
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x24c], 3
call fcn.00419880
add esp, 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x240], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424109
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x36]
push edx
mov word [esp + 0x38], cx
call fcn.0043f2b0
add esp, 0xc
push 0xa
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004402fe
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040e220
mov esi, eax
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 6
call fcn.0040e220
push str._safemon360MobileBase.tpi.
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x24c], 7
call fcn.00419880
push esi
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x258], 8
call fcn.004197b0
add esp, 0x18
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x240], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4241b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x240], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4241da
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 byte [esp + 0x240], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424223
mov edx, dword [esp + 0xc]
push edx
push str.tpi_Exist_File__s
call fcn.00414e90
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x424255
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
mov eax, dword [esp + 0x14]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x240], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424290
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 + 0x240], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242b8
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 dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0043f097
add esp, 0x238
ret 4