Function at 0x587580
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x690ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7851cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov eax, dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
test eax, eax
je 0x587604
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x5875fe
cmp esi, edx
je 0x587604
sub esi, 2
cmp word [esi], 0x5c
jne 0x5875f1
sub esi, edx
sar esi, 1
jmp 0x587607
or esi, 0xffffffff
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.00652b04
add esp, 8
test eax, eax
jne 0x58773a
cmp esi, 0xffffffff
je 0x587649
push esi
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x20]
call fcn.004537b0
push eax
lea ecx, [ebp - 0x28]
call fcn.00450260
lea ecx, [ebp - 0x44]
call fcn.00448420
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00652b04
add esp, 8
test eax, eax
je 0x587697
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Dest_Does_not_exists__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [ebx + 4]
call fcn.0047e390
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004484e0
mov ecx, ebx
call fcn.0058c090
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00653135
add esp, 4
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x587709
cmp dword [ebp + 0x34], 8
lea edi, [ebp + 0x20]
lea esi, [ebp + 8]
cmovae edi, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
cmovae esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push str.File_Copy_From__S_to__S_Failed_Error___d
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [ebx + 4]
call fcn.0047e390
add esp, 0x20
xor bl, bl
jmp 0x58773c
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push str.File_Copy_Succeeded_Src___S__Dst___S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [ebx + 4]
call fcn.0047e390
add esp, 0x1c
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x587776
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x58776c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58782a
push edx
push ecx
call fcn.0062706d
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x5877c0
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5877b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58782a
push edx
push ecx
call fcn.0062706d
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x58780a
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x587800
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58782a
push edx
push ecx
call fcn.0062706d
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062702c
mov esp, ebp
pop ebp
ret 0x30
call fcn.00646804
int3