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

Disassembly:
push ebp
lea ebp, [esp - 0xa68]
sub esp, 0xa68
push 0xffffffffffffffff
push 0x577d75
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x605580]
xor eax, ebp
mov dword [ebp + 0xa64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xa70]
test ebx, ebx
jne 0x45ce1c
xor al, al
jmp 0x45d074
mov edi, dword [esi]
push edi
mov dword [ebp - 0x14], edi
call fcn.00481805
add esp, 4
test eax, eax
jne 0x45d099
mov eax, dword [edi + 0x2c]
cmp eax, 0x7fffffff
je 0x45d0a0
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp byte [eax + 0x74], 0
jne 0x45ce56
xor bl, bl
jmp 0x45d062
push str.COMCTL32.DLL
mov dword [ebp + 0x54], 8
mov dword [ebp + 0x58], 0xff
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.InitCommonControlsEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ce85
lea ecx, [ebp + 0x54]
push ecx
call eax
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x5f83b8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x45cf0c
mov eax, dword [esi]
cmp dword [eax + 0xa0], 0
je 0x45cf0c
cmp dword [eax + 0x88], 0
je 0x45cf0c
add eax, 0x90
lea ecx, [ebp + 0x3c]
push eax
call fcn.00450320
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
push 0x5f83c4
call fcn.0045b490
push ebx
lea ecx, [ebp + 0x3c]
call fcn.0045b490
mov ecx, dword [esi]
add ecx, 0x78
cmp dword [ecx + 0x14], 7
jbe 0x45ceec
mov ecx, dword [ecx]
cmp dword [ebp + 0x50], 7
lea eax, [ebp + 0x3c]
push 0
cmova eax, dword [ebp + 0x3c]
push ecx
push eax
push 0
call dword [ebp - 0x10]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.00450cc0
push 0x208
lea eax, [ebp + 0x85c]
push 0
push eax
call fcn.00492cb0
mov esi, dword [esi]
add esp, 0xc
add esi, 0xa8
cmp dword [esi + 0x14], 7
jbe 0x45cf32
mov esi, dword [esi]
lea ecx, [ebp + 0x85c]
mov edx, 0x103
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefb]
test eax, eax
je 0x45cf5f
movzx eax, word [esi + ecx]
test ax, ax
je 0x45cf5f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x45cf41
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp + 0x85c], cx
je 0x45d060
push 0x800
push ecx
lea eax, [ebp + 0x5c]
push eax
call fcn.00492cb0
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x5c]
add esp, 0xc
push 0x3fe
push eax
push str._programfiles_Internet_Exploreriexplore.exe
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
dec eax
cmp eax, 0x3fd
ja 0x45cfbe
lea eax, [ebp + 0x5c]
push eax
call esi
cmp eax, 0xffffffff
je 0x45cfbe
test al, 0x10
je 0x45cfe9
push 0x3fe
lea eax, [ebp + 0x5c]
push eax
push str._programfiles_x86__Internet_Exploreriexplore.exe
call ebx
dec eax
cmp eax, 0x3fd
ja 0x45d060
lea eax, [ebp + 0x5c]
push eax
call esi
cmp eax, 0xffffffff
je 0x45d060
test al, 0x10
jne 0x45d060
lea eax, [ebp + 0x5c]
mov dword [ebp], 0x3c
xorps xmm0, xmm0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x85c]
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 0x45d060
push str.ShellExecuteExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45d060
lea ecx, [ebp]
push ecx
call eax
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00481816
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa64]
xor ecx, ebp
call fcn.004883ab
lea esp, [ebp + 0xa68]
pop ebp
ret 4
push 5
call fcn.0048117c
dec eax
push 6
mov dword [edi + 0x2c], eax
call fcn.0048117c
int3