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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, edx
mov dword [esp + 0x14], 0
cmp eax, 1
mov dword [esp + 8], eax
mov dword [esp + 0x68], eax
mov edx, str.sqlite_temp_master
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x6c], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, str.sqlite_master
mov dword [esp + 0x78], eax
cmove ecx, edx
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], edi
push eax
lea eax, [esp + 0x70]
mov byte [edi + 0xa5], 1
push 3
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x61f7d8
mov dword [esp + 0x48], str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_int_sql_text_
mov dword [esp + 0x4c], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 0
call fcn.0048b810
mov esi, dword [esp + 0x84]
add esp, 0x10
test esi, esi
jne 0x48bce4
mov eax, dword [esp + 0x10]
mov esi, dword [edi + 0x10]
shl eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
mov ecx, dword [esi + eax + 4]
test ecx, ecx
jne 0x48bac7
mov eax, dword [esi + 0x1c]
or word [eax + 0x4e], 1
xor eax, eax
mov byte [edi + 0xa5], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ecx + 9], 0
je 0x48badf
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x48badf
call fcn.00444140
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + eax + 4]
cmp byte [ecx + 8], 0
jne 0x48bb21
push 0
xor edx, edx
call fcn.004470e0
mov esi, eax
add esp, 4
test esi, esi
je 0x48bb15
mov ecx, esi
call fcn.004b61c0
mov ecx, dword [ebp + 8]
mov edx, edi
push eax
call fcn.004317f0
add esp, 4
jmp 0x48bcc3
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov esi, dword [edi + eax + 4]
lea edx, [esp + 0x40]
lea edx, [edx + ecx*4]
mov dword [esp + 0x20], edx
cmp byte [esi + 9], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x24], eax
je 0x48bb68
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x48bb68
mov ecx, esi
call fcn.00444140
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, 0xe
jne 0x48bb7d
mov eax, dword [eax]
mov ecx, dword [esi + 0x14]
add ecx, dword [eax + 0x64]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
jmp 0x48bb8b
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4 + 0x28]
bswap eax
mov dword [edx], eax
cmp byte [esi + 9], 0
je 0x48bba2
add dword [esi + 0xc], 0xffffffff
jne 0x48bba2
mov ecx, esi
call fcn.00444100
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 5
jl 0x48bb30
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x20]
and eax, 0x2000000
or eax, 0
je 0x48bbd1
xorps xmm0, xmm0
xor edx, edx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], edx
jmp 0x48bbd5
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + ecx + 0xc]
mov dword [ecx], eax
test edx, edx
je 0x48bd34
cmp dword [esp + 0x10], 0
jne 0x48bc44
and dl, 3
mov ecx, 1
movzx eax, dl
cmove eax, ecx
mov byte [edi + 0x4e], al
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + edx + 0xc]
mov al, byte [edi + 0x4e]
mov byte [ecx + 0x4d], al
mov ecx, dword [esi + edx + 0xc]
cmp dword [ecx + 0x50], 0
jne 0x48bd75
mov eax, dword [esp + 0x48]
test eax, eax
jns 0x48bd4b
cmp eax, 0x80000000
jne 0x48bd49
mov eax, bind
jmp 0x48bd5a
movzx eax, byte [edi + 0x4e]
cmp edx, eax
je 0x48bc07
push str.attached_databases_must_use_the_same_text_encoding_as_main_database
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.004317f0
add esp, 4
mov esi, 1
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x1c], 0
je 0x48bcc3
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x14], eax
cmp byte [eax + 9], 0
je 0x48bc94
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x48bc94
mov ecx, eax
call fcn.00444140
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, eax
call fcn.00447d20
test eax, eax
jne 0x48bcac
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.00447e70
mov eax, dword [esp + 0x14]
cmp byte [eax + 9], 0
je 0x48bcc3
add dword [eax + 0xc], 0xffffffff
jne 0x48bcc3
mov ecx, eax
call fcn.00444100
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx + 4]
cmp byte [ecx + 9], 0
je 0x48bce0
add dword [ecx + 0xc], 0xffffffff
jne 0x48bce0
call fcn.00444100
test esi, esi
je 0x48bd25
cmp esi, 7
je 0x48bcf1
cmp esi, 0xc0a
jne 0x48bd1a
cmp byte [edi + 0x51], 0
jne 0x48bd1a
cmp byte [edi + 0x52], 0
jne 0x48bd1a
cmp dword [edi + 0xb8], 0
mov byte [edi + 0x51], 1
jle 0x48bd14
mov dword [edi + 0x108], 1
inc dword [edi + 0x110]
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004748b0
mov byte [edi + 0xa5], 0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + eax + 0xc]
or word [eax + 0x4e], 4
jmp 0x48bc0b
neg eax
test eax, eax
mov dword [esp + 0x28], 0xfffff830
cmove eax, dword [esp + 0x28]
mov dword [ecx + 0x50], eax
mov edx, dword [esi + edx + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + 0x50]
mov ecx, dword [esi + ecx + 4]
call fcn.004468d0
mov edx, dword [esp + 0xc]
mov eax, dword [esi + edx + 0xc]
mov ecx, dword [esp + 0x44]
mov byte [eax + 0x4c], cl
mov eax, dword [esi + edx + 0xc]
cmp byte [eax + 0x4c], 0
jne 0x48bd8e
mov byte [eax + 0x4c], 1
mov eax, dword [esi + edx + 0xc]
cmp byte [eax + 0x4c], 4
jbe 0x48bda2
push str.unsupported_file_format
jmp 0x48bc51
cmp dword [esp + 0x10], 0
jne 0x48bdb8
cmp ecx, 4
jl 0x48bdb8
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfffffffd
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x10]
push dword [esp + 0x2c]
push dword [edx + eax]
push str.SELECT_name__rootpage__sql_FROM___w_._s_ORDER_BY_rowid
push edi
call fcn.00433640
mov esi, dword [edi + 0x138]
lea ecx, [esp + 0x78]
push 0
push ecx
push fcn.0048b810
push eax
push edi
mov dword [esp + 0x4c], eax
mov dword [edi + 0x138], 0
call fcn.00487190
mov ecx, dword [esp + 0x4c]
add esp, 0x24
mov dword [edi + 0x138], esi
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], eax
cmove esi, dword [esp + 0x74]
test ecx, ecx
je 0x48be4f
cmp dword [edi + 0x1e0], 0
je 0x48be26
mov edx, ecx
mov ecx, edi
call fcn.00431090
jmp 0x48be4f
cmp ecx, dword [edi + 0x130]
jb 0x48be46
cmp ecx, dword [edi + 0x134]
jae 0x48be46
mov eax, dword [edi + 0x12c]
mov dword [ecx], eax
mov dword [edi + 0x12c], ecx
jmp 0x48be4f
push ecx
call fcn.00431020
add esp, 4
test esi, esi
jne 0x48be5e
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00472870
cmp byte [edi + 0x51], 0
je 0x48be72
mov ecx, edi
mov esi, 7
call fcn.00474a70
jmp 0x48be76
test esi, esi
je 0x48be87
mov eax, dword [edi + 0x20]
and eax, 0x8000000
or eax, 0
je 0x48bc63
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + eax + 0xc]
or word [eax + 0x4e], 1
xor esi, esi
jmp 0x48bc67