Function at 0x5d8dc0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67e7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x759454]
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
mov edi, 7
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov esi, dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
test esi, esi
je 0x5d8e47
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x5d8e41
cmp ecx, edx
je 0x5d8e47
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x5d8e34
sub ecx, edx
sar ecx, 1
jmp 0x5d8e4a
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x5d8e94
xor eax, eax
mov dword [ebp - 0x34], 0
cmp esi, ecx
mov word [ebp - 0x44], ax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x30], 7
cmovb ecx, esi
cmp dword [ebp + 0x34], 8
push ecx
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x44]
push eax
call fcn.00458940
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a1f0
lea ecx, [ebp - 0x44]
call fcn.00442470
mov edi, dword [ebp - 0x14]
cmp edi, 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00616202
add esp, 8
test eax, eax
je 0x5d8ee1
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.00511a90
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00442530
mov ecx, ebx
call fcn.005dd4c0
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00615fb3
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 0x5d8f53
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.00511a90
add esp, 0x20
xor bl, bl
jmp 0x5d8f86
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.00511a90
add esp, 0x1c
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5d8fc0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5d8fb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d9074
push edx
push ecx
call fcn.005e984c
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 0x5d900a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5d9000
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d9074
push edx
push ecx
call fcn.005e984c
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 0x5d9054
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5d904a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d9074
push edx
push ecx
call fcn.005e984c
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.005e980b
mov esp, ebp
pop ebp
ret 0x30
call fcn.00608584
int3