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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x4de270]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x4de270]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov edi, ecx
push str.CChromeBrowser::ResetHP___hp
lea esi, [esp + 0x230]
mov dword [esp + 0x64], edi
call fcn.00404db2
xor ebx, ebx
mov dword [esp + 0x2c8], ebx
call fcn.00404e64
or dword [esp + 0x2c8], 0xffffffff
push ebx
push 1
call fcn.00404f5a
cmp byte [edi + 0x3d], bl
je 0x41a8ee
push str.CChromeBrowser::CreateSearchProvider___Chrome_is_running.
lea esi, [esp + 0x230]
call fcn.00404db2
xor edi, edi
inc edi
mov dword [esp + 0x2c8], edi
call fcn.00404e64
push ebx
push edi
call fcn.00404f5a
push 0x14
pop eax
jmp 0x41b22b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
cmp dword [edi + 0x1c], 0x10
mov dword [esp + 0x40], eax
jb 0x41a904
mov edi, dword [edi + 8]
jmp 0x41a907
add edi, 8
lea eax, [esp + 0x12c]
push 3
mov dword [esp + 0x12c], eax
push edi
lea eax, [esp + 0x130]
push eax
call fcn.0040894f
mov dword [esp + 0x2c8], 2
push dword [esp + 0x128]
lea esi, [esp + 0x2a0]
call fcn.00404db2
lea eax, [esp + 0x12c]
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x128], eax
je 0x41a968
push dword [esp + 0x128]
call fcn.00482ae9
pop ecx
push str.Preferences
lea eax, [esp + 0x2a0]
push eax
call fcn.004048a5
push ebx
lea ecx, [esp + 0x30]
call fcn.00471260
push str.CChromeBrowser::ResetHP___reading_json_from_file
lea esi, [esp + 0x230]
mov byte [esp + 0x2cc], 5
call fcn.00404db2
mov byte [esp + 0x2c8], 6
call fcn.00404e64
push ebx
push 1
mov byte [esp + 0x2d0], 5
call fcn.00404f5a
lea edi, [esp + 0x2c]
lea esi, [esp + 0x29c]
call fcn.0046c497
push str.CChromeBrowser::ResetHP___bReadJSONSuccessful
lea esi, [esp + 0x230]
mov byte [esp + 0x18], al
call fcn.00404db2
push dword [esp + 0x14]
mov eax, esi
push eax
mov byte [esp + 0x2d0], 7
call fcn.00406bc9
pop ecx
pop ecx
push ebx
push 1
mov byte [esp + 0x2d0], 5
call fcn.00404f5a
mov byte [esp + 0x1a], bl
cmp byte [esp + 0x14], bl
je 0x41b115
mov ecx, edi
call fcn.00472bf0
test al, al
jne 0x41b115
push 7
pop eax
xor ecx, ecx
mov dword [esp + 0x27c], eax
mov dword [esp + 0x278], ebx
mov word [esp + 0x268], cx
mov dword [esp + 0x244], eax
xor eax, eax
mov dword [esp + 0x240], ebx
mov word [esp + 0x230], ax
push 0x4aec58
lea esi, [esp + 0x110]
mov byte [esp + 0x2cc], 9
call fcn.00404db2
push str.HOMEPAGE
lea esi, [esp + 0xf4]
mov byte [esp + 0x2cc], 0xa
call fcn.00404db2
push 0x4b0b34
lea esi, [esp + 0xd8]
mov byte [esp + 0x2cc], 0xb
call fcn.00404db2
mov eax, esi
push eax
lea ecx, [esp + 0x110]
lea ebx, [esp + 0xf4]
lea edi, [esp + 0x24c]
mov byte [esp + 0x2cc], 0xc
call fcn.004084bb
pop ecx
xor edi, edi
push edi
push 1
call fcn.00404f5a
push edi
push 1
mov esi, ebx
call fcn.00404f5a
push edi
push 1
lea esi, [esp + 0x114]
mov byte [esp + 0x2d0], 0x10
call fcn.00404f5a
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x250]
call fcn.004204cc
pop ecx
pop ecx
cmp dword [esp + 0x278], edi
je 0x41b0de
mov ebx, 0x4b455a
push ebx
lea ecx, [esp + 0xa8]
call fcn.00471440
push ebx
lea ecx, [esp + 0x284]
mov byte [esp + 0x2cc], 0x11
call fcn.00403f52
mov esi, str.urls_to_restore_on_startup
push esi
mov edi, str.session
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x2d0], 0x12
call fcn.00472580
mov ecx, eax
call fcn.00472580
push eax
lea ecx, [esp + 0x68]
call fcn.00471570
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c8], 0x13
call fcn.00472c10
test al, al
je 0x41ad9a
lea ecx, [esp + 0x64]
call fcn.00472280
test al, al
jne 0x41ad9a
push esi
lea eax, [esp + 0x50]
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00472580
mov ecx, eax
call fcn.00472940
lea ecx, [esp + 0x4c]
call fcn.00471810
cmp dword [esp + 0x40], 0x13
jl 0x41abee
push esi
lea eax, [esp + 0x50]
push eax
push edi
push str.backup
lea ecx, [esp + 0x3c]
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.00472940
lea ecx, [esp + 0x4c]
call fcn.00471810
and dword [esp + 0x14], 0
lea ecx, [esp + 0x64]
call fcn.004721d0
test eax, eax
jbe 0x41ad9a
push ebx
lea ecx, [esp + 0x50]
call fcn.00471440
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2d4], 0x14
call fcn.00472730
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
mov byte [esp + 0x2cc], 0x15
call fcn.00471a50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28c]
mov byte [esp + 0x2d4], 0x16
call fcn.004041a2
push 0
push 1
lea ecx, [esp + 0xc0]
call fcn.004042f5
lea ecx, [esp + 0x84]
mov byte [esp + 0x2c8], 0x14
call fcn.00471810
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c8], 0x13
call fcn.00471810
cmp dword [esp + 0x298], 0x10
mov eax, dword [esp + 0x284]
jae 0x41acad
lea eax, [esp + 0x284]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0041cd8a
mov byte [esp + 0x2c8], 0x17
cmp dword [esp + 0x27c], 8
mov eax, dword [esp + 0x268]
jae 0x41acd8
lea eax, [esp + 0x268]
push eax
lea esi, [esp + 0x48]
call fcn.00414f94
test eax, eax
jge 0x41ad6a
lea eax, [esp + 0x280]
push eax
lea ecx, [esp + 0x20]
call fcn.004714b0
lea eax, [esp + 0x1c]
push eax
mov esi, str.urls_to_restore_on_startup
push esi
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d4], 0x18
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.004728b0
cmp dword [esp + 0x40], 0x13
jl 0x41ad57
lea eax, [esp + 0x1c]
push eax
push esi
push edi
push str.backup
lea ecx, [esp + 0x3c]
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.004728b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], 0x17
call fcn.00471810
jmp 0x41ad6f
mov byte [esp + 0x1a], 1
mov byte [esp + 0x2c8], 0x13
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.004049bf
inc dword [esp + 0x14]
lea ecx, [esp + 0x64]
call fcn.004721d0
cmp dword [esp + 0x14], eax
jb 0x41ac04
push ebx
lea ecx, [esp + 0x50]
call fcn.00471440
lea eax, [esp + 0x4c]
push eax
push str.homepage
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d4], 0x19
call fcn.004728e0
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
mov byte [esp + 0x2cc], 0x1a
call fcn.00471a50
mov byte [esp + 0x2c8], 0x1b
cmp dword [eax + 0x18], 0x10
jb 0x41adf1
mov eax, dword [eax + 4]
jmp 0x41adf4
add eax, 4
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0041cd8a
push 0
push 1
lea ecx, [esp + 0xc0]
call fcn.004042f5
lea ecx, [esp + 0x84]
mov byte [esp + 0x2c8], 0x1e
call fcn.00471810
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c8], 0x1f
call fcn.00471810
push 0
lea ecx, [esp + 0x78]
call fcn.00471260
mov ebx, str.restore_on_startup
push ebx
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x2d0], 0x20
call fcn.00472580
mov ecx, eax
call fcn.00472580
push eax
lea ecx, [esp + 0x78]
call fcn.00471920
lea ecx, [esp + 0x74]
call fcn.00471bf0
cmp dword [esp + 0x27c], 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x268]
jae 0x41ae8d
lea eax, [esp + 0x268]
push eax
lea esi, [esp + 0x4c]
call fcn.00414f94
test eax, eax
jl 0x41af76
lea eax, [esp + 0xa4]
push eax
push str.homepage
lea ecx, [esp + 0x34]
call fcn.00472580
mov ecx, eax
call fcn.00471920
cmp dword [esp + 0x40], 0x13
jge 0x41aef1
cmp dword [esp + 0x14], 0
jne 0x41af76
push 1
lea ecx, [esp + 0x20]
call fcn.00471530
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x2cc], 0x21
push str.homepage_is_newtabpage
lea ecx, [esp + 0x34]
jmp 0x41af59
push 1
lea ecx, [esp + 0x20]
call fcn.00471530
lea eax, [esp + 0x1c]
push eax
mov esi, str.homepage_is_newtabpage
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x2d0], 0x22
call fcn.00472580
mov ecx, eax
call fcn.00471920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], 0x20
call fcn.00471810
push 1
lea ecx, [esp + 0x20]
call fcn.00471530
lea eax, [esp + 0x1c]
push eax
push esi
push str.backup
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d4], 0x23
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.00471920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], 0x20
call fcn.00471810
push str.urls_to_restore_on_startup
push edi
lea ecx, [esp + 0x34]
call fcn.00472580
mov ecx, eax
call fcn.00472580
push eax
lea ecx, [esp + 0x98]
call fcn.00471570
lea ecx, [esp + 0x94]
call fcn.00472280
test al, al
je 0x41b076
cmp dword [esp + 0x40], 0x13
jl 0x41b02d
cmp dword [esp + 0x14], 4
jne 0x41b076
push 5
lea ecx, [esp + 0x20]
call fcn.00471380
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d4], 0x25
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.00471920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], 0x24
call fcn.00471810
push 5
lea ecx, [esp + 0x20]
call fcn.00471380
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push str.backup
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2d8], 0x26
call fcn.00472580
mov ecx, eax
jmp 0x41b052
cmp dword [esp + 0x14], 4
jne 0x41b076
push 0
lea ecx, [esp + 0x20]
call fcn.00471380
lea eax, [esp + 0x1c]
push eax
push ebx
mov byte [esp + 0x2d0], 0x27
push edi
lea ecx, [esp + 0x38]
call fcn.00472580
mov ecx, eax
call fcn.00472580
mov ecx, eax
call fcn.00471920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c8], 0x24
call fcn.00471810
lea ecx, [esp + 0x94]
mov byte [esp + 0x2c8], 0x20
call fcn.00471810
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c8], 0x1f
call fcn.00471810
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.004049bf
lea ecx, [esp + 0x64]
mov byte [esp + 0x2c8], 0x12
call fcn.00471810
push 0
push 1
lea ecx, [esp + 0x288]
call fcn.004042f5
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2c8], 0x10
call fcn.00471810
xor edi, edi
push edi
push 1
lea esi, [esp + 0x250]
call fcn.00404f5a
push edi
push 1
lea esi, [esp + 0x234]
call fcn.00404f5a
push edi
push 1
lea esi, [esp + 0x26c]
mov byte [esp + 0x2d0], 5
call fcn.00404f5a
xor ebx, ebx
push str.CChromeBrowser::ResetHP___writing_json_to_file
lea esi, [esp + 0x24c]
call fcn.00404db2
mov byte [esp + 0x2c8], 0x28
call fcn.00404e64
push ebx
push 1
mov byte [esp + 0x2d0], 5
call fcn.00404f5a
lea esi, [esp + 0x2c]
lea edi, [esp + 0x29c]
call fcn.0046c55d
mov byte [esp + 0x1b], al
cmp byte [esp + 0x1a], bl
je 0x41b1cf
push str.CChromeBrowser::ResetHP___Parnter_found__try_to_revert
lea esi, [esp + 0x24c]
call fcn.00404db2
mov byte [esp + 0x2c8], 0x29
call fcn.00404e64
push ebx
push 1
mov byte [esp + 0x2d0], 5
call fcn.00404f5a
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, ebx
je 0x41b1cf
push str.CChromeBrowser::ResetHP___Parnter_found__revert_failed___reset_the_HP.
lea esi, [esp + 0x24c]
call fcn.00404db2
mov byte [esp + 0x2c8], 0x2a
call fcn.00404e64
push ebx
push 1
mov byte [esp + 0x2d0], 5
call fcn.00404f5a
lea esi, [esp + 0x2c]
call fcn.0046c55d
mov al, byte [esp + 0x1b]
dec al
movzx edi, al
neg edi
sbb edi, edi
push str.CChromeBrowser::ResetHP___ret
lea esi, [esp + 0x24c]
and edi, 5
call fcn.00404db2
push edi
mov ecx, esi
mov byte [esp + 0x2cc], 0x2b
call fcn.00408b56
pop ecx
push ebx
push 1
call fcn.00404f5a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 4
call fcn.00471810
push ebx
push 1
lea esi, [esp + 0x2a4]
call fcn.00404f5a
mov eax, edi
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.004812cc
mov esp, ebp
pop ebp
ret