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

Disassembly:
push 0xffffffffffffffff
push 0x5d17fc
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 0x663464
call fcn.00447850
mov edx, dword [0x63d178]
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.005b496b
mov ecx, dword [esp + 0x28]
add esp, 0x14
push ecx
push str.SaveLib3_temp__s_
push str.CheckModule
push 0xf
push 0x663464
call fcn.00447850
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.005b8513
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.005b86c5
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.005b881c
push edi
push esi
push ebp
call fcn.0047e960
add esp, 0xc
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x411bfc
lea ecx, [esp + 0x18]
call fcn.0047ea20
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 2
push ecx
push edi
push esi
call fcn.00444940
add esp, 0xc
test eax, eax
je 0x411beb
lea ecx, [esp + 0x18]
call fcn.0047ebf0
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.0047ebf0
push eax
lea ecx, [esp + 0x1c]
call fcn.0047f310
push eax
lea ecx, [esp + 0x24]
call fcn.005b881c
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 1
call fcn.0047eb50
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.005b881c
lea edx, [esp + 0x2c]
push 4
push edx
lea ecx, [esp + 0x24]
call fcn.005b881c
lea ecx, [esp + 0x1c]
mov ebp, 1
call fcn.005b88e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x240], 0
call fcn.005b8608
mov eax, dword [0x63d178]
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.005b7d03
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], 0xffffffff
call fcn.005b7d03
xor eax, eax
jmp 0x411d61
mov edx, dword [0x65ad78]
push eax
push edx
lea eax, [esp + 0x18]
push 0x630a00
push eax
call fcn.005b496b
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 0x663464
call fcn.00447850
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 [0x65ad8c]
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 0x663464
call fcn.00447850
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 0
call fcn.005b7d03
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], 0xffffffff
call fcn.005b7d03
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