Function at 0x403ab6
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x7d0]
sub esp, 0x850
mov eax, dword [0x411034]
xor eax, ebp
mov dword [ebp + 0x7cc], eax
push ebx
xor ebx, ebx
cmp dword [ebp + 0x7dc], ebx
jne 0x403ae3
xor al, al
jmp 0x403c88
mov eax, dword [ebp + 0x7d8]
mov eax, dword [eax]
cmp eax, ebx
je 0x403af7
cmp byte [eax + 0x1038], bl
je 0x403adc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.COMCTL32.DLL
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x40], 0xff
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitCommonControlsEx
push eax
mov dword [ebp - 0x38], eax
call edi
cmp eax, ebx
je 0x403b2f
lea ecx, [ebp - 0x44]
push ecx
call eax
push str.User32.dll
call esi
push str.MessageBoxW
push eax
mov dword [ebp - 0x3c], eax
call edi
mov esi, eax
cmp esi, ebx
je 0x403b76
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a8
je 0x403b68
cmp eax, 0xd698
je 0x403b68
push ebx
push 0x40ee38
push str.The_HaoZip_program_files_may_be_damaged._nPlease_press__OK__goto_the_Official_Website_n_http:__www.haozip.com___download_the_lastest_version_and_reinstall.
jmp 0x403b73
push ebx
push 0x40eda4
push 0x40edb8
push ebx
call esi
push 0x7fe
lea eax, [ebp - 0x32]
push ebx
push eax
mov word [ebp - 0x34], bx
call fcn.00404d00
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0xc
mov ebx, 0x3fe
push ebx
lea eax, [ebp - 0x34]
push eax
push str._programfiles_Internet_Exploreriexplore.exe
call esi
dec eax
lea edi, [ebx - 1]
cmp eax, edi
ja 0x403bbe
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403bbe
test al, 0x10
je 0x403c05
push ebx
lea eax, [ebp - 0x34]
push eax
push str._programfiles_x86__Internet_Exploreriexplore.exe
call esi
dec eax
cmp eax, edi
ja 0x403be2
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403be2
test al, 0x10
je 0x403c05
cmp dword [ebp - 0x3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x403bf3
push dword [ebp - 0x3c]
call esi
cmp dword [ebp - 0x38], 0
je 0x403bfe
push dword [ebp - 0x38]
call esi
xor al, al
jmp 0x403c86
push 0x38
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00404d00
add esp, 0xc
lea eax, [ebp - 0x34]
push str.Shell32.dll
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], str.http:__www.haozip.com
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
cmp edi, esi
je 0x403c70
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x403c6d
lea ecx, [ebp - 0x80]
push ecx
call eax
push edi
call ebx
cmp dword [ebp - 0x3c], esi
je 0x403c7a
push dword [ebp - 0x3c]
call ebx
cmp dword [ebp - 0x38], esi
je 0x403c84
push dword [ebp - 0x38]
call ebx
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp + 0x7cc]
xor ecx, ebp
pop ebx
call fcn.004042e2
add ebp, 0x7d0
leave
ret 8