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

Disassembly:
push 0xffffffffffffffff
push 0x5d557c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [esp + 0x23c]
mov ecx, dword [esp + 0x238]
push ebx
mov ebx, dword [esp + 0x24c]
push ebp
push esi
mov esi, dword [esp + 0x24c]
push edi
mov edi, dword [esp + 0x254]
push ebx
push edi
push esi
push eax
push ecx
push str.SaveLib3_dwType_0x_x__dwStoreFlag_0x_x__lpBuff_0x_x__dwSize_0x_x__bNeedEnc__lu_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
mov edx, dword [0x641250]
add esp, 0x24
xor ebp, ebp
mov dword [esp + 0x14], edx
lea eax, [esp + 0x30]
mov dword [esp + 0x240], ebp
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x248]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x20]
push str._sopl__lu__lu.tmp
push eax
call fcn.005b86eb
mov ecx, dword [esp + 0x28]
add esp, 0x14
push ecx
push str.SaveLib3_temp__s_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.005bc293
test esi, esi
mov byte [esp + 0x240], 1
je 0x411c3c
test edi, edi
jbe 0x411c3c
mov edx, dword [esp + 0x14]
push ebp
push 0x3001
push edx
lea ecx, [esp + 0x28]
call fcn.005bc445
test eax, eax
je 0x411c3c
mov eax, dword [esp + 0x1c]
push 2
push ebp
lea ecx, [esp + 0x24]
call dword [eax + 0x28]
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.005bc59c
push edi
push esi
push ebp
call fcn.0047ec10
add esp, 0xc
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x411bfc
lea ecx, [esp + 0x18]
call fcn.0047ecd0
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 2
push ecx
push edi
push esi
call fcn.00444bf0
add esp, 0xc
test eax, eax
je 0x411beb
lea ecx, [esp + 0x18]
call fcn.0047eea0
cmp eax, edi
jne 0x411beb
mov edx, dword [esp + 0x1c]
push ebp
push ebp
lea ecx, [esp + 0x24]
call dword [edx + 0x28]
lea ecx, [esp + 0x18]
call fcn.0047eea0
push eax
lea ecx, [esp + 0x1c]
call fcn.0047f5c0
push eax
lea ecx, [esp + 0x24]
call fcn.005bc59c
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 1
call fcn.0047ee00
mov eax, dword [esp + 0x1c]
push 2
push 0
lea ecx, [esp + 0x24]
call dword [eax + 0x28]
lea ecx, [esp + 0x24c]
push 4
push ecx
lea ecx, [esp + 0x24]
call fcn.005bc59c
lea edx, [esp + 0x2c]
push 4
push edx
lea ecx, [esp + 0x24]
call fcn.005bc59c
lea ecx, [esp + 0x1c]
mov ebp, 1
call fcn.005bc660
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 0
call fcn.005bc388
mov eax, dword [0x641250]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x248]
mov byte [esp + 0x240], 3
push ecx
call fcn.00411560
add esp, 4
test eax, eax
jne 0x411c9d
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], al
call fcn.005bba83
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], 0xffffffff
call fcn.005bba83
xor eax, eax
jmp 0x411d61
mov edx, dword [0x65f058]
push eax
push edx
lea eax, [esp + 0x18]
push 0x634a00
push eax
call fcn.005b86eb
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebp
push ecx
push str.SaveLib3_dst__s__ret_:__d_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x18
test ebp, ebp
jne 0x411cfe
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411cf1
mov esi, 1
jmp 0x411d20
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x411d1e
mov eax, dword [0x65f06c]
mov ecx, dword [esp + 0x10]
neg eax
mov edx, dword [esp + 0x14]
sbb eax, eax
and eax, 2
add eax, 3
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
push esi
push str.SaveLib3_ret__lu_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 0
call fcn.005bba83
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], 0xffffffff
call fcn.005bba83
mov eax, esi
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret