Function at 0x427500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x4e949c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call esi
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427570
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x1c]
call fcn.0040c380
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00464a00
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x824]
add esp, 0xc
push str.ComputerZ.set
push dword [edi + 0x1c]
push eax
call ebx
lea edx, [ebp - 0x824]
lea eax, [edx + 2]
lea ecx, [edi + 0x20]
mov dword [ebp - 0xc38], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4275d0
sub edx, dword [ebp - 0xc38]
lea eax, [ebp - 0x824]
sar edx, 1
push edx
push eax
call fcn.0040c380
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0xc34]
push 0x4c2698
push dword [edi + 0x1c]
push eax
call ebx
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0xa2c]
push 0x4c5348
push dword [edi + 0x1c]
push eax
call ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa2c]
push eax
call ebx
test eax, eax
je 0x427665
lea eax, [ebp - 0xc34]
push eax
call ebx
test eax, eax
jne 0x427665
mov eax, 1
jmp 0x427667
xor eax, eax
mov dword [edi + 0x40], eax
test eax, eax
jne 0x42778b
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00464a00
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00464a00
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x61c]
add esp, 0x18
push 0x4c2698
push dword [edi + 0x1c]
push eax
call ebx
call fcn.00413ec0
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x61c]
push edx
push eax
call dword [ecx + 4]
lea edx, [ebp - 0x20c]
lea eax, [edx + 2]
lea ecx, [edi + 0x24]
mov dword [ebp - 0xc38], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4276e1
sub edx, dword [ebp - 0xc38]
lea eax, [ebp - 0x20c]
sar edx, 1
push edx
push eax
call fcn.0040c380
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00464a00
push 0x104
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00464a00
add esp, 0x18
lea eax, [ebp - 0x61c]
push str.updateComputerZ_CN.exe
push dword [edi + 0x1c]
push eax
call ebx
call fcn.00413ec0
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x61c]
push edx
push eax
call dword [ecx + 4]
lea edx, [ebp - 0x20c]
lea ecx, [edi + 0x28]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x427765
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
push edx
push eax
call fcn.0040c380
mov ecx, edi
call fcn.00427120
mov dword [edi + 0x44], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462391
mov esp, ebp
pop ebp
ret