Function at 0x41d1e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497ae3
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4ba110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x472
xor eax, eax
xor esi, esi
push str._________________________________________distribution_:___r_n_________________________________________import_bookmarks_:___IMPORT_BMARKS_____________________________________________import_history_:___IMPORT_BMARKS____________________________________________import_home_page_:_false__________________________________________import_search_engine_:_false__________________________________________make_chrome_default_:___MAKE_DEFAULT____________________________________________make_chrome_default_for_user_:___MAKE_DEFAULT____________________________________________________________________________________browser_:___show_home_button_:_true___________________________________________first_run_tabs_:___FIRST_RUN_TABS____________________________________________homepage_:____HOME_PAGE______________________________________________homepage_is_newtabpage_:_false___________________________________________________________________________________session_:___________________________________________restore_on_startup_:_0__________________________________________________________________________________
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], ax
call fcn.0040b930
mov dword [ebp - 4], esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov edx, 0x4a98c8
test al, al
jne 0x41d260
mov edx, 0x4a98d4
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41d275
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.0040b930
mov byte [ebp - 4], 1
push 0x11
xor edx, edx
push str.__IMPORT_BMARKS__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
call fcn.0040b930
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov byte [ebp - 4], 2
call fcn.00412a40
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x41d2e2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], cl
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x41d306
mov edx, dword [ebp - 0x48]
push edx
call fcn.00473515
add esp, 4
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
mov edx, 0x4a98c8
test al, al
jne 0x41d31d
mov edx, 0x4a98d4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41d332
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.0040b930
mov byte [ebp - 4], 3
xor ecx, ecx
push 0x10
mov word [ebp - 0x2c], cx
push str.__MAKE_DEFAULT__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.0040b930
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 4
call fcn.00412a40
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x41d39f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x41d3c3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00473515
add esp, 4
push 0x12
xor edx, edx
push str.__FIRST_RUN_TABS__
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
call fcn.0040b930
mov byte [ebp - 4], 5
mov eax, dword [ebx]
mov edx, dword [eax + 0x74]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call edx
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 6
call fcn.00412a40
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x41d41c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x41d440
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00473515
add esp, 4
push 0xd
xor edx, edx
push str.__HOME_PAGE__
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.0040b930
mov byte [ebp - 4], 7
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, ebx
call edx
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 8
mov edi, dword [ebx + 0x198]
lea esi, [ebp - 0x9c]
call fcn.004182c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xf8]
lea esi, [ebp - 0x2c]
call fcn.004224d0
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00412a40
add esp, 0xc
cmp dword [ebp - 0x18], 8
jb 0x41d4cb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor edi, edi
xor eax, eax
mov esi, 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x88], esi
jb 0x41d4f9
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00473515
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x50], esi
jb 0x41d523
mov eax, dword [ebp - 0x64]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], cl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0x41d547
mov edx, dword [ebp - 0x48]
push edx
call fcn.00473515
add esp, 4
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, ebx
call edx
push str.ApplicationFirst_Run
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040ce40
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x50], esi
jb 0x41d57f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00473515
add esp, 4
mov eax, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], esi
jae 0x41d59a
lea eax, [ebp - 0x80]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
cmp eax, 1
jne 0x41d695
mov eax, dword [0x4bb674]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0xf4]
push str.FirstRun_file_already_exist__Means_the_browser_already_installed____And_we_dont_give_a_FUCK_
push ecx
mov byte [ebp - 4], 0xe
call fcn.004011c0
add esp, 8
push 0x19b
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push str.CBrowserInstallerImp::AddMasterPreferences
call fcn.00401ef0
mov byte [ebp - 4], 0xf
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x41d62f
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41d621
mov ebx, eax
call fcn.00401c10
mov ebx, dword [ebp - 0xfc]
mov esi, 8
jmp 0x41d623
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0xf
mov dword [0x4bd588], ecx
lea edx, [ebp - 0xf4]
push edx
mov byte [ebp - 4], 0xe
call fcn.00401d00
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xf4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41d670
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d66b
push esi
call fcn.00473f58
add esp, 4
mov esi, 8
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x41d67b
lea eax, [ebp - 0x80]
push eax
call edi
cmp eax, 1
jne 0x41d695
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x41d68e
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [ebp - 0x9c]
push eax
mov ecx, ebx
call edx
push str.Applicationmaster_preferences
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040ce40
add esp, 0xc
cmp dword [ebp - 0x88], esi
jb 0x41d6d5
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00473515
add esp, 4
mov eax, dword [0x4bb674]
xor edx, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], dx
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], esi
jae 0x41d715
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xf4]
push str.AddMasterPreferences_file:__s
push ecx
call fcn.004011c0
add esp, 0xc
push 0x1a0
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push str.CBrowserInstallerImp::AddMasterPreferences
call fcn.00401ef0
mov byte [ebp - 4], 0x15
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x41d785
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x41d777
mov ebx, eax
call fcn.00401c10
mov ebx, dword [ebp - 0xfc]
jmp 0x41d779
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0x15
mov dword [0x4bd588], ecx
lea edx, [ebp - 0xf4]
push edx
mov byte [ebp - 4], 0x14
call fcn.00401d00
mov eax, dword [ebp - 0xf4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41d7bd
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d7bd
push esi
call fcn.00473f58
add esp, 4
mov edx, dword [0x4bb674]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
mov dword [ebp - 0xfc], 0x4a98c8
test al, al
jne 0x41d7ee
mov dword [ebp - 0xfc], 0x4a98d4
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
call edx
mov dword [ebp - 0xf8], 0x4a98c8
test al, al
jne 0x41d80f
mov dword [ebp - 0xf8], 0x4a98d4
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, ebx
call edx
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0x18
mov edi, dword [ebx + 0x198]
lea esi, [ebp - 0x2c]
call fcn.004182c0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x100]
lea esi, [ebp - 0x48]
call fcn.004224d0
mov esi, eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebx]
mov edx, dword [eax + 0x74]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, ebx
call edx
mov byte [ebp - 4], 0x1b
cmp dword [esi + 0x14], 8
jb 0x41d868
mov esi, dword [esi]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x41d874
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf8]
push esi
push eax
mov eax, dword [ebp - 0xfc]
push eax
push ecx
lea edx, [ebp - 0xf4]
push str.importBookmarks___s__madeDefaultBrowser_s__madeDefaultBrowser_s__homePage_s
push edx
call fcn.004011c0
add esp, 0x18
cmp dword [ebp - 0x50], ebx
jb 0x41d8a9
mov eax, dword [ebp - 0x64]
push eax
call fcn.00473515
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], ebx
jb 0x41d8cd
mov edx, dword [ebp - 0x48]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], ebx
jb 0x41d8ea
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00473515
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0xdc], ebx
jb 0x41d911
mov eax, dword [ebp - 0xf0]
push eax
call fcn.00473515
add esp, 4
push 0x1a6
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push str.CBrowserInstallerImp::AddMasterPreferences
call fcn.00401ef0
mov byte [ebp - 4], 0x1c
mov ecx, dword [0x4bd588]
cmp ecx, edi
jne 0x41d96e
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x1d
cmp eax, edi
je 0x41d960
mov ebx, eax
call fcn.00401c10
xor edi, edi
lea ebx, [edi + 8]
lea esi, [edi + 7]
jmp 0x41d962
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0x1c
mov dword [0x4bd588], ecx
lea edx, [ebp - 0xf4]
push edx
mov byte [ebp - 4], 0x17
call fcn.00401d00
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0xf4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41d9af
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d9aa
push esi
call fcn.00473f58
add esp, 4
mov esi, 7
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.00411850
add esp, 8
cmp dword [ebp - 0xc0], ebx
jb 0x41d9dc
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00473515
add esp, 4
xor edx, edx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], dx
cmp dword [ebp - 0x6c], ebx
jb 0x41da02
mov eax, dword [ebp - 0x80]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
cmp dword [ebp - 0xa4], ebx
jb 0x41da25
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00473515
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047421a
mov esp, ebp
pop ebp
ret