Function at 0x4059f0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4e5d60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004990cf
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405a3d
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], edi
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405a6c
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 1
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405a9c
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405acc
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 3
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405afc
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 4
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405b2c
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x244], ebx
lea ecx, [ebp - 0x25c]
push ecx
mov byte [ebp - 4], 5
call fcn.0041c8c0
mov byte [ebp - 4], 6
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405b6c
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
push edi
push 0x1c
lea ecx, [ebp - 0x220]
push ecx
push edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x240], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x405cb8
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405bc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.0041c9c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406544
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x22c]
push str._sCocCocBrowserUser_DataDefault
push edx
call fcn.0040e520
mov eax, dword [ebp - 0x22c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push eax
call edi
test eax, eax
jne 0x405e05
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.0041c9c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405dab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405dd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406544
mov ecx, dword [ebp - 0x22c]
push ecx
call edi
test eax, eax
jne 0x405f31
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.0041c9c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405eb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ed7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405efd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406544
mov edi, dword [ebp - 0x22c]
lea ecx, [ebp - 0x228]
push str.Favicons
push ecx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
call fcn.0040ebc0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405f81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x234]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4060ab
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405fb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.0041c9c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405fe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40600b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406031
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406057
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406544
mov ebx, dword [ebp - 0x22c]
lea ecx, [ebp - 0x228]
push str.Bookmarks
push ecx
mov edi, ebx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 9
call fcn.0040ebc0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4060fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x230]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
jne 0x40614b
push str.__checksum_:__4755852618fed51c6bb81b53c978fdba____roots_:___bookmark_bar_:___children_:________date_added_:__13052973741112012____date_modified_:__13052973760029222____id_:__1____name_:__Thanh_d
lea ecx, [ebp - 0x228]
call fcn.0040f300
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
push ecx
push esi
call fcn.00402910
push esi
call edi
lea ecx, [ebp - 0x228]
test eax, eax
je 0x4061db
mov byte [ebp - 4], 7
call fcn.0040ed20
lea edx, [ebp - 0x228]
push 0x4cbdc0
push edx
mov edi, 0x4ebd50
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0xb
call fcn.0040ebc0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040ed20
lea eax, [ebp - 0x228]
push str.Preferences
push eax
mov edi, ebx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xc
call fcn.0040ebc0
lea ecx, [ebp - 0x228]
call fcn.0040ed20
mov edx, esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xd
call fcn.00406590
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x228]
cmp dword [ecx - 0xc], 0
jne 0x406243
lea ecx, [ebp - 0x228]
call fcn.0040ed20
lea ecx, [ebp - 0x224]
call fcn.0040ed20
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.0041c9c0
lea ecx, [ebp - 0x244]
call fcn.0040ed20
lea ecx, [ebp - 0x23c]
call fcn.0040ed20
lea ecx, [ebp - 0x238]
call fcn.0040ed20
lea ecx, [ebp - 0x230]
call fcn.0040ed20
lea ecx, [ebp - 0x234]
call fcn.0040ed20
lea ecx, [ebp - 0x22c]
call fcn.0040ed20
xor eax, eax
jmp 0x406544
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x25c]
call fcn.0041ca80
mov dword [ebp - 0x240], eax
test eax, eax
jne 0x406279
push 0x4de414
lea edx, [ebp - 0x260]
push edx
mov dword [ebp - 0x260], 1
call fcn.004aa00a
lea eax, [ebp - 0x25c]
push eax
lea esi, [ebp - 0x2a0]
call fcn.0041cc00
lea ecx, [ebp - 0x224]
push str.SELECT_id_from_favicons_where_url_like___home.vn__
push ecx
mov byte [ebp - 4], 0xf
call fcn.0040e520
mov ecx, dword [ebp - 0x224]
add esp, 8
push 1
mov edx, esi
call fcn.0041cd00
test eax, eax
jne 0x4062d1
push 0x4de414
lea edx, [ebp - 0x264]
push edx
mov dword [ebp - 0x264], 2
call fcn.004aa00a
cmp byte [ebp - 0x294], 0
je 0x406373
push str.http:__home.vn_danhba123_theme_images_home.ico_
lea eax, [ebp - 0x224]
push str.INSERT_INTO_favicons_url_icon_type__VALUES__s_1_
push eax
call fcn.0040e520
mov ecx, dword [ebp - 0x224]
add esp, 0xc
push ecx
lea edx, [ebp - 0x2c0]
push edx
lea ebx, [ebp - 0x25c]
call fcn.0041caf0
lea ecx, [ebp - 0x2c0]
call fcn.0041c650
push str.http:__home.vn_danhba123_theme_images_home.ico_
lea eax, [ebp - 0x224]
push str.SELECT_id_from_favicons_where_url_like___home.vn___
push eax
call fcn.0040e520
mov ecx, dword [ebp - 0x224]
add esp, 0xc
push 1
lea edx, [ebp - 0x2a0]
call fcn.0041cd00
test eax, eax
jne 0x406366
push 0x4de414
lea ecx, [ebp - 0x270]
push ecx
mov dword [ebp - 0x270], 2
call fcn.004aa00a
cmp byte [ebp - 0x294], 0
jne 0x4064b7
push 0
mov eax, 0x4cd0b8
lea edi, [ebp - 0x2a0]
call fcn.0041c700
mov esi, eax
cmp esi, 0xffffffff
je 0x4064b7
push esi
lea edx, [ebp - 0x224]
push str.Select__from_favicon_bitmaps_where_icon_id_d
push edx
call fcn.0040e520
mov ecx, dword [ebp - 0x224]
add esp, 0xc
push 1
mov edx, edi
call fcn.0041cd00
test eax, eax
jne 0x4063d3
push 0x4de414
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x268], 2
call fcn.004aa00a
lea ecx, [ebp - 0x224]
call fcn.0040ef80
cmp byte [ebp - 0x294], 0
je 0x406420
push esi
lea ecx, [ebp - 0x224]
push str.INSERT_INTO_favicon_bitmaps_icon_id_last_updated_image_data_width_height_VALUES__d_13051685394425144_X89504E470D0A1A0A0000000D49484452000000100000001008060000001FF3FF610000033249444154388D3D936D489D651CC67FF7FD3C7AF4A4E7F8D2D4B5CDC0655BEBCB26692FE0870573D02896D4E67418AB76C4050585A0F6F269450C6554C642E885158B818BF542814591B0B50F960BE76CAB9D591EA747B3F9D6391E9FFBBEFF7D38A3EBF3F5E3BAE0E252E1775FAAF573BC7E4455714BDAF358F8771144407B600DD1C222C43AFE9792B8096CCCD79E1E10279520A82CCD4272926871193F357550118EF0D0E91E7E9BB84C6145254A040110B66B4F0F688CDB88756005E76069EA3A55EB36311D7B93F27094B9F40AE3ADAF525F5DC372228E3116E504AC03E3366A9C4DE104630C2B937F505F5DC3B5C3AF33367783D2EEBD6CE97A9C335747183AD0414BDD6E528938AB990C38C0D99497D350D7E99C84D233931CB87F375FED7B810F7F3D47E3993E5EDBD5CC9E9A8739FCC5FB08F04E4333692F87A1D10BE8501805ABBE18476AE16F9AEA1A38B5B78D37CE7FCDCB839FF2FBF33DDC55520EC0C17B1F60FDB17666579638B1A79554B046DF8F670917AF03EF686C91CEFDB2B29691C16B63C2BE6DF2DDF5711111E19566A1A3514444CE4FC585C6BB65607C58568340E86A12EF686C51BB2000ED61ACE1DBF81838457941343BD53FF370739EC0598A4261F0430C4F4D900A32A014CE046871168280B409280DDD067905347D729C8C35CCF67C46E2F8E738119E3CD90BB9618A72F3C958038141ACC5C75A30369B280EA2B733363A4C5E670B7D8DCF92E379B40DF4C3EC0D8896663D9065AC451308180702BED2309DC02B29A77BD713ECA8DC4C4D6535BD8F3D45E99D5B20F167D6236499406E35B006A520B9B800CAE352470F5BCB36F0F1B941D26B195EDCF928B1DA9D14B63DC2C47C12A5006BC05A7C02ABB1422494CFC85F715AF7B7B3B56C03155D87485EFE05B4E6C8E97ECC7B5FD21BEBE6FB4B3F93EFE7821108ACF68130CB4B8CCD243879F039D6478A797BE81B92172FA0EFD98E4261AF8EF2F4A9137CD0DCCEA11D0F129F4FC2CA3284F2C29EAADBF60C4110FD217E85A6FBEAB99898A0B9FF18AA2082D23E3807051146AE8CB2F98E4D941716D1F2D15B4CCFCDA0F2C2938A238DB54AFBFD7273BE0AADC119F043A84814B16BD9E7EA1C24BD02A965C80D8331A8E292B8381BFB0F3C0188616A03BC590000000049454E44AE426082_16_16__
push ecx
call fcn.0040e520
mov edx, dword [ebp - 0x224]
add esp, 0xc
push edx
lea eax, [ebp - 0x2c0]
push eax
lea ebx, [ebp - 0x25c]
call fcn.0041caf0
lea ecx, [ebp - 0x2c0]
call fcn.0041c650
mov ecx, dword [ebp - 0x228]
push ecx
push esi
lea edx, [ebp - 0x224]
push str.Select__from_icon_mapping_where_icon_id_d_and_page_url_s
push edx
call fcn.0040e520
mov ecx, dword [ebp - 0x224]
add esp, 0x10
push 1
lea edx, [ebp - 0x2a0]
call fcn.0041cd00
test eax, eax
jne 0x40646e
push 0x4de414
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x26c], 2
call fcn.004aa00a
cmp byte [ebp - 0x294], 0
je 0x4064b7
mov ecx, dword [ebp - 0x228]
push esi
push ecx
lea edx, [ebp - 0x224]
push str.INSERT_INTO_icon_mapping_page_url_icon_id__VALUES___s__d__
push edx
call fcn.0040e520
mov eax, dword [ebp - 0x224]
add esp, 0x10
push eax
lea ecx, [ebp - 0x2c0]
push ecx
lea ebx, [ebp - 0x25c]
call fcn.0041caf0
lea ecx, [ebp - 0x2c0]
call fcn.0041c650
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x240], 1
mov byte [ebp - 4], 0xe
call fcn.0041cc40
lea ecx, [ebp - 0x228]
call fcn.0040ed20
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x224]
call fcn.0040ed20
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.0041c9c0
lea ecx, [ebp - 0x244]
call fcn.0040ed20
lea ecx, [ebp - 0x23c]
call fcn.0040ed20
lea ecx, [ebp - 0x238]
call fcn.0040ed20
lea ecx, [ebp - 0x230]
call fcn.0040ed20
lea ecx, [ebp - 0x234]
call fcn.0040ed20
lea ecx, [ebp - 0x22c]
call fcn.0040ed20
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a6859
mov esp, ebp
pop ebp
ret