Function at 0x4047d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f06d9
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x521284]
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 esi, ecx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x90]
push 8
xor eax, eax
mov dword [ebp - 0x90], 0
push str.auphd:__
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.00402a90
lea edi, [esi + 0x1c]
mov dword [ebp - 4], 0
push edi
lea ecx, [esi + 4]
lea edx, [ebp - 0x90]
call fcn.00421030
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00402a30
push str.Arguments_specified_are:
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x1e
call fcn.004067a0
mov eax, dword [edi]
add esp, 0x18
mov esi, dword [eax]
cmp esi, eax
je 0x404920
nop dword [eax]
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x4048ab
mov eax, dword [eax]
cmp dword [esi + 0x24], 8
lea ecx, [esi + 0x10]
jb 0x4048b6
mov ecx, dword [ecx]
push eax
push ecx
push str.Argument:__s_s
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x1e
call fcn.004067a0
mov eax, dword [esi + 8]
add esp, 0x20
cmp byte [eax + 0xd], 0
je 0x404904
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x404900
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x404900
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4048f0
mov esi, eax
jmp 0x40491c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40491c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x404910
cmp esi, dword [edi]
jne 0x4048a0
push 7
xor eax, eax
mov dword [ebp - 0xac], 0
push str.sapCode
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
call fcn.00402a90
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb8]
mov ebx, 1
push eax
mov ecx, edi
mov dword [ebp - 0x48], ebx
call fcn.00403b80
mov esi, dword [ebp - 0xb0]
cmp byte [esi + 0xd], 0
jne 0x404b7a
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x404999
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x98], 8
lea ecx, [ebp - 0xac]
push edx
cmovae ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0x9c]
call fcn.00403f20
shr eax, 0x1f
add esp, 8
test al, al
jne 0x404b7a
cmp esi, dword [edi]
je 0x404b7a
push 0xb
xor eax, eax
mov dword [ebp - 0x78], 0
push str.baseVersion
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.00402a90
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xb8]
mov ebx, 3
push eax
mov ecx, edi
mov dword [ebp - 0x48], ebx
call fcn.00403b80
mov esi, dword [ebp - 0xb0]
cmp byte [esi + 0xd], 0
jne 0x404a5e
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x404a35
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x78]
push edx
cmovae ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x68]
call fcn.00403f20
shr eax, 0x1f
add esp, 8
test al, al
jne 0x404a5e
cmp esi, dword [edi]
jne 0x404af2
push 0xc
xor eax, eax
mov dword [ebp - 0x60], 0
push str.codexVersion
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.00402a90
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0xb8]
mov ebx, 7
push eax
mov ecx, edi
mov dword [ebp - 0x48], ebx
call fcn.00403b80
mov esi, dword [ebp - 0xb0]
cmp byte [esi + 0xd], 0
jne 0x404b7a
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x404ac5
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
push edx
cmovae ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
call fcn.00403f20
shr eax, 0x1f
add esp, 8
test al, al
jne 0x404b7a
cmp esi, dword [edi]
je 0x404b7a
push 8
push str.platform
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
call fcn.00402a90
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
lea eax, [ebp - 0xb8]
or ebx, 8
push eax
call fcn.00403b80
mov esi, dword [ebp - 0xb0]
cmp byte [esi + 0xd], 0
jne 0x404b7a
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x404b4c
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x90]
push edx
cmovae ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x80]
call fcn.00403f20
shr eax, 0x1f
add esp, 8
test al, al
jne 0x404b7a
mov byte [ebp - 0x41], al
cmp esi, dword [edi]
jne 0x404b7e
mov byte [ebp - 0x41], 1
test bl, 8
je 0x404b91
lea ecx, [ebp - 0x90]
and ebx, 0xfffffff7
call fcn.00402a30
test bl, 4
je 0x404ba1
lea ecx, [ebp - 0x60]
and ebx, 0xfffffffb
call fcn.00402a30
test bl, 2
je 0x404bb1
lea ecx, [ebp - 0x78]
and ebx, 0xfffffffd
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x404bc8
lea ecx, [ebp - 0xac]
call fcn.00402a30
cmp byte [ebp - 0x41], 0
je 0x404bf6
push str.Either_of_the_three_required_arguments_sapCode__platform___baseVersion_OR_codexVersion__is_missing.
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x14
call fcn.004067a0
add esp, 0x18
jmp 0x404df4
xor eax, eax
mov dword [ebp - 0x28], 0
push eax
push 0x50cdf8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402a90
mov edi, dword [ebp - 0x94]
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.004061a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov bl, al
cmovae ecx, dword [ebp - 0x28]
push ecx
push str.Latest_installed_version_with_the_details_passed_is:__s
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x1e
call fcn.004067a0
add esp, 0x1c
test bl, bl
je 0x404c9f
push str.Product_is_Non_CC._Launching_HDUpdater
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x1e
call fcn.004067a0
add esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00405280
jmp 0x404dec
lea ecx, [ebp - 0x40]
call fcn.004056d0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404cf9
call fcn.004ca320
test al, al
je 0x404cf9
push str.Launching_ACC.
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x1e
call fcn.004067a0
add esp, 0x18
mov ecx, edi
call fcn.00404e10
jmp 0x404de4
push str.CCD_is_either_not_available_or_is_disabled_on_the_machine._Hence_updates_cannot_be_applied
push 0x50cdf8
push 0x50cdf8
push str.UpdateURIHandler
push str.UpdateURIHandler
push 0x1e
call fcn.004067a0
add esp, 0x18
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
push 0xb
push str.DialogTitle
call fcn.00402a90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
push 0xf
xor eax, eax
mov dword [ebp - 0x78], 0
push str.UpdatesDisabled
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.00402a90
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xdc]
mov ecx, edi
push eax
call fcn.00406040
mov esi, eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xc4]
mov ecx, edi
push eax
call fcn.00406040
cmp dword [esi + 0x14], 8
jb 0x404daa
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x404db2
mov eax, dword [eax]
push 0x30
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0xc4]
call fcn.00402a30
lea ecx, [ebp - 0xdc]
call fcn.00402a30
lea ecx, [ebp - 0x78]
call fcn.00402a30
lea ecx, [ebp - 0x60]
call fcn.00402a30
lea ecx, [ebp - 0x40]
call fcn.00402a30
lea ecx, [ebp - 0x28]
call fcn.00402a30
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.004cc21a
mov esp, ebp
pop ebp
ret