Function at 0x463ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [0x4e7744]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov edx, str.sqlite_temp_master
push ebx
mov ebx, dword [esp + 0x70]
mov ecx, str.sqlite_master
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
or esi, 0xffffffbf
cmp eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
push edi
mov dword [esp + 0x3c], eax
cmove ecx, edx
push 0
lea eax, [esp + 0x60]
mov dword [esp + 0x28], ebx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x28], ebp
push 5
push eax
mov dword [esp + 0x2c], 0
mov byte [ebx + 0xa9], 1
mov dword [esp + 0x6c], str.table
mov dword [esp + 0x38], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x4d339c
mov dword [esp + 0x7c], str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_int_sql_text_
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00463860
and dword [ebx + 0x18], esi
add esp, 0x10
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x463ca3
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x10]
shl edi, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + edi + 4]
test eax, eax
jne 0x463bdb
mov eax, dword [esi + 0x1c]
or word [eax + 0x4e], 1
xor eax, eax
jmp 0x463d02
cmp byte [eax + 9], 0
je 0x463bf3
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x463bf3
push eax
call fcn.004268b0
add esp, 4
mov eax, dword [esi + edi + 4]
test eax, eax
je 0x463c05
cmp byte [eax + 8], 0
jne 0x463d24
push 0
push 0
push eax
call fcn.0044e0f0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x463d1c
push edi
call fcn.00416860
mov ecx, dword [esp + 0x24]
add esp, 4
mov ebp, eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x463c3b
push ecx
push ebx
call fcn.00455ea0
add esp, 8
test ebp, ebp
jne 0x463c43
xor esi, esi
jmp 0x463c78
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463c48
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push ebx
mov dword [esp + 0x28], eax
call fcn.00455fb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x463c78
push dword [esp + 0x1c]
push ebp
push esi
call fcn.004ac060
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esi + eax + 4]
cmp byte [eax + 9], 0
je 0x463c9f
add dword [eax + 0xc], 0xffffffff
jne 0x463c9f
push eax
call fcn.00492520
add esp, 4
test edi, edi
je 0x463d00
cmp edi, 7
je 0x463cb0
cmp edi, 0xc0a
jne 0x463cf3
cmp byte [ebx + 0x53], 0
jne 0x463cf3
cmp byte [ebx + 0x54], 0
jne 0x463cf3
cmp dword [ebx + 0xc0], 0
mov byte [ebx + 0x53], 1
jle 0x463cd3
mov dword [ebx + 0x118], 1
inc dword [ebx + 0x120]
xor eax, eax
mov word [ebx + 0x124], ax
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x463cf3
mov dword [eax + 0xc], 7
push dword [esp + 0x18]
push ebx
call fcn.0046f2a0
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov byte [ebx + 0xa9], 0
pop ebx
xor ecx, esp
call fcn.004aa4f4
add esp, 0x68
ret
mov dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x14]
lea edi, [esp + 0x48]
mov ebx, dword [esp + 0x10]
xor esi, esi
push edi
inc esi
push esi
push dword [ebx + ebp + 4]
call fcn.0044f410
add esp, 0xc
add edi, 4
cmp esi, 5
jl 0x463d32
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
and eax, 0x2000000
or eax, 0
je 0x463d76
xor edx, edx
mov esi, edx
mov dword [esp + 0x48], edx
mov ecx, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
jmp 0x463d82
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov edi, ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [edi + eax + 0xc]
mov dword [eax], edx
test ecx, ecx
je 0x463dc2
cmp dword [esp + 0x18], 0
jne 0x463df1
test byte [ebx + 0x18], 0x40
jne 0x463df1
and cl, 3
movzx eax, cl
mov ecx, 1
cmove eax, ecx
mov byte [esp + 0x24], al
push dword [esp + 0x24]
push ebx
call fcn.00474280
add esp, 8
mov edx, dword [esp + 0x10]
mov al, byte [ebx + 0x50]
mov ecx, dword [edi + edx + 0xc]
mov byte [ecx + 0x4d], al
mov eax, dword [edi + edx + 0xc]
cmp dword [eax + 0x50], 0
jne 0x463e7f
test esi, esi
jns 0x463e57
cmp esi, 0x80000000
jne 0x463e55
mov esi, 0x7fffffff
jmp 0x463e61
and ecx, 3
cmp cl, byte [ebx + 0x50]
je 0x463dc2
mov eax, dword [ebp]
test eax, eax
je 0x463e0a
push eax
push ebx
call fcn.00455ea0
add esp, 8
push 0
push 0x44
push ebx
call fcn.00455fb0
add esp, 0xc
test eax, eax
je 0x463e29
mov ecx, 0x11
mov esi, str.attached_databases_must_use_the_same_text_encoding_as_main_database
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp], eax
mov edi, 1
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
je 0x463c7e
mov esi, dword [esp + 0x14]
push dword [esi + ecx + 4]
call fcn.0044e8f0
add esp, 4
jmp 0x463c82
neg esi
test esi, esi
mov ecx, 0xfffff830
cmove esi, ecx
mov dword [eax + 0x50], esi
mov eax, dword [edi + edx + 0xc]
push dword [eax + 0x50]
push dword [edi + edx + 4]
call fcn.00451400
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, dword [edi + edx + 0xc]
mov ecx, dword [esp + 0x4c]
mov byte [eax + 0x4c], cl
mov eax, dword [edi + edx + 0xc]
cmp byte [eax + 0x4c], 0
jne 0x463e98
mov byte [eax + 0x4c], 1
mov eax, dword [edi + edx + 0xc]
cmp byte [eax + 0x4c], 4
jbe 0x463efc
mov eax, dword [ebp]
test eax, eax
je 0x463eaf
push eax
push ebx
call fcn.00455ea0
add esp, 8
push 0
push 0x18
push ebx
call fcn.00455fb0
mov edx, eax
add esp, 0xc
test edx, edx
je 0x463ef4
mov ecx, dword [str.unsupported_file_format]
mov dword [edx], ecx
mov ecx, dword [0x4d5144]
mov dword [edx + 4], ecx
mov ecx, dword [0x4d5148]
mov dword [edx + 8], ecx
mov eax, dword [0x4d514c]
mov dword [edx + 0xc], eax
mov eax, dword [0x4d5150]
mov dword [edx + 0x10], eax
mov eax, dword [0x4d5154]
mov dword [edx + 0x14], eax
mov dword [ebp], edx
jmp 0x463e2c
cmp dword [esp + 0x18], 0
jne 0x463f12
cmp ecx, 4
jl 0x463f12
mov eax, dword [ebx + 0x24]
and dword [ebx + 0x20], 0xfffffffd
mov dword [ebx + 0x24], eax
mov eax, dword [edi + edx + 4]
push dword [esp + 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x10]
push dword [edx + eax]
push str.SELECTFROM__w_._s_ORDER_BY_rowid
push ebx
call fcn.00466e10
mov esi, dword [ebx + 0x158]
lea ecx, [esp + 0x3c]
push 0
push ecx
mov ebp, eax
mov dword [ebx + 0x158], 0
push fcn.00463860
push ebp
push ebx
call fcn.00413f40
mov edi, eax
mov dword [ebx + 0x158], esi
add esp, 0x24
test edi, edi
cmove edi, dword [esp + 0x38]
test ebp, ebp
je 0x463f7a
push ebp
push ebx
call fcn.00455ea0
add esp, 8
test edi, edi
jne 0x463f8b
push dword [esp + 0x18]
push ebx
call fcn.0044c170
add esp, 8
cmp byte [ebx + 0x53], 0
je 0x463fa1
push ebx
mov edi, 7
call fcn.0046f220
add esp, 4
jmp 0x463fa5
test edi, edi
je 0x463fb6
mov eax, dword [ebx + 0x20]
and eax, 0x8000000
or eax, 0
je 0x463e31
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax + 0xc]
or word [eax + 0x4e], 1
xor edi, edi
jmp 0x463e35