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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5ba4
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x50e7dc]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x50e7dc]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov edi, ecx
push str.CFirefoxBrowser::ResetHP___start
lea ecx, [esp + 0x68]
mov dword [esp + 0x48], edi
call fcn.00404bd0
lea eax, [esp + 0x64]
xor ebx, ebx
push eax
mov dword [esp + 0x1b4], ebx
call fcn.004017f5
or dword [esp + 0x1b4], 0xffffffff
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x6c]
call fcn.004058b3
cmp byte [edi + 0x90], bl
je 0x41707d
push str.CFirefoxBrowser::ResetHP___Firefox_is_running.
lea ecx, [esp + 0x68]
call fcn.00404bd0
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x1b4], esi
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0x6c]
call fcn.004058b3
push 0x15
pop eax
jmp 0x417998
push 7
pop edi
push ebx
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf0], edi
call fcn.00405ece
lea eax, [esp + 0xd4]
push eax
mov dword [esp + 0x1b4], 2
mov byte [esp + 0x1b], bl
call fcn.0041490e
test al, al
je 0x417988
push str.CFirefoxBrowser::ResetHP___GetDefaultProfile.
lea ecx, [esp + 0xbc]
call fcn.00404bd0
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x1b4], 3
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1b8], 2
call fcn.004058b3
cmp dword [esp + 0xe8], ebx
je 0x417988
push str.CFirefoxBrowser::ResetHP__next_profile
lea ecx, [esp + 0x68]
call fcn.00404bd0
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x1b8], 4
call fcn.00401985
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b8], 2
call fcn.004058b3
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x110]
call fcn.0042b45c
push ebx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], edi
call fcn.00405ece
push ebx
lea ecx, [esp + 0xf4]
mov dword [esp + 0x10c], edi
call fcn.00405ece
mov edi, 0x4d51f0
push edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b4], 7
call fcn.00404bd0
push str.HOMEPAGE
lea ecx, [esp + 0x84]
mov byte [esp + 0x1b4], 8
call fcn.00404bd0
push 0x4d7fd0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1b4], 9
call fcn.00404bd0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x1c0], 0xa
call fcn.004082c8
add esp, 0x10
push ebx
push esi
lea ecx, [esp + 0x6c]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0x88]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b8], 0xe
call fcn.004058b3
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xa0]
push eax
lea ebx, [esp + 0xc0]
call fcn.0041f0e3
pop ecx
pop ecx
push str.CFirefoxBrowser::ResetHP____zsPartnerHomePage:
lea ecx, [esp + 0x24]
call fcn.00404bd0
mov eax, ebx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0xf
call fcn.00401985
pop ecx
pop ecx
xor esi, esi
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0xe
call fcn.004058b3
push str.CFirefoxBrowser::ResetHP____iniHost:
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x10
call fcn.00401985
pop ecx
pop ecx
push esi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0xe
call fcn.004058b3
push str.CFirefoxBrowser::ResetHP____iniUrl:
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x11
call fcn.00401985
pop ecx
pop ecx
push esi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0xe
call fcn.004058b3
cmp dword [esp + 0xb0], esi
je 0x41794d
push esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 7
call fcn.00405ece
push str.browser.startup.homepage
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], 0x12
call fcn.00404bd0
lea ecx, [esp + 0x80]
push ecx
push eax
lea eax, [esp + 0x114]
push eax
mov byte [esp + 0x1bc], 0x13
call fcn.0042bb07
push esi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x12
call fcn.004058b3
push str.CFirefoxBrowser::ResetHP__szHomepage
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x14
call fcn.00401985
pop ecx
pop ecx
push esi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x12
call fcn.004058b3
cmp dword [esp + 0x94], esi
je 0x41793f
push str.CFirefoxBrowser::ResetHP__szHomepage_not_empty
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b4], 0x15
call fcn.004017f5
pop ecx
push esi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x12
call fcn.004058b3
push edi
lea ecx, [esp + 0x4c]
call fcn.00404bd0
mov byte [esp + 0x1b0], 0x16
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], esi
jae 0x417404
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x40]
call fcn.00404a87
mov esi, 0x4e1718
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
lea ebx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x17
call fcn.00404aea
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x1b4], 0x18
call fcn.004051d9
test eax, eax
je 0x4176f6
push str.CFirefoxBrowser::ResetHP__1:sCurrUrl_
lea ecx, [esp + 0x24]
call fcn.00404bd0
mov byte [esp + 0x1b0], 0x19
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
setne al
movzx eax, al
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00401927
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
cmp dword [esp + 0x5c], ebx
je 0x4174d8
push str.CFirefoxBrowser::ResetHP__zsCurrHomePage_
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x1a
call fcn.00401985
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
push esi
lea ecx, [esp + 0x4c]
call fcn.004052dd
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x4175ef
push str.CFirefoxBrowser::ResetHP__2:sCurrUrl_
lea ecx, [esp + 0x24]
call fcn.00404bd0
mov byte [esp + 0x1b0], 0x1b
cmp dword [esp + 0x1c], ebx
setne al
movzx eax, al
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00401927
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
jae 0x41753e
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x20]
call fcn.0041befb
lea ecx, [esp + 0x20]
test eax, eax
jge 0x4175b9
push str.CFirefoxBrowser::ResetHP__sCurrUrl_not_equal_to_iniHost
call fcn.00404bd0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b4], 0x1c
call fcn.004017f5
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.00404bd0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1bc], 0x1d
call fcn.00405c92
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
jmp 0x4175ef
push str.CFirefoxBrowser::ResetHP__bFoundPartnerUrl__true_
call fcn.00404bd0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b4], 0x1e
call fcn.004017f5
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
mov byte [esp + 0x17], 1
mov esi, 0x4e1718
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
lea ebx, [esp + 0x44]
call fcn.00404aea
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 0x1f
call fcn.00404f48
mov byte [esp + 0x1b0], 0x18
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.00401713
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004051d9
test eax, eax
jne 0x41744a
xor ebx, ebx
cmp byte [esp + 0x17], bl
je 0x4176f8
push str.CFirefoxBrowser::ResetHP__bFoundPartnerUrl_is_true_
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b4], 0x20
call fcn.004017f5
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
jne 0x4176f8
push str.CFirefoxBrowser::ResetHP__RevertHpFromRegistry__ERROR_SUCCESS_
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b4], 0x21
call fcn.004017f5
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
push str.CFirefoxBrowser::ResetHP__bReverted_is_true
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1b4], 0x22
call fcn.004017f5
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.004058b3
jmp 0x417916
xor ebx, ebx
push str.CFirefoxBrowser::ResetHP__bReverted_is_false_and_zsCurrHomePage_is
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x23
call fcn.00401985
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x18
call fcn.004058b3
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x417742
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404a87
lea edi, [esp + 0x18]
mov byte [esp + 0x1b0], 0x24
call fcn.00407b6d
push str.CFirefoxBrowser::ResetHP__sCurrHomePage_before_deciding_how_to_reset
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x25
call fcn.00401985
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x24
call fcn.004058b3
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x417837
push 0x4d527c
lea esi, [esp + 0x1c]
call fcn.0041befb
test eax, eax
jge 0x417837
push 0x4d5288
call fcn.0041befb
test eax, eax
jge 0x417837
push str.browser.startup.homepage
lea ecx, [esp + 0x24]
call fcn.00404bd0
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x1bc], 0x2a
call fcn.0042bbb6
push ebx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x24
call fcn.004058b3
push str.CFirefoxBrowser::ResetHP__Partner_removed
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x2b
call fcn.00401985
pop ecx
pop ecx
lea ecx, [esp + 0x20]
jmp 0x417903
push str.CFirefoxBrowser::ResetHP__zsCurrHomePage_is_empty
lea ecx, [esp + 0x24]
call fcn.00404bd0
mov byte [esp + 0x1b0], 0x26
cmp dword [esp + 0x18], ebx
setne al
movzx eax, al
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00401927
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x24
call fcn.004058b3
push str.about:home
lea ecx, [esp + 0x68]
call fcn.00404bd0
push str.browser.startup.homepage
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], 0x27
call fcn.00404bd0
push edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x1bc], 0x28
call fcn.0042bbb6
push ebx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x27
call fcn.004058b3
push str.CFirefoxBrowser::ResetHP__Homepage_empty_so_set_tp_default
lea ecx, [esp + 0x24]
call fcn.00404bd0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b8], 0x29
call fcn.00401985
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x28]
call fcn.004058b3
lea ecx, [esp + 0x64]
push ebx
push edi
call fcn.004058b3
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401713
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401713
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.00401713
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004058b3
xor ebx, ebx
inc ebx
xor esi, esi
push esi
push ebx
lea ecx, [esp + 0x88]
call fcn.004058b3
push esi
push ebx
lea ecx, [esp + 0xc0]
call fcn.004058b3
push esi
push ebx
lea ecx, [esp + 0xf8]
call fcn.004058b3
push esi
push ebx
lea ecx, [esp + 0xa4]
call fcn.004058b3
lea ecx, [esp + 0x10c]
call fcn.0042b4e1
xor esi, esi
inc esi
xor ebx, ebx
push ebx
push esi
lea ecx, [esp + 0xdc]
call fcn.004058b3
xor eax, eax
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0049f533
mov esp, ebp
pop ebp
ret