Function at 0x41dc50
Capabilities:
Check if file exists
Create directory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496f46
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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 eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [ebp - 0x64]
push edx
call eax
push str.User_DataDefault_
push eax
lea ecx, [ebp - 0x48]
xor esi, esi
push ecx
mov dword [ebp - 4], esi
call fcn.0040ce40
add esp, 0xc
mov ebx, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
jb 0x41dcb7
mov edx, dword [ebp - 0x64]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
cmp dword [ebp - 0x34], ebx
jae 0x41dcd2
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
cmp eax, 1
je 0x41ddae
mov ecx, dword [0x4bb674]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x41dcfc
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x68]
push str.Create_a_folder__s
push edx
call fcn.004011c0
add esp, 0xc
push 0x1b9
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.CBrowserInstallerImp::FixBookMarks
call fcn.00401ef0
mov byte [ebp - 4], 4
mov ecx, dword [0x4bd588]
cmp ecx, esi
jne 0x41dd62
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 5
cmp eax, esi
je 0x41dd54
mov ebx, eax
call fcn.00401c10
mov ebx, 8
jmp 0x41dd56
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 4
mov dword [0x4bd588], ecx
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.00401d00
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x68]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41dd98
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dd98
push esi
call fcn.00473f58
add esp, 4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x41dda3
lea eax, [ebp - 0x48]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.Bookmarks
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040cb20
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41ddd2
lea eax, [ebp - 0x2c]
push eax
call edi
cmp eax, 1
je 0x41e01a
mov ecx, dword [0x4bbed0]
push 0x4a9c90
push 0x66
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x6c], ebx
test ebx, ebx
je 0x41e015
mov edx, dword [0x4bb674]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41de23
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push str.Bookmarks_has_been_finded_in_the_resources__save_it_to__s
push eax
call fcn.004011c0
add esp, 0xc
push 0x1c3
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.CBrowserInstallerImp::FixBookMarks
call fcn.00401ef0
mov byte [ebp - 4], 8
mov ecx, dword [0x4bd588]
test ecx, ecx
jne 0x41de87
push 0x1c
call fcn.004740ea
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x41de79
mov ebx, eax
call fcn.00401c10
mov ebx, dword [ebp - 0x6c]
jmp 0x41de7b
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 8
mov dword [0x4bd588], ecx
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 7
call fcn.00401d00
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41debd
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41debd
push edi
call fcn.00473f58
add esp, 4
mov edx, dword [0x4bbed0]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
lea ecx, [ebp - 0x6c]
mov byte [esi + edi], 0
call fcn.00401ef0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41def3
lea eax, [ebp - 0x2c]
push 0x4a8218
push eax
call fcn.0047525f
mov edi, eax
add esp, 8
test edi, edi
jne 0x41dfe0
mov eax, dword [0x4bb674]
mov dword [ebp - 0x68], eax
mov bl, 0xb
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41df28
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
push str.Cant_open__s
push ecx
call fcn.004011c0
add esp, 0xc
push 0x1ce
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.CBrowserInstallerImp::FixBookMarks
call fcn.00401ef0
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 0xc
call fcn.00401ba0
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00401d00
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41df8b
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41df8b
push esi
call fcn.00473f58
add esp, 4
mov eax, dword [ebp - 0x6c]
lea edx, [eax - 0xc]
cmp edx, dword [0x4bb670]
je 0x41dfb0
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dfb0
push esi
call fcn.00473f58
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x41dfc1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x41e050
mov edx, dword [ebp - 0x48]
push edx
jmp 0x41e048
push edi
push esi
call fcn.00478c46
push edi
call fcn.00475ef3
mov eax, dword [ebp - 0x6c]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, dword [0x4bb670]
je 0x41e015
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e015
push esi
call fcn.00473f58
add esp, 4
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x41e02b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x41e050
mov ecx, dword [ebp - 0x48]
push ecx
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