Function at 0x12428aa0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x124d3ac8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
xor ebp, ebp
cmp edi, ebp
je 0x12428e30
mov esi, dword [esp + 0x2c]
cmp esi, ebp
je 0x12428e30
cmp dword [esp + 0x30], ebp
je 0x12428e30
mov eax, dword [0x124de7fc]
push ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
mov byte [esp + 0x24], 1
push eax
push str.IsMatchMessFromID________dwBroHistory:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
mov ecx, dword [0x124de7fc]
add esp, 0x14
mov dword [esp + 0x2c], ecx
mov bl, 2
push str.SELECT
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.12455ef0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x28], 3
call fcn.124574a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.124567f0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.12457440
push 0x124f489c
lea ecx, [esp + 0x14]
call fcn.12455ef0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
push ecx
lea ecx, [esp + 0x30]
call fcn.124574a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.124567f0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x2c]
push edx
call fcn.12457440
push 0x124f489c
lea ecx, [esp + 0x14]
call fcn.12455ef0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x28], 5
call fcn.124574a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.124567f0
mov ecx, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.12457440
push str._FROM
lea ecx, [esp + 0x14]
call fcn.12455ef0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x28], 6
call fcn.124574a0
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x10]
call fcn.124567f0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x2c]
push eax
call fcn.12457440
push str._WHERE__
lea ecx, [esp + 0x14]
call fcn.12455ef0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 7
push ecx
lea ecx, [esp + 0x30]
call fcn.124574a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.124567f0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x2c]
push edx
call fcn.12457440
push str.______AND__
lea ecx, [esp + 0x14]
call fcn.12455ef0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x28], 8
call fcn.124574a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.124567f0
mov ecx, dword [esi + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.12457440
push str.___1_
lea ecx, [esp + 0x14]
call fcn.12455ef0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x28], 9
call fcn.124574a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.124567f0
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push str.IsMatchMessFromID_wstrSQL__s_Id__lu_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
add esp, 0x1c
lea eax, [esp + 0x30]
push ebp
push eax
push 0xffffffffffffffff
push ecx
push edx
mov ecx, 0x12516288
call fcn.1242fa20
test eax, eax
jne 0x12428dab
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x30]
push eax
push ecx
push 1
push edx
mov ecx, 0x12516288
call fcn.1242fa50
mov eax, dword [esp + 0x30]
mov ecx, 0x12516288
push eax
call fcn.1242fab0
cmp eax, 0x64
jne 0x12428dc5
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ebp
push edx
mov dword [ecx], 1
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x38]
call fcn.12456050
mov eax, dword [esp + 0x34]
add edi, 0x460
push 0x103
push eax
push edi
mov byte [esp + 0x30], 0xa
call fcn.1246f87b
add esp, 0xc
test eax, eax
jne 0x12428d7d
mov ebp, 1
mov ecx, dword [esp + 0x34]
push ecx
push edi
push str.IsMatchMessFromID_Url__s___s_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x18
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], bl
call fcn.124567f0
jmp 0x12428dc5
push eax
push str.IsMatchMessFromID_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.124567f0
mov edx, dword [esp + 0x30]
mov ecx, 0x12516288
push edx
call fcn.1242fbf0
push ebp
push str.IsMatchMessFromID____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.124567f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.124567f0
pop ebx
pop edi
mov eax, ebp
pop esi
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret