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

Disassembly:
push ebp
lea ebp, [esp - 0x7d0]
sub esp, 0x850
mov eax, dword [0x41102c]
xor eax, ebp
mov dword [ebp + 0x7cc], eax
push ebx
xor ebx, ebx
cmp dword [ebp + 0x7dc], ebx
jne 0x402b3c
xor al, al
jmp 0x402ce1
mov eax, dword [ebp + 0x7d8]
mov eax, dword [eax]
cmp eax, ebx
je 0x402b50
cmp byte [eax + 0x1038], bl
je 0x402b35
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 0x402b88
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 0x402bcf
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a8
je 0x402bc1
cmp eax, 0xd698
je 0x402bc1
push ebx
push str.HaoZip
push str.The_HaoZip_program_files_may_be_damaged._nPlease_press__OK__goto_the_Official_Website_n_http:__haozip.2345.com___download_the_lastest_version_and_reinstall.
jmp 0x402bcc
push ebx
push str.2345
push 0x40ed58
push ebx
call esi
push 0x7fe
lea eax, [ebp - 0x32]
push ebx
push eax
mov word [ebp - 0x34], bx
call fcn.00404db0
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 0x402c17
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402c17
test al, 0x10
je 0x402c5e
push ebx
lea eax, [ebp - 0x34]
push eax
push str._programfiles_x86__Internet_Exploreriexplore.exe
call esi
dec eax
cmp eax, edi
ja 0x402c3b
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402c3b
test al, 0x10
je 0x402c5e
cmp dword [ebp - 0x3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x402c4c
push dword [ebp - 0x3c]
call esi
cmp dword [ebp - 0x38], 0
je 0x402c57
push dword [ebp - 0x38]
call esi
xor al, al
jmp 0x402cdf
push 0x38
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00404db0
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:__haozip.2345.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 0x402cc9
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x402cc6
lea ecx, [ebp - 0x80]
push ecx
call eax
push edi
call ebx
cmp dword [ebp - 0x3c], esi
je 0x402cd3
push dword [ebp - 0x3c]
call ebx
cmp dword [ebp - 0x38], esi
je 0x402cdd
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.004042d7
add ebp, 0x7d0
leave
ret 8