Function at 0x429e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x5374e4]
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.0049a810
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 0x429eb0
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x1c]
call fcn.0040dd50
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.0049a810
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 0x429f10
sub edx, dword [ebp - 0xc38]
lea eax, [ebp - 0x824]
sar edx, 1
push edx
push eax
call fcn.0040dd50
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.0049a810
add esp, 0xc
lea eax, [ebp - 0xc34]
push 0x504bf8
push dword [edi + 0x1c]
push eax
call ebx
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.0049a810
add esp, 0xc
lea eax, [ebp - 0xa2c]
push 0x507954
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 0x429fa5
lea eax, [ebp - 0xc34]
push eax
call ebx
test eax, eax
jne 0x429fa5
mov eax, 1
jmp 0x429fa7
xor eax, eax
mov dword [edi + 0x40], eax
test eax, eax
jne 0x42a0cb
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0049a810
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0049a810
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x61c]
add esp, 0x18
push 0x504bf8
push dword [edi + 0x1c]
push eax
call ebx
call fcn.00415cf0
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 0x42a021
sub edx, dword [ebp - 0xc38]
lea eax, [ebp - 0x20c]
sar edx, 1
push edx
push eax
call fcn.0040dd50
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049a810
push 0x104
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0049a810
add esp, 0x18
lea eax, [ebp - 0x61c]
push str.updateComputerZ_CN.exe
push dword [edi + 0x1c]
push eax
call ebx
call fcn.00415cf0
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 0x42a0a5
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
push edx
push eax
call fcn.0040dd50
mov ecx, edi
call fcn.00429af0
mov dword [edi + 0x44], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a581
mov esp, ebp
pop ebp
ret