Function at 0x10001c80
Capabilities:
Get common file path
Set registry value

Disassembly:
sub esp, 0x478
push ebx
push ebp
push esi
push edi
call fcn.100065c9
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
mov ecx, 0x15
mov esi, str.SoftwareMicrosoftInternet_ExplorerExtensions06926B30_424E_4f1c_8EE3_543CD96573DC
lea edi, [esp + 0x124]
lea eax, [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
push 0x104
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
or ecx, 0xffffffff
lea edi, [esp + 0x17c]
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x1000b164
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x490]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x384]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x17c]
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str._seinweb.dll
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x17c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x280]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x280]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._1004
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._1003
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
push esi
push 0xf003f
push esi
push esi
lea edx, [esp + 0x13c]
push esi
push edx
push 0x80000002
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10001e7f
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.1FBA04EE_3024_11D2_8F1F_0000F87ABD16
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push str.1FBA04EE_3024_11D2_8F1F_0000F87ABD16
push 1
push 0
push str.CLSID
push esi
call ebx
push 0x1000b110
call edi
inc eax
push eax
push 0x1000b110
push 1
push 0
push str.Default_Visible
push esi
call ebx
mov ebp, dword [esp + 0x48c]
push ebp
call edi
inc eax
push eax
push ebp
push 1
push 0
push str.ButtonText
push esi
call ebx
lea eax, [esp + 0x20]
push eax
call edi
inc eax
lea ecx, [esp + 0x20]
push eax
push ecx
push 1
push 0
push str.Icon
push esi
call ebx
lea edx, [esp + 0x280]
push edx
call edi
inc eax
push eax
lea eax, [esp + 0x284]
push eax
push 1
push 0
push str.HotIcon
push esi
call ebx
lea ecx, [esp + 0x384]
push ecx
call edi
inc eax
lea edx, [esp + 0x384]
push eax
push edx
push 1
push 0
push str.Exec
push esi
call ebx
test esi, esi
je 0x10001f5a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword [eax + 4], ecx
mov eax, 1
add esp, 0x478
ret 8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [edx + 4], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x478
ret 8