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

Disassembly:
push ebp
lea ebp, [esp - 0xa6c]
sub esp, 0xa6c
push 0xffffffffffffffff
push 0x519610
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp + 0xa68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 0xa74]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x42df36
mov ebx, dword [esi]
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x5c], ebx
test ebx, ebx
je 0x42df08
mov eax, dword [ebx]
test eax, eax
je 0x42df08
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp byte [eax + 0x48], 0
jne 0x42df3d
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x42df36
mov eax, dword [ebx]
test eax, eax
je 0x42df2f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x5c], 0
xor al, al
jmp 0x42e277
push str.COMCTL32.DLL
mov dword [ebp + 0x3c], 8
mov dword [ebp + 0x40], 0xff
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x5421ac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42df6c
lea ecx, [ebp + 0x3c]
push ecx
call eax
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x5421cc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42e0e0
mov eax, dword [esi]
cmp dword [eax + 0x74], 0
je 0x42e0e0
cmp dword [eax + 0x5c], 0
je 0x42e0e0
add eax, 0x64
lea ecx, [ebp + 0x44]
push eax
call fcn.00402290
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x58]
mov eax, edx
mov ecx, dword [ebp + 0x54]
sub eax, ecx
cmp eax, 2
jb 0x42dff4
cmp edx, 8
lea esi, [ebp + 0x44]
push 4
cmovae esi, dword [ebp + 0x44]
lea edi, [ecx + 2]
push 0x5421c4
mov dword [ebp + 0x54], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004f3f40
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jmp 0x42e00c
push 2
push 0x5421c4
mov byte [ebp - 0x10], 0
lea ecx, [ebp + 0x44]
push dword [ebp - 0x10]
push 2
call fcn.00404dc0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e011
mov eax, dword [ebp + 0x58]
sub ecx, edx
mov edx, dword [ebp + 0x54]
sub eax, edx
sar ecx, 1
cmp ecx, eax
ja 0x42e05b
cmp dword [ebp + 0x58], 8
lea esi, [ebp + 0x44]
lea eax, [ecx + ecx]
cmovae esi, dword [ebp + 0x44]
lea edi, [edx + ecx]
push eax
push dword [ebp - 0x14]
mov dword [ebp + 0x54], edi
lea eax, [esi + edx*2]
push eax
call fcn.004f3f40
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x18]
jmp 0x42e06d
push ecx
push edi
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x44]
call fcn.00404dc0
mov ecx, dword [esi]
add ecx, 0x4c
cmp dword [ecx + 0x14], 8
jb 0x42e07a
mov ecx, dword [ecx]
cmp dword [ebp + 0x58], 8
lea eax, [ebp + 0x44]
push 0
cmovae eax, dword [ebp + 0x44]
push ecx
push eax
push 0
call dword [ebp - 0x1c]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x58]
cmp edx, 8
jb 0x42e0cc
mov ecx, dword [ebp + 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e29c
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp + 0x54], 0
mov dword [ebp + 0x58], 7
mov word [ebp + 0x44], ax
push 0x208
lea eax, [ebp + 0x860]
push 0
push eax
call fcn.004f44c0
mov edi, dword [esi]
add esp, 0xc
cmp dword [edi + 0x90], 8
lea esi, [edi + 0x7c]
jb 0x42e106
mov esi, dword [esi]
lea ecx, [ebp + 0x860]
mov edx, 0x103
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefb]
test eax, eax
je 0x42e133
movzx eax, word [ecx + esi]
test ax, ax
je 0x42e133
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42e115
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp + 0x860], cx
je 0x42e256
cmp byte [edi + 0x94], cl
je 0x42e16e
lea ecx, [ebp + 0x860]
call fcn.0041bc10
xor eax, eax
mov word [ebp + 0x860], ax
jmp 0x42e256
push 0x800
lea eax, [ebp + 0x60]
push 0
push eax
call fcn.004f44c0
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x60]
add esp, 0xc
push 0x3fe
push eax
push str._programfiles_Internet_Exploreriexplore.exe
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
dec eax
cmp eax, 0x3fd
ja 0x42e1b4
lea eax, [ebp + 0x60]
push eax
call esi
cmp eax, 0xffffffff
je 0x42e1b4
test al, 0x10
je 0x42e1df
push 0x3fe
lea eax, [ebp + 0x60]
push eax
push str._programfiles_x86__Internet_Exploreriexplore.exe
call edi
dec eax
cmp eax, 0x3fd
ja 0x42e256
lea eax, [ebp + 0x60]
push eax
call esi
cmp eax, 0xffffffff
je 0x42e256
test al, 0x10
jne 0x42e256
lea eax, [ebp + 0x60]
mov dword [ebp], 0x3c
xorps xmm0, xmm0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x860]
movlpd qword [ebp + 0x20], xmm0
push str.Shell32.dll
movlpd qword [ebp + 0x28], xmm0
movlpd qword [ebp + 0x30], xmm0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 1
mov dword [ebp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x42e256
push str.ShellExecuteExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e256
lea ecx, [ebp]
push ecx
call eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x42e275
mov eax, dword [ebx]
test eax, eax
je 0x42e26e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x5c], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa68]
xor ecx, ebp
call fcn.004f110c
lea esp, [ebp + 0xa6c]
pop ebp
ret 4
call fcn.004f74d9
int3