Function at 0x423970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56ef66
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5b8250]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x5b8250]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
call fcn.004209a0
test eax, eax
je 0x423bf7
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.005392b0
add esp, 0xc
cmp dword [esi + 0x90], ebx
je 0x423a4a
cmp dword [esi + 0x94], 8
lea edi, [esi + 0x80]
jb 0x423a0d
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 0x423a3e
movzx eax, word [edi + ecx]
test ax, ax
je 0x423a3e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x423a20
jmp 0x423a42
test edx, edx
jne 0x423a45
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 0x423bc0
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 0x423bbe
cmp dword [esi + 0xc0], 0
je 0x423b78
cmp dword [esp + 0x28], 8
lea edi, [esp + 0x14]
cmovae edi, dword [esp + 0x14]
push edi
call ebx
test eax, eax
je 0x423ac0
mov ecx, edi
call fcn.00422b30
test eax, eax
jne 0x423b71
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.0041b980
push str._update:
lea ecx, [esp + 0x30]
call fcn.00420660
push 0x594a90
lea ecx, [esp + 0x30]
mov byte [esp + 0x26c], 1
call fcn.0041b9f0
cmp dword [esi + 0x90], 0
je 0x423b48
push 0x594a94
lea ecx, [esp + 0x30]
call fcn.0041b9f0
push 0x594a98
lea ecx, [esp + 0x30]
call fcn.0041b9f0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x80]
push eax
lea ecx, [esp + 0x38]
call fcn.0041c8f0
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.0041fca0
mov ebx, 1
jmp 0x423ba5
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.0041b980
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 0x423bc0
xor ebx, ebx
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x423bde
push dword [esp + 0x14]
call fcn.005385cc
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jmp 0x423bfe
mov ecx, esi
call fcn.004217d0
cmp dword [esi + 0xbc], 0
je 0x423c15
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.0053aa3c
mov esp, ebp
pop ebp
ret