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

Disassembly:
push ebp
lea ebp, [esp - 0xa68]
sub esp, 0xa68
push 0xffffffffffffffff
push 0x5c8a75
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x66e5c0]
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 0x46774c
xor al, al
jmp 0x4679a4
mov edi, dword [esi]
push edi
mov dword [ebp - 0x14], edi
call fcn.0048c716
add esp, 4
test eax, eax
jne 0x4679c9
mov eax, dword [edi + 0x2c]
cmp eax, 0x7fffffff
je 0x4679d0
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp byte [eax + 0x74], 0
jne 0x467786
xor bl, bl
jmp 0x467992
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 0x4677b5
lea ecx, [ebp + 0x54]
push ecx
call eax
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x655c58
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46783c
mov eax, dword [esi]
cmp dword [eax + 0xa0], 0
je 0x46783c
cmp dword [eax + 0x88], 0
je 0x46783c
add eax, 0x90
lea ecx, [ebp + 0x3c]
push eax
call fcn.0044e890
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
push 0x655c50
call fcn.0044e6e0
push ebx
lea ecx, [ebp + 0x3c]
call fcn.0044e6e0
mov ecx, dword [esi]
add ecx, 0x78
cmp dword [ecx + 0x14], 7
jbe 0x46781c
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.0044e770
push 0x208
lea eax, [ebp + 0x85c]
push 0
push eax
call fcn.004ce740
mov esi, dword [esi]
add esp, 0xc
add esi, 0xa8
cmp dword [esi + 0x14], 7
jbe 0x467862
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 0x46788f
movzx eax, word [esi + ecx]
test ax, ax
je 0x46788f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x467871
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp + 0x85c], cx
je 0x467990
push 0x800
push ecx
lea eax, [ebp + 0x5c]
push eax
call fcn.004ce740
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 0x4678ee
lea eax, [ebp + 0x5c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4678ee
test al, 0x10
je 0x467919
push 0x3fe
lea eax, [ebp + 0x5c]
push eax
push str._programfiles_x86__Internet_Exploreriexplore.exe
call ebx
dec eax
cmp eax, 0x3fd
ja 0x467990
lea eax, [ebp + 0x5c]
push eax
call esi
cmp eax, 0xffffffff
je 0x467990
test al, 0x10
jne 0x467990
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 0x467990
push 0x655d2c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x467990
lea ecx, [ebp]
push ecx
call eax
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0048c727
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.004c3ed9
lea esp, [ebp + 0xa68]
pop ebp
ret 4
push 5
call fcn.0048c968
dec eax
push 6
mov dword [edi + 0x2c], eax
call fcn.0048c968
int3