Function at 0x4258b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d04c
mov eax, dword fs:[0]
push eax
mov eax, 0x205c
call fcn.004f4060
mov eax, dword [0x54735c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x20]
lea ecx, [edi + 0x58]
cmp ecx, esi
je 0x425901
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4258f8
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00409bb0
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x425916
xor edx, edx
call fcn.004a3290
mov dword [edi + 0x54], 0
cmp dword [esi + 0x14], 0x10
jb 0x42591e
mov esi, dword [esi]
push 0
push 6
lea edx, [edi + 0x54]
mov ecx, esi
call fcn.004a5540
add esp, 8
lea eax, [edi + 0x38]
lea ecx, [ebp - 0x2040]
push eax
call fcn.00409320
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004f53d0
cmp dword [ebp - 0x202c], 0x10
lea eax, [ebp - 0x2040]
cmovae eax, dword [ebp - 0x2040]
push eax
push str.SELECT__FROM_sqlite_master_WHERE_typetable_and_name_s
lea eax, [ebp - 0x1010]
push 0x1000
push eax
call fcn.0040eb30
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x2018], 0
add esp, 0x1c
mov dword [ebp - 0x2014], 0xf
mov byte [ebp - 0x2028], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4259b0
sub ecx, edx
lea eax, [ebp - 0x1010]
push ecx
push eax
lea ecx, [ebp - 0x2028]
call fcn.00409bb0
mov dword [ebp - 0x2068], 0
mov dword [ebp - 0x2064], 0
mov dword [ebp - 0x2060], 0
mov dword [ebp - 0x205c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2028]
cmp dword [ebp - 0x2014], 0x10
mov dword [ebp - 0x2048], 0
cmovae edx, dword [ebp - 0x2028]
mov ecx, edx
mov dword [ebp - 0x2044], 0xf
mov byte [ebp - 0x2058], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425a30
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2058]
call fcn.00409bb0
lea eax, [ebp - 0x2068]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2058]
lea ebx, [edi + 0x50]
push eax
mov ecx, ebx
call fcn.00427da0
mov byte [ebp - 4], 2
mov esi, eax
mov edx, dword [ebp - 0x2044]
cmp edx, 0x10
jb 0x425aa2
mov ecx, dword [ebp - 0x2058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425a98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c7a
push edx
push ecx
call fcn.004f2ead
add esp, 8
test esi, esi
jne 0x425b5a
mov ecx, dword [ebp - 0x2064]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2068]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x425b60
push 0x1000
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.004f53d0
cmp dword [ebp - 0x202c], 0x10
lea eax, [ebp - 0x2040]
push str.value
cmovae eax, dword [ebp - 0x2040]
push 0x53a53c
push eax
push str.CREATE_TABLE__s___s_varchar_primary_key___s_varchar_
lea eax, [ebp - 0x2010]
push 0x1000
push eax
call fcn.0040eb30
lea edx, [ebp - 0x2010]
add esp, 0x24
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x425b21
sub edx, ecx
lea eax, [ebp - 0x2010]
push edx
push eax
lea ecx, [ebp - 0x2028]
call fcn.00409bb0
lea eax, [ebp - 0x2028]
mov ecx, ebx
push eax
call fcn.00427c20
cmp eax, 0x65
je 0x425b5a
mov esi, dword [ebp - 0x2068]
xor bl, bl
jmp 0x425b66
mov esi, dword [ebp - 0x2068]
mov byte [edi + 4], 1
mov bl, 1
test esi, esi
je 0x425bf0
mov edi, dword [ebp - 0x2064]
cmp esi, edi
je 0x425b8c
mov ecx, esi
call fcn.00426330
add esi, 0xc
cmp esi, edi
jne 0x425b78
mov esi, dword [ebp - 0x2068]
mov ecx, dword [ebp - 0x2060]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x425bc8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c7f
push ecx
push esi
call fcn.004f2ead
add esp, 8
mov dword [ebp - 0x2068], 0
mov dword [ebp - 0x2064], 0
mov dword [ebp - 0x2060], 0
mov edx, dword [ebp - 0x2014]
cmp edx, 0x10
jb 0x425c26
mov ecx, dword [ebp - 0x2028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425c1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c84
push edx
push ecx
call fcn.004f2ead
add esp, 8
mov edx, dword [ebp - 0x202c]
cmp edx, 0x10
jb 0x425c5c
mov ecx, dword [ebp - 0x2040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425c52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c89
push edx
push ecx
call fcn.004f2ead
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f313b
mov esp, ebp
pop ebp
ret
call fcn.004f855c
call fcn.004f855c
call fcn.004f855c
call fcn.004f855c
int3