Function at 0x423860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x572426
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5bb250]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x5bb250]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
call fcn.00420890
test eax, eax
je 0x423ae7
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.0053ca90
add esp, 0xc
cmp dword [esi + 0x90], ebx
je 0x42393a
cmp dword [esi + 0x94], 8
lea edi, [esi + 0x80]
jb 0x4238fd
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 0x42392e
movzx eax, word [edi + ecx]
test ax, ax
je 0x42392e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x423910
jmp 0x423932
test edx, edx
jne 0x423935
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 0x423ab0
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 0x423aae
cmp dword [esi + 0xc0], 0
je 0x423a68
cmp dword [esp + 0x28], 8
lea edi, [esp + 0x14]
cmovae edi, dword [esp + 0x14]
push edi
call ebx
test eax, eax
je 0x4239b0
mov ecx, edi
call fcn.00422a20
test eax, eax
jne 0x423a61
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.0041b870
push str._update:
lea ecx, [esp + 0x30]
call fcn.00420550
push 0x597860
lea ecx, [esp + 0x30]
mov byte [esp + 0x26c], 1
call fcn.0041b8e0
cmp dword [esi + 0x90], 0
je 0x423a38
push 0x597864
lea ecx, [esp + 0x30]
call fcn.0041b8e0
push 0x597868
lea ecx, [esp + 0x30]
call fcn.0041b8e0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x80]
push eax
lea ecx, [esp + 0x38]
call fcn.0041c7e0
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.0041fb90
mov ebx, 1
jmp 0x423a95
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.0041b870
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 0x423ab0
xor ebx, ebx
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x423ace
push dword [esp + 0x14]
call fcn.0053ba8c
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jmp 0x423aee
mov ecx, esi
call fcn.004216c0
cmp dword [esi + 0xbc], 0
je 0x423b05
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.0053e21c
mov esp, ebp
pop ebp
ret