Function at 0x481cc0
Capabilities:
Query environment variable
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x207c
call fcn.004eba30
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
lea eax, [ebp - 0x207c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x2078], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x481d9a
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481d20
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
mov edx, dword [ebp - 0x207c]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.Start_Page
push edx
call esi
test eax, eax
jne 0x481d81
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481d56
mov ecx, dword [ebp - 0x207c]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.Local_Page
push ecx
call esi
test eax, eax
je 0x481d8b
mov dword [ebp - 0x2078], 1
mov edx, dword [ebp - 0x207c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x481da4
mov dword [ebp - 0x2078], 1
push 0x1000
mov ecx, 0x1c
mov esi, str._USERPROFILE_Application_DataMozillaFirefoxProfiles
lea edi, [ebp - 0x74]
lea eax, [ebp - 0x2074]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x2074]
push ebx
push edx
call fcn.00481690
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2078]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4

Function at 0x481e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.004eba30
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x2008]
push eax
push 0
mov ebx, 1
push ebx
push 0
push 0
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x481ede
lea ecx, [ebp - 0x2010]
push ecx
lea edx, [ebp - 0x2004]
push edx
push eax
push eax
mov eax, dword [ebp - 0x2008]
push str.Start_Page
push eax
mov dword [ebp - 0x2010], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x481ed1
push edi
lea ecx, [ebp - 0x2004]
push ecx
lea ecx, [ebp - 0x200c]
call fcn.00470300
mov edi, dword [ebp - 0x200c]
test esi, esi
je 0x481eb4
cmp dword [edi - 0xc], 0
jl 0x481eb4
push esi
push edi
call fcn.004ec866
add esp, 8
test eax, eax
je 0x481eb4
sub eax, edi
sar eax, 1
js 0x481eb4
xor ebx, ebx
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
test ecx, ecx
jg 0x481ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x2008]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4