Function at 0x41afa6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c54d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x50e7dc]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x50e7dc]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, ecx
push str.CFirefoxBrowser::RefreshHpUrl___start
lea ecx, [esp + 0x3c]
call fcn.00404bd0
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x1fc], ebx
call fcn.004017f5
or dword [esp + 0x1fc], 0xffffffff
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x40]
call fcn.004058b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
test eax, eax
jne 0x41b061
push str.CFirefoxBrowser::RefreshHpUrl___NOT_host_Browser___Exit
lea ecx, [esp + 0x3c]
call fcn.00404bd0
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x1fc], edi
call fcn.004017f5
pop ecx
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.004058b3
push 5
pop eax
jmp 0x41b69c
cmp byte [esi + 0x90], bl
je 0x41b09c
push str.CFirefoxBrowser::RefreshHpUrl___Firefox_is_running.
lea ecx, [esp + 0x3c]
call fcn.00404bd0
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x1fc], 2
call fcn.004017f5
pop ecx
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.004058b3
push 0x15
jmp 0x41b05b
push 7
pop esi
push ebx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], esi
call fcn.00405ece
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0x1fc], 3
call fcn.0041490e
test al, al
je 0x41b68c
cmp dword [esp + 0xdc], ebx
je 0x41b68c
push str.CFirefoxBrowser::RefreshHpUrl__next_profile
lea ecx, [esp + 0x3c]
call fcn.00404bd0
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x200], 4
call fcn.00401985
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x200], 3
call fcn.004058b3
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x158]
call fcn.0042b45c
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], esi
call fcn.00405ece
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], esi
call fcn.00405ece
mov esi, 0x4d51f0
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x1fc], 7
call fcn.00404bd0
push str.HOMEPAGE
lea ecx, [esp + 0x94]
mov byte [esp + 0x1fc], 8
call fcn.00404bd0
push 0x4d7fd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 9
call fcn.00404bd0
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x208], 0xa
call fcn.004082c8
add esp, 0x10
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0x98]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x200], 0xe
call fcn.004058b3
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0xb0]
push eax
lea ebx, [esp + 0xec]
call fcn.0041f0e3
pop ecx
pop ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00404bd0
push str.PARTNER_NAME
lea ecx, [esp + 0x104]
mov byte [esp + 0x1fc], 0xf
call fcn.00404bd0
push str.General
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 0x10
call fcn.00404bd0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x144]
push eax
mov byte [esp + 0x208], 0x11
call fcn.004082c8
add esp, 0x10
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0x60]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0x108]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x15
call fcn.004058b3
push str.CFirefoxBrowser::RefreshHpUrl___szHomepage_before_replace
lea ecx, [esp + 0x3c]
call fcn.00404bd0
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x200], 0x16
call fcn.00401985
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x200], 0x15
call fcn.004058b3
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.0040382a
pop ecx
pop ecx
cmp dword [esp + 0xc0], ebx
je 0x41b646
push ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], 7
call fcn.00405ece
push str.browser.startup.homepage
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1fc], 0x17
call fcn.00404bd0
lea ecx, [esp + 0x90]
push ecx
push eax
lea eax, [esp + 0x15c]
push eax
mov byte [esp + 0x204], 0x18
call fcn.0042bb07
push ebx
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x17
call fcn.004058b3
push str.CFirefoxBrowser::RefreshHpUrl__szHomepage
lea ecx, [esp + 0x1c]
call fcn.00404bd0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x200], 0x19
call fcn.00401985
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x17
call fcn.004058b3
cmp dword [esp + 0xa4], ebx
je 0x41b638
push esi
lea ecx, [esp + 0x78]
call fcn.00404bd0
mov byte [esp + 0x1f8], 0x1a
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], ebx
jae 0x41b3dc
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x18]
call fcn.00404a87
push 0x4e1718
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x200], 0x1b
call fcn.00404aea
mov byte [esp + 0x1f8], 0x1c
jmp 0x41b4ed
xor ebx, ebx
cmp dword [esp + 0x88], ebx
je 0x41b42b
push 0x4e1718
lea ecx, [esp + 0x78]
call fcn.004052dd
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x41b4b0
cmp dword [esp + 0xc4], 8
mov eax, dword [esp + 0xb0]
jae 0x41b44c
lea eax, [esp + 0xb0]
push eax
lea esi, [esp + 0x14]
call fcn.0041befb
test eax, eax
jge 0x41b494
push dword [esp + 0x10]
lea ecx, [esp + 0x1c]
call fcn.00404bd0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x204], 0x1d
call fcn.00405c92
push ebx
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x1c
call fcn.004058b3
jmp 0x41b4ab
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x80]
call fcn.00405c92
mov esi, 0x4d51f0
push 0x4e1718
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x1c]
call fcn.00404aea
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 0x1e
call fcn.00404f48
mov byte [esp + 0x1f8], 0x1c
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff0
call fcn.00401713
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004051d9
test eax, eax
jne 0x41b412
xor esi, esi
cmp dword [esp + 0x88], esi
jne 0x41b5a1
push str.about:home
lea ecx, [esp + 0x104]
call fcn.00404bd0
push str.browser.startup.homepage
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1fc], 0x1f
call fcn.00404bd0
push edi
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x160]
mov byte [esp + 0x204], 0x20
call fcn.0042bbb6
push esi
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x1f
call fcn.004058b3
push str.CFirefoxBrowser::RefreshHpUrl__Homepage_empty_so_set_tp_default
lea ecx, [esp + 0x1c]
call fcn.00404bd0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1fc], 0x21
call fcn.004017f5
pop ecx
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.004058b3
lea ecx, [esp + 0x100]
jmp 0x41b60c
push str.browser.startup.homepage
lea ecx, [esp + 0x1c]
call fcn.00404bd0
push edi
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x160]
mov byte [esp + 0x204], 0x22
call fcn.0042bbb6
push esi
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x200], 0x1c
call fcn.004058b3
push str.CFirefoxBrowser::RefreshHpUrl__Partner_removed
lea ecx, [esp + 0x1c]
call fcn.00404bd0
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x200], 0x23
call fcn.00401985
pop ecx
pop ecx
lea ecx, [esp + 0x18]
push esi
push edi
call fcn.004058b3
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401713
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401713
push esi
push edi
lea ecx, [esp + 0x7c]
call fcn.004058b3
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0x98]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0x140]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0x124]
call fcn.004058b3
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.004058b3
lea ecx, [esp + 0x154]
call fcn.0042b4e1
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0xd0]
call fcn.004058b3
xor eax, eax
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.0049f533
mov esp, ebp
pop ebp
ret