Function at 0x546000
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6056b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6c2d9c]
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 0x546084
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x54607e
cmp esi, edx
je 0x546084
sub esi, 2
cmp word [esi], 0x5c
jne 0x546071
sub esi, edx
sar esi, 1
jmp 0x546087
or esi, 0xffffffff
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.00587fa6
add esp, 8
test eax, eax
jne 0x5461ba
cmp esi, 0xffffffff
je 0x5460c9
push esi
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x20]
call fcn.00443db0
push eax
lea ecx, [ebp - 0x28]
call fcn.004408d0
lea ecx, [ebp - 0x44]
call fcn.004389a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00587fa6
add esp, 8
test eax, eax
je 0x546117
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.004ae670
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00438a60
mov ecx, ebx
call fcn.0054a9e0
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00587d0b
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 0x546189
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.004ae670
add esp, 0x20
xor bl, bl
jmp 0x5461bc
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.004ae670
add esp, 0x1c
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5461f6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5461ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5462aa
push edx
push ecx
call fcn.0055d3b2
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 0x546240
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x546236
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5462aa
push edx
push ecx
call fcn.0055d3b2
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 0x54628a
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x546280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5462aa
push edx
push ecx
call fcn.0055d3b2
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.0055d371
mov esp, ebp
pop ebp
ret 0x30
call fcn.0057bc5b
int3