Function at 0x5795d0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fcdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 1
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x28]
push eax
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.005dc570
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.005dbc20
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 1
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x34], xmm0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc570
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.005dc5e0
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.005dbed0
lea ecx, [ebp - 0x28]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
jne 0x57995c
lea ecx, [ebp - 0x34]
call fcn.005dc190
or ecx, 0xffffffff
mov edx, ecx
mov ecx, eax
call fcn.005e0f30
test al, al
je 0x57995c
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movlpd qword [ebp - 0x1c], xmm0
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x579723
lea ecx, [ebp - 0x28]
call fcn.005dc190
mov ecx, eax
call fcn.005e0e70
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..tempbk
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov esi, eax
call fcn.005dc190
push eax
lea ecx, [ebp - 0x40]
call fcn.005dc200
push 1
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x579726
mov esi, dword [ebp - 0x1c]
push 0
push esi
push dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.005dc190
mov edx, ebx
mov ecx, eax
call fcn.005b22f0
push eax
lea ecx, [ebp - 0x18]
call fcn.005b0bd0
mov byte [ebp - 4], 3
call fcn.005b0b40
test eax, eax
jne 0x579766
xor ebx, ebx
call fcn.005b0bc0
jmp 0x57995e
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x4c], xmm0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x4c]
call fcn.005dc570
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.005dbf40
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__0__...
lea ecx, [ebp - 0x4c]
call fcn.005dc190
push eax
push str.Updating
lea ecx, [ebp - 0x34]
call fcn.005dc200
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
push 6
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.005b0b60
test eax, eax
jne 0x579881
push 3
lea ecx, [ebp - 0x18]
call fcn.005b0b60
cmp eax, esi
je 0x579860
push 3
lea ecx, [ebp - 0x18]
call fcn.005b0b60
mov esi, eax
lea ecx, [ebp - 0x34]
push esi
call fcn.005db290
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__...
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
push 0x62d7ec
lea ecx, [ebp - 0x4c]
call fcn.005dc190
push eax
push str.Updating
lea ecx, [ebp - 0x34]
call fcn.005dc200
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push 5
push 1
mov ecx, edi
call fcn.005494d0
test eax, eax
jne 0x579881
push 6
lea ecx, [ebp - 0x18]
call fcn.005b0b60
test eax, eax
je 0x5797f4
push 4
lea ecx, [ebp - 0x18]
call fcn.005b0b60
lea ecx, [ebp - 0x28]
cmp eax, 3
jne 0x579907
call fcn.005dc190
mov ecx, eax
call fcn.005b2ed0
xor ebx, ebx
test al, al
setne bl
test al, al
je 0x5798e9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__100__...
lea ecx, [ebp - 0x4c]
call fcn.005dc190
push eax
push str.Updating
lea ecx, [ebp - 0x34]
call fcn.005dc200
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
lea ecx, [ebp - 0x40]
call fcn.005dc3a0
test eax, eax
je 0x57994a
push 2
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
call fcn.005771e0
jmp 0x57994a
cmp eax, 4
mov ebx, 2
mov eax, 0xffffffff
push 2
cmovne ebx, eax
call fcn.005dc190
push eax
call fcn.005771e0
lea ecx, [ebp - 0x40]
call fcn.005dc3a0
test eax, eax
je 0x57994a
push 1
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x4c]
call fcn.005dc430
lea ecx, [ebp - 0x18]
call fcn.005b0bc0
jmp 0x57995e
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.005dc430
lea ecx, [ebp - 0x34]
call fcn.005dc430
lea ecx, [ebp - 0x28]
call fcn.005dc430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc