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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e66fc
mov eax, dword fs:[0]
push eax
mov eax, 0x28b4
call fcn.005b8630
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
mov dword [ebp - 0x28b4], 0
lea eax, [ebp - 0x2218]
push ebx
push eax
call fcn.005b9c20
add esp, 0xc
mov eax, 0x22
mov word [ebp - 0x2218], ax
test esi, esi
je 0x4bc666
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4bc666
push esi
call edi
cmp eax, 0xffa
jge 0x4bc666
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2218]
push eax
call esi
push str._234
lea eax, [ebp - 0x2218]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2860]
call fcn.00408ef0
lea eax, [ebp - 0x2860]
mov dword [ebp - 4], ebx
push eax
call fcn.004d9190
mov ecx, eax
call fcn.004d9250
lea ecx, [ebp - 0x2860]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00408ff0
test esi, esi
je 0x4bc666
push 0x629144
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28b8], eax
test eax, eax
je 0x4bc666
lea ecx, [ebp - 0x2848]
call fcn.004bbe30
xor edi, edi
lea esi, [ebp - 0x2848]
cmp word [esi], 0
je 0x4bc3aa
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x28b8]
cmp eax, 0x20
ja 0x4bc3b8
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4bc386
jmp 0x4bc3da
imul ebx, edi, 0x210
cmp dword [ebp + ebx - 0x2640], 0
mov ebx, dword [ebp + ebx - 0x263c]
jne 0x4bc3d2
add ebx, 0x10
test ebx, ebx
jne 0x4bc662
lea ecx, [ebp - 0x28bc]
call fcn.004d8e70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2860]
push 4
xor eax, eax
mov dword [ebp - 0x2850], 0
push 0x629138
mov dword [ebp - 0x284c], 7
mov word [ebp - 0x2860], ax
call fcn.00409060
lea eax, [ebp - 0x2860]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28a8]
mov dword [ebp - 0x28b4], 1
push eax
call fcn.004d9000
mov edx, eax
mov ecx, 0x618d2c
mov dword [ebp - 4], 3
mov eax, 3
mov dword [ebp - 0x28b0], eax
mov dword [ebp - 0x28b4], eax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bc460
sub ecx, esi
mov esi, edx
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x4bc479
mov esi, dword [edx]
mov edx, dword [edx + 0x10]
cmp edx, ecx
jne 0x4bc4ad
mov ecx, 0x618d2c
test edx, edx
je 0x4bc532
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4bc4ad
add ecx, 2
sub edx, 1
jne 0x4bc490
mov byte [ebp - 0x28a9], 1
jmp 0x4bc542
push str.https
lea ecx, [ebp - 0x2878]
call fcn.00408ef0
lea eax, [ebp - 0x2878]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x2890]
mov dword [ebp - 0x28b4], 7
push eax
call fcn.004d9000
mov ecx, 0x618d2c
mov edx, eax
mov eax, 0xf
mov dword [ebp - 0x28b0], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bc4f6
sub ecx, esi
mov esi, edx
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x4bc50f
mov esi, dword [edx]
mov edx, dword [edx + 0x10]
cmp edx, ecx
jne 0x4bc53b
mov ecx, 0x618d2c
test edx, edx
je 0x4bc532
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4bc53b
add ecx, 2
sub edx, 1
jne 0x4bc521
mov byte [ebp - 0x28a9], 1
jmp 0x4bc542
mov byte [ebp - 0x28a9], 0
mov eax, dword [ebp - 0x28b0]
test al, 8
je 0x4bc566
and eax, 0xfffffff7
lea ecx, [ebp - 0x2890]
mov dword [ebp - 0x28b0], eax
call fcn.00408ff0
mov eax, dword [ebp - 0x28b0]
test al, 4
je 0x4bc575
lea ecx, [ebp - 0x2878]
call fcn.00408ff0
lea ecx, [ebp - 0x28a8]
call fcn.00408ff0
lea ecx, [ebp - 0x2860]
mov dword [ebp - 4], 1
call fcn.00408ff0
cmp byte [ebp - 0x28a9], 0
mov edi, dword [ebp - 0x28b8]
jne 0x4bc5c2
push 1
push 0
push 0
lea eax, [ebp - 0x2218]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
mov ecx, 0x10
cmova ebx, ecx
lea ecx, [ebp - 0x28bc]
mov dword [ebp - 4], 0xffffffff
call fcn.004d8f50
test ebx, ebx
jne 0x4bc662
mov dword [ebp - 0x28c0], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x28bc], str._programfiles_Internet_Exploreriexplore.exe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
push dword [ebp + esi*4 - 0x28c0]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4bc653
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4bc65d
inc esi
cmp esi, 2
jb 0x4bc5f2
mov eax, ebx
jmp 0x4bc668
mov ebx, 0x10
mov eax, ebx
jmp 0x4bc668
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret