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

Disassembly:
sub esp, 0xa4
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
cmp dword [ebp + 0x1c8], 0
mov ebx, dword [ebp]
push esi
push edi
mov esi, eax
jle 0x4491b5
push str.parameters_are_not_allowed_in_views
mov edi, ebp
call fcn.0041a700
add esp, 4
mov esi, dword [esp + 0xc4]
test esi, esi
je 0x4491aa
push esi
push ebx
call fcn.00459ee0
push esi
push ebx
call fcn.004186a0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc0]
push eax
push 0
push 1
push ecx
mov eax, esi
mov ecx, ebp
call fcn.00447f90
mov edi, dword [ebp + 0x200]
add esp, 0x10
test edi, edi
je 0x44918e
cmp dword [ebp + 0x40], 0
jne 0x44918e
mov edx, dword [esp + 0xc0]
push ebp
lea ecx, [esp + 0x20]
mov eax, esi
call fcn.00447eb0
mov esi, dword [edi + 0x44]
add esp, 4
mov ecx, ebx
call fcn.00459850
test eax, eax
jl 0x449264
cmp eax, 1
je 0x449264
mov edx, dword [ebp]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x60], ebp
mov ecx, dword [edx + 8]
shl eax, 4
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push esi
push ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], str.view
mov dword [esp + 0x74], eax
call fcn.00446b30
add esp, 8
test eax, eax
je 0x44926b
mov edi, ebx
call fcn.0045a090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov esi, dword [esp + 0xc4]
push 1
push esi
push ebx
call fcn.0043f7a0
add esp, 0xc
mov dword [edi + 0x1c], eax
test esi, esi
je 0x44928f
push esi
push ebx
call fcn.00459ee0
push esi
push ebx
call fcn.004186a0
add esp, 0x10
cmp byte [ebx + 0x1e], 0
jne 0x4491aa
cmp byte [ebx + 0x7c], 0
jne 0x4492a9
push edi
push ebp
call fcn.004495c0
add esp, 8
mov eax, dword [ebp + 0x1f4]
mov cl, byte [eax]
mov edx, dword [ebp + 0x1f8]
test cl, cl
je 0x4492c2
cmp cl, 0x3b
je 0x4492c2
add eax, edx
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx]
sub eax, ecx
test eax, eax
jle 0x4492e4
movzx edx, byte [ecx + eax - 1]
test byte [edx + 0x50a300], 1
je 0x4492e4
dec eax
test eax, eax
jg 0x4492d1
mov edi, dword [ebp]
cmp byte [edi + 0x1e], 0
lea eax, [ecx + eax - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edi
jne 0x4491aa
mov esi, dword [ebp + 0x200]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4491aa
mov edx, dword [esi + 0x44]
mov dword [esp + 0x14], 0xfff0bdc0
test edx, edx
je 0x449357
cmp dword [edi + 4], 0
mov dword [esp + 0x14], 0
jle 0x449357
mov eax, dword [edi + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x449357
mov ecx, dword [esp + 0x14]
inc ecx
add eax, 0x10
cmp ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
jl 0x449342
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x4493db
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.004bfe20
mov eax, dword [esi]
mov edx, 1
mov dword [esp + 0x90], esi
lea ecx, [esp + 0x7c]
add esp, 0xc
lea esi, [esp + 0x3c]
mov word [esp + 0x70], dx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ecx
mov byte [esp + 0x52], dl
call fcn.0043e2e0
test eax, eax
jne 0x4491aa
mov esi, dword [esp + 0x18]
cmp byte [edi + 0x7c], 0
je 0x4493f1
mov edx, dword [edi + 0x78]
mov dword [esi + 0x14], edx
cmp byte [edi + 0x7c], 0
jne 0x449539
mov edi, ebp
call fcn.0045c3a0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4491aa
push 0
push 0x2b
call fcn.00432150
mov edi, dword [esp + 0x20]
add esp, 8
cmp dword [edi + 0x1c], 0
jne 0x449429
mov dword [esp + 0x28], str.table
mov edx, str.TABLE
jmp 0x449436
mov dword [esp + 0x28], str.view
mov edx, str.VIEW
mov ecx, dword [ebp + 0x1ec]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
sub eax, ecx
push ecx
inc eax
push eax
push edx
push str.CREATE__s__.s
mov esi, ebx
call fcn.00419b80
mov esi, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], str.sqlite_temp_master
cmp esi, 1
je 0x449476
mov dword [esp + 0x1c], str.sqlite_master
mov edx, dword [ebp + 0x198]
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 0x19c]
push eax
mov eax, dword [ebx + 8]
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov edi, esi
shl edi, 4
mov ecx, dword [edi + eax]
push edx
push ecx
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
mov ebx, ebp
call fcn.004474a0
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
add esp, 0x24
push edx
push ebx
call fcn.004186a0
push esi
mov esi, ebp
call fcn.004489a0
mov eax, dword [esp + 0x24]
add esp, 0xc
test byte [eax + 0x22], 8
je 0x4494f7
mov eax, dword [ebx + 8]
mov ecx, dword [eax + edi + 0xc]
add eax, edi
cmp dword [ecx + 0x44], 0
jne 0x4494f7
mov edx, dword [eax]
push edx
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
mov ebx, ebp
call fcn.004474a0
mov ebx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
mov ecx, dword [eax]
push ecx
push str.tbl_name_q
mov esi, ebx
call fcn.00419b80
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
add esp, 0xc
push eax
push 0x63
xor eax, eax
xor ecx, ecx
call fcn.00432210
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp byte [edi + 0x7c], 0
je 0x4491aa
mov ecx, dword [esi]
mov edx, dword [esi + 0x44]
push esi
call fcn.0041a620
push ecx
lea ecx, [edx + 4]
call fcn.0041b780
add esp, 8
test eax, eax
je 0x449563
mov byte [edi + 0x1e], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov dword [ebp + 0x200], 0
inc dword [edi + 0x28]
or dword [edi + 0xc], 0x200
cmp dword [esi + 0x1c], 0
jne 0x4491aa
mov edx, dword [esp + 0x24]
mov ebp, dword [ebp + 0x1ec]
cmp dword [edx], edx
jne 0x449597
lea eax, [esp + 0x30]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
sub edx, ebp
mov ecx, ebp
call fcn.0041a4b0
pop edi
add eax, 0xd
mov dword [esi + 0x30], eax
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret