Function at 0x455500
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58650b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor ecx, ecx
push 0x55
xor ebx, ebx
mov word [ebp - 0x30], cx
mov edi, 7
push str.SELECT_b.title_FROM_moz_bookmarks_b_WHERE_b.type__2_AND_b.id____ORDER_BY_b.position
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
call fcn.00401c40
push esi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0051fdd0
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x455596
push str.sqlite3_reset
push eax
call fcn.004add40
add esp, 4
push eax
call fcn.00520480
add esp, 8
jmp 0x4555a5
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x94]
call fcn.005205f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x94]
push str.sqlite3_bind_int
push eax
push 1
push ecx
call fcn.00499de0
add esp, 0xc
push eax
call fcn.00520480
add esp, 8
push 0x18
mov dword [ebp - 0x68], ebx
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x4557c3
mov dword [eax], eax
mov dword [ebp - 0x6c], eax
mov dword [eax + 4], eax
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00454c70
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x6c]
je 0x455768
add eax, 8
push eax
lea ecx, [ebp - 0x7c]
call fcn.00451890
push 0x78
mov byte [ebp - 4], 4
call fcn.0055b782
add esp, 4
cmp eax, ebx
je 0x455651
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], ebx
xor edx, edx
mov word [eax + 8], dx
mov dword [eax + 0x38], edi
mov dword [eax + 0x34], ebx
xor ecx, ecx
mov word [eax + 0x24], cx
mov dword [eax + 0x58], edi
mov dword [eax + 0x54], ebx
mov word [eax + 0x44], dx
mov esi, eax
jmp 0x455653
xor esi, esi
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], esi
call fcn.0044db30
push esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp - 0x54]
xor ecx, ecx
push 5
mov word [ebp - 0x4c], cx
push 0x5a2440
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
mov dword [edx + 4], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
call fcn.00401c40
mov esi, dword [ebp - 0x54]
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.004339d0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x24]
call fcn.00401b40
cmp dword [ebp - 0x38], 8
mov byte [ebp - 4], 5
jb 0x4556d3
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0055ae44
add esp, 4
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x40], 2
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x68], ebx
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x6c], ebx
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x54]
mov byte [ecx + 0x70], 1
mov ecx, dword [ebp - 0x5c]
push edx
call fcn.004500c0
mov esi, dword [ebp - 0x50]
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x455731
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x455731
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 0x455731
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.0042a9c0
mov ecx, dword [ebp - 0x78]
push ecx
mov byte [ebp - 4], 3
call fcn.0055ae44
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
add esp, 4
mov dword [ebp - 0x58], eax
jmp 0x455604
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.00453540
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0055ae44
add esp, 4
cmp byte [ebp - 0x8c], bl
je 0x455793
lea ecx, [ebp - 0x94]
call fcn.00402930
cmp dword [ebp - 0x1c], 8
jb 0x4557a5
mov edx, dword [ebp - 0x30]
push edx
call fcn.0055ae44
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 0xc
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x60], ebx
call fcn.0055b5ba
push 0x5cc520
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], vtable.std::bad_alloc.0
call fcn.0055b802
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x60], 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 - 0x5c]
push ecx
mov ecx, 0x5f1460
mov ebx, eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov byte [ebp - 4], 0xa
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x15b
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_top_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 - 0x60]
push edx
mov ecx, esi
call fcn.0040b520
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
mov eax, 0x4557a5
ret