Function at 0x423920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5737e6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5bd250]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x5bd250]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
call fcn.00420950
test eax, eax
je 0x423ba7
push dword [esi + 0xc0]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
mov dword [esp + 0x268], ebx
push 0x208
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call fcn.0053e230
add esp, 0xc
cmp dword [esi + 0x90], ebx
je 0x4239fa
cmp dword [esi + 0x94], 8
lea edi, [esi + 0x80]
jb 0x4239bd
mov edi, dword [edi]
lea ecx, [esp + 0x44]
mov edx, 0x104
mov eax, ecx
sub edi, eax
lea ebx, [ebx]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4239ee
movzx eax, word [edi + ecx]
test ax, ax
je 0x4239ee
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4239d0
jmp 0x4239f2
test edx, edx
jne 0x4239f5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.InstallerUpdate.exe
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x24], 0
je 0x423b70
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [esp + 0x14]
push eax
call ebx
test eax, eax
je 0x423b6e
cmp dword [esi + 0xc0], 0
je 0x423b28
cmp dword [esp + 0x28], 8
lea edi, [esp + 0x14]
cmovae edi, dword [esp + 0x14]
push edi
call ebx
test eax, eax
je 0x423a70
mov ecx, edi
call fcn.00422ae0
test eax, eax
jne 0x423b21
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x44]
push 0
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push ecx
push eax
call fcn.00412060
add esp, 0xc
lea eax, [esp + 0x44]
lea ecx, [esi + 8]
push eax
call fcn.0041b8c0
push str._update:
lea ecx, [esp + 0x30]
call fcn.00420610
push 0x599890
lea ecx, [esp + 0x30]
mov byte [esp + 0x26c], 1
call fcn.0041b930
cmp dword [esi + 0x90], 0
je 0x423af8
push 0x599894
lea ecx, [esp + 0x30]
call fcn.0041b930
push 0x599898
lea ecx, [esp + 0x30]
call fcn.0041b930
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x80]
push eax
lea ecx, [esp + 0x38]
call fcn.0041c830
cmp dword [esp + 0x40], 8
lea edx, [esp + 0x2c]
push ecx
cmovae edx, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push 0x7530
call fcn.00412d20
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.0041fc50
mov ebx, 1
jmp 0x423b55
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x44]
push 0
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push ecx
push eax
call fcn.00412060
add esp, 0xc
lea eax, [esp + 0x44]
lea ecx, [esi + 8]
push eax
call fcn.0041b8c0
xor ebx, ebx
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call fcn.00412670
add esp, 4
jmp 0x423b70
xor ebx, ebx
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x423b8e
push dword [esp + 0x14]
call fcn.0053ce3a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jmp 0x423bae
mov ecx, esi
call fcn.00421780
cmp dword [esi + 0xbc], 0
je 0x423bc5
mov edx, dword [esi]
mov ecx, esi
push 0
push 0x40000
call dword [edx + 0x14]
mov eax, ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret