Function at 0x436310
Capabilities:
Create shortcut via ishelllink
Query environment variable

Disassembly:
sub esp, 0x600
push ebx
push ebp
mov ebp, dword [esp + 0x60c]
push esi
test ebp, ebp
push edi
je 0x4366ad
mov eax, dword [esp + 0x618]
test eax, eax
je 0x4366ad
mov eax, dword [esp + 0x61c]
test eax, eax
je 0x4366ad
mov eax, dword [esp + 0x620]
test eax, eax
je 0x4366ad
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
mov esi, ecx
push eax
inc esi
push esi
push ebp
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea edi, [ebx + ebx + 2]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x14], edx
je 0x4366ad
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
xor ebx, ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push eax
push esi
push ebp
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4366ad
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x3cc]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x24]
push ecx
push edx
push eax
push ebp
mov dword [esp + 0x30], 0x104
call sub.msi.dll_MsiEnumComponentCostsA
mov ebp, eax
cmp ebp, ebx
jne 0x43643b
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3cc]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.msi.dll_MsiAdvertiseScriptA
lea edx, [esp + 0x10]
mov ecx, 0x4f
push edx
push 0x44089c
xor eax, eax
lea edi, [esp + 0x4dc]
push 1
mov dword [esp + 0x4dc], ebx
push ebx
push 0x4408ac
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43668b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x4408d0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x436681
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x436677
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xb5]
mov byte [esp + 0xb4], 0
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x1bd]
mov byte [esp + 0x1bc], al
mov byte [esp + 0x2c4], al
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x2c5]
lea edx, [esp + 0x4d0]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push edx
lea edx, [esp + 0xbc]
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x436677
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
inc esi
push esi
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x61c]
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [edx], edi
je 0x436677
mov ecx, esi
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
lea edi, [esp + 0xb4]
jne 0x436569
lea edi, [esp + 0x3cc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov eax, ecx
mov esi, edi
mov edi, dword [edx]
lea edx, [esp + 0x1c0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jl 0x436601
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
inc esi
push esi
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x620]
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [edx], edi
je 0x436601
mov ecx, esi
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c4]
push 0x104
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x43666f
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push ebx
lea eax, [esp + 0x2c8]
push ebx
push eax
call ebp
lea esi, [eax + 1]
push esi
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x624]
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [edx], edi
je 0x43666f
mov ecx, esi
xor eax, eax
mov ebx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [edx]
lea edx, [esp + 0x2c8]
push ecx
push edx
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x600
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x600
ret