Function at 0x12449390
Capabilities:
Get number of processors
Reference sql statements

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d4b60
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x34]
push edi
xor edi, edi
cmp esi, edi
je 0x12449709
mov ebx, dword [esp + 0x3c]
cmp ebx, edi
je 0x12449709
mov eax, dword [0x124de7fc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x34], 2
call fcn.12456050
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push str.QueryFireFoxDownHistory________wstrFilePath:__s__dwType:__d_nDownLastTime___I64u_
push str.History
push 0xffffffffffffffff
push 0x1251696c
mov byte [esp + 0x50], 3
call fcn.12447cf0
add esp, 0x20
mov ecx, 0x12516288
call fcn.1242f850
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, 0x12516288
call fcn.1242fa00
cmp eax, edi
jne 0x1244969e
push 0x12516280
lea ecx, [esp + 0x10]
call fcn.12456050
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 8]
push eax
push ecx
push edx
mov edx, dword [esi + 0x18]
mov byte [esp + 0x3c], 4
push edx
push eax
mov eax, dword [esi + 0x20]
push ecx
push eax
lea ecx, [esp + 0x28]
push str.SELECT__s__s__s_FROM__s_WHERE__s__0_AND__s______AND__s____8
push ecx
call fcn.12459770
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x24
lea edx, [esp + 0x38]
push edi
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x12516288
call fcn.1242fa20
cmp eax, edi
jne 0x12449658
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x38]
push edx
push eax
push 8
push ecx
mov ecx, 0x12516288
call fcn.1242fa50
mov edx, dword [esp + 0x38]
mov ecx, 0x12516288
push edx
call fcn.1242fab0
cmp eax, 0x64
jne 0x12449672
push ebp
jmp 0x124494e2
xor edi, edi
mov eax, dword [esp + 0x3c]
push edi
push eax
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x20]
call fcn.12456a70
mov ecx, dword [esp + 0x3c]
push 1
push ecx
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x1c]
call fcn.12456a70
mov edx, dword [esp + 0x3c]
push 2
push edx
mov ecx, 0x12516288
call fcn.1242fad0
push 0x12516280
lea ecx, [esp + 0x24]
mov edi, eax
mov ebp, edx
call fcn.12456050
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
push eax
push ecx
push ebp
push edi
push eax
mov eax, dword [esi + 0x1c]
push edx
push eax
lea ecx, [esp + 0x3c]
push str.SELECT__s_FROM__s_WHERE__s____I64u_AND__s__1_ORDER_BY__s_DESC_LIMIT_1
push ecx
mov byte [esp + 0x58], 5
call fcn.12459770
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
add esp, 0x24
lea edx, [esp + 0x40]
push 0
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x12516288
call fcn.1242fa20
test eax, eax
jne 0x124495c8
mov edx, dword [esp + 0x40]
mov ecx, 0x12516288
push edx
call fcn.1242fab0
cmp eax, 0x64
jne 0x124495c8
mov eax, dword [esp + 0x40]
push 0
push eax
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x2c]
call fcn.12456a70
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, 0x12516288
call fcn.1242fab0
cmp eax, 0x64
je 0x12449599
mov edx, dword [esp + 0x40]
mov ecx, 0x12516288
push edx
call fcn.1242fbf0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea ecx, [ebx + 0x250]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push ebp
push edi
push 2
mov ecx, 0x1251c220
mov dword [esp + 0x5c], 0
call fcn.1244da80
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebp
push edi
push 2
push str.QueryFireFoxDownHistory__Add_Type__d__nEndTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x24
lea ecx, [esp + 0x20]
mov edi, 1
mov byte [esp + 0x34], 4
call fcn.124567f0
mov eax, dword [esp + 0x3c]
mov ecx, 0x12516288
push eax
call fcn.1242fab0
cmp eax, 0x64
je 0x124494e0
pop ebp
jmp 0x12449672
push eax
push str.QueryFireFoxDownHistory_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.124567f0
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, 0x12516288
call fcn.1242fbf0
mov edx, dword [esp + 0x10]
mov ecx, 0x12516288
push edx
call fcn.1242fbd0
push edi
push str.QueryFireFoxDownHistory____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.124567f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 1
call fcn.124567f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.124567f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.124567f0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8