Function at 0x455920
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58660e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5ed80c]
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
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x74], edi
mov edx, dword [esi + 4]
sub edx, dword [esi]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp + 0x14]
sar edx, 3
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 4], edi
cmp ebx, edx
jb 0x455ab9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
push str.FireFox.cpp
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x5f1460
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 1
call fcn.00506510
push 0x59d37c
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push 0x164
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
call fcn.00506510
push 0x59d378
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push edi
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
call fcn.00506510
push 0x59d374
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push ebx
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
call fcn.00506510
push 0x59d370
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push str.firefox::import_settings::get_whole_bookmark_folder
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push 0x59c870
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push str._tERROR_:
push eax
call fcn.0040b260
add esp, 8
push str.position___list__size__
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.00506510
push eax
call fcn.0040ceb0
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 - 0x14]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
push 0x102
mov word [ebp - 0x68], cx
push str.SELECT_b.id__h.url__COALESCE_b.title__h.title___b.type__k.keyword__b.dateAdded__h.favicon_id_FROM_moz_bookmarks_b_LEFT_JOIN_moz_places_h_ON_b.fk__h.id_LEFT_JOIN_moz_keywords_k_ON_k.id__b.keyword_id_WHERE_b.type_IN__1_2__AND_b.parent____ORDER_BY_b.position
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], edi
call fcn.00401c40
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 2
call fcn.0051fdd0
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x455b15
push str.sqlite3_reset
push eax
call fcn.004add40
add esp, 4
push eax
call fcn.00520480
add esp, 8
jmp 0x455b24
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x10c]
call fcn.005205f0
mov ecx, dword [esi]
mov eax, dword [ecx + ebx*8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10c]
push str.sqlite3_bind_int
push eax
push 1
push edx
call fcn.00499de0
add esp, 0xc
push eax
call fcn.00520480
add esp, 8
push 0x18
mov dword [ebp - 0xa8], edi
call fcn.0055b782
add esp, 4
cmp eax, edi
je 0x4562be
mov dword [ebp - 0xac], eax
mov dword [eax], eax
mov eax, dword [ebp - 0xac]
mov dword [eax + 4], eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 4
call fcn.00454c70
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], edi
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
mov dword [ebp - 0xb8], eax
lea esi, [ebp - 0xc0]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xdc], eax
mov bl, 1
test bl, bl
je 0x4561f7
mov eax, dword [esi]
mov ecx, dword [ebp - 0xdc]
cmp eax, dword [ecx]
je 0x4561f7
add eax, 8
push eax
lea ecx, [ebp - 0x90]
xor bl, bl
call fcn.00451890
lea esp, [esp]
test bl, bl
jne 0x4561b9
push 0x78
mov byte [ebp - 4], 7
call fcn.0055b782
add esp, 4
mov ebx, 7
cmp eax, edi
je 0x455c45
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], edi
xor edx, edx
mov word [eax + 8], dx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x34], edi
xor ecx, ecx
mov word [eax + 0x24], cx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x54], edi
mov word [eax + 0x44], dx
mov esi, eax
jmp 0x455c47
xor esi, esi
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], esi
call fcn.0044db30
push esi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0xd8]
push 2
mov dword [ecx], edx
xor eax, eax
push 0x5a2570
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
call fcn.00401c40
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.004339d0
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x455cac
mov ecx, dword [eax]
jmp 0x455cae
mov ecx, eax
mov eax, dword [eax + 0x10]
lea edx, [ecx + eax*2]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xe8], ecx
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe4], edx
call fcn.0044edb0
test al, al
je 0x456054
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0xc8]
mov dword [ecx + 4], edx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], esi
jb 0x455cfb
mov eax, dword [ebp - 0x30]
push eax
call fcn.0055ae44
add esp, 4
xor ecx, ecx
push 3
mov word [ebp - 0x30], cx
push 0x5a2568
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
call fcn.00401c40
mov esi, dword [ebp - 0x70]
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.004339d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 8]
call fcn.00401b40
cmp dword [ebp - 0x1c], 8
mov byte [ebp - 4], 8
jb 0x455d4e
mov eax, dword [ebp - 0x30]
push eax
call fcn.0055ae44
add esp, 4
xor ecx, ecx
push 0x1a
mov word [ebp - 0x30], cx
push str.COALESCE_b.title__h.title_
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
call fcn.00401c40
mov esi, dword [ebp - 0x70]
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.004339d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x24]
call fcn.00401b40
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], esi
jb 0x455da5
mov eax, dword [ebp - 0x30]
push eax
call fcn.0055ae44
add esp, 4
xor ecx, ecx
push 4
mov word [ebp - 0x30], cx
push str.type
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
call fcn.00401c40
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xd
call fcn.004339d0
cmp dword [eax + 0x14], esi
jb 0x455ddc
mov ecx, dword [eax]
jmp 0x455dde
mov ecx, eax
mov eax, dword [eax + 0x10]
lea eax, [ecx + eax*2]
mov dword [ebp - 0xf4], ecx
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
call fcn.0044edb0
test al, al
je 0x456025
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0xb0]
mov dword [edx + 0x40], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], esi
jb 0x455e2b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0055ae44
add esp, 4
push ebx
xor edx, edx
push str.keyword
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
call fcn.00401c40
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.004339d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x44]
call fcn.00401b40
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], esi
jb 0x455e81
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0055ae44
add esp, 4
push 0xa
xor edx, edx
push str.date_added
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
call fcn.00401c40
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x10
call fcn.004339d0
cmp dword [eax + 0x14], esi
jb 0x455eb6
mov eax, dword [eax]
mov esi, dword [ebp - 0x70]
push eax
call fcn.0055d1f2
mov ecx, eax
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
add esp, 4
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
cmp dword [ebp - 0x1c], 8
mov byte [ebp - 4], 8
jb 0x455ef2
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0055ae44
add esp, 4
push ebx
xor edx, edx
push str.keyword
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
call fcn.00401c40
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.004339d0
cmp dword [eax + 0x10], edi
je 0x455f62
xor ecx, ecx
push ebx
mov word [ebp - 0x4c], cx
push str.keyword
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
call fcn.00401c40
or dword [ebp - 0x74], 1
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x12
call fcn.004339d0
push eax
call fcn.0044fed0
add esp, 4
mov ecx, edx
jmp 0x455f66
xor eax, eax
xor ecx, ecx
test byte [ebp - 0x74], 1
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x6c], ecx
mov dword [ebp - 4], 0x11
je 0x455fa1
and dword [ebp - 0x74], 0xfffffffe
cmp dword [ebp - 0x38], 8
jb 0x455f95
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0055ae44
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], 8
mov byte [ebp - 4], 8
jb 0x455fb7
mov eax, dword [ebp - 0x30]
push eax
call fcn.0055ae44
add esp, 4
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x70]
mov byte [ecx + 0x70], 1
push edx
lea ecx, [ebp - 0xa0]
call fcn.004500c0
mov eax, dword [ebp - 0xc4]
cmp eax, edi
je 0x455fda
mov byte [eax], 0
mov esi, dword [ebp - 0x6c]
mov byte [ebp - 4], 7
cmp esi, edi
je 0x45600f
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45600f
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45600f
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov dword [ebp - 4], 6
mov esi, dword [ebp - 0xd4]
mov bl, 1
xor edi, edi
jmp 0x455c00
push str.bad_cast
lea ecx, [ebp - 0x44]
call fcn.0055b621
mov dword [ebp - 0x44], vtable.boost::bad_lexical_cast.0
mov dword [ebp - 0x38], 0x5ea040
mov dword [ebp - 0x34], 0x5ea030
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xe
call fcn.004143d0
push str.bad_cast
lea ecx, [ebp - 0x44]
call fcn.0055b621
mov dword [ebp - 0x44], vtable.boost::bad_lexical_cast.0
mov dword [ebp - 0x38], 0x5ea040
mov dword [ebp - 0x34], 0x5ea030
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 4], 0xa
call fcn.004143d0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push str.FireFox.cpp
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, 0x5f1460
mov edi, eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0x14
call fcn.00506510
push 0x59d37c
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push 0x18e
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
call fcn.00506510
push 0x59d378
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push edi
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
call fcn.00506510
push 0x59d374
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push ebx
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
call fcn.00506510
push 0x59d370
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push str.firefox::import_settings::get_whole_bookmark_folder
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push 0x59c870
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
call fcn.00506510
push str._tERROR_:
push eax
call fcn.0040b260
add esp, 8
lea edx, [ebp - 0xb4]
push edx
mov ecx, esi
call fcn.0040b520
mov ecx, dword [ebp - 0xcc]
mov byte [ebp - 4], 0x13
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
mov dword [ebp - 4], 6
mov eax, 0x456016
ret
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x15
call fcn.0042a9c0
mov ecx, dword [ebp - 0x8c]
push ecx
mov byte [ebp - 4], 5
call fcn.0055ae44
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 4
mov dword [esi], eax
jmp 0x455bd3
mov esi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xbc]
cmp esi, dword [ebp - 0x9c]
je 0x45623b
push esi
mov ecx, ebx
call fcn.004500c0
mov eax, dword [esi]
cmp dword [eax + 0x40], 2
jne 0x456236
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov edx, dword [ebp - 0x78]
sar ecx, 3
add eax, 0x70
push eax
dec ecx
push ecx
mov ecx, dword [ebp - 0x80]
push ebx
push edx
call fcn.00455920
add esi, 8
jmp 0x456203
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa0], edi
je 0x456274
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x94]
push ecx
push edx
push esi
call fcn.0050d6b0
add esp, 0x10
push esi
call fcn.0055ae44
add esp, 4
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x16
call fcn.00453540
mov eax, dword [ebp - 0xac]
push eax
call fcn.0055ae44
add esp, 4
cmp byte [ebp - 0x104], 0
je 0x4562a6
lea ecx, [ebp - 0x10c]
call fcn.00402930
cmp dword [ebp - 0x54], 8
jb 0x455a9b
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0055ae44
jmp 0x455a98
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x7c], edi
call fcn.0055b5ba
push 0x5cc520
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0055b802
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push str.FireFox.cpp
lea ecx, [ebp - 0x80]
push ecx
mov ecx, 0x5f1460
mov ebx, eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov byte [ebp - 4], 0x18
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x19a
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push ebx
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push edi
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.firefox::import_settings::get_whole_bookmark_folder
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str._tERROR_:
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
lea edx, [ebp - 0x7c]
push edx
mov ecx, esi
call fcn.0040b520
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
mov eax, 0x455a9b
ret