Function at 0x4a10a0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5068d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [0x6aba1c]
mov esi, dword [esp + 0x50]
mov ecx, eax
add ecx, 0x34
mov dword [esp + 0x48], ebx
mov dword [esi], eax
call dword [0x6abc08]
mov ebp, 1
push str.SELECT_PROCTYPE__PROC_BW_FROM_PAGES_WHERE_PID:page_id
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebp
call dword [0x6abbc4]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebp
add edi, 0x10
push edi
push ecx
mov dword [esp + 0x58], ebp
call dword [0x6ad848]
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [0x6ad844]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call dword [0x6ad8a8]
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
call dword [0x6abb10]
mov bl, 3
push str.:page_id
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], bl
call dword [0x6abbc4]
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 4
mov dword [eax], ebp
call dword [0x6ad8ac]
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], bl
call dword [0x6abc18]
mov edi, dword [0x6abb5c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 2
call edi
lea ecx, [esp + 0x14]
call dword [0x6ad8b0]
test al, al
je 0x4a131d
lea ecx, [esp + 0x14]
call dword [0x6ad83c]
push str.PROCTYPE
lea ecx, [esp + 0x1c]
call dword [0x6abbc4]
push str.processtype
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], 5
call dword [0x6abbc4]
mov ebp, dword [0x6ad838]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 6
call ebp
mov ebx, dword [0x6ad860]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov byte [esp + 0x50], 7
call ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 8
call fcn.0043a6c0
mov ecx, dword [esp + 0x24]
push 0
mov dword [esp + 0x2c], eax
call dword [0x6abb04]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 7
call edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 6
call dword [0x6ad830]
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], 5
call dword [0x6abc18]
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call dword [0x6abc18]
push str.PROC_BW
lea ecx, [esp + 0x1c]
call dword [0x6abbc4]
push str.procbw
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], 9
call dword [0x6abbc4]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0xa
call ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov byte [esp + 0x50], 0xb
call ebx
mov ebx, eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 0xc
call fcn.0043a6c0
mov ebp, eax
push 0
mov ecx, ebx
call dword [0x6abb04]
lea ecx, [esp + 0x30]
mov dword [ebp], eax
mov byte [esp + 0x48], 0xb
call edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 0xa
call dword [0x6ad830]
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], 9
call dword [0x6abc18]
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call dword [0x6abc18]
lea ecx, [esp + 0x14]
call dword [0x6ad870]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call dword [0x6ad82c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call dword [0x6abc18]
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8