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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x70], ebx
jle 0x44d8f6
push str.parameters_are_not_allowed_in_views
push esi
call fcn.004495c9
push dword [ebp + 0x18]
call fcn.0045ab33
add esp, 0xc
jmp 0x44dc6b
push edi
push ebx
push 1
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call fcn.0044c579
mov edi, dword [esi + 0xa4]
add esp, 0x18
cmp edi, ebx
je 0x44dc61
cmp dword [esi + 0x18], ebx
jne 0x44dc61
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call fcn.0044b3bc
push dword [edi + 0x3c]
push dword [esi]
call fcn.0044938b
push dword [ebp + 8]
push str.view
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00461f18
mov ebx, dword [ebp + 0x18]
add esp, 0x2c
test eax, eax
je 0x44d970
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00462073
test eax, eax
pop ecx
pop ecx
je 0x44d970
push ebx
jmp 0x44dc64
push ebx
call fcn.0045ea8a
push ebx
mov dword [edi + 0x18], eax
call fcn.0045ab33
pop ecx
pop ecx
call fcn.00449bd4
test eax, eax
jne 0x44dc6a
mov eax, dword [esi]
cmp byte [eax + 0x44], 0
jne 0x44d99f
push edi
push esi
call fcn.0044c868
pop ecx
pop ecx
mov eax, dword [esi + 0x94]
mov cl, byte [eax]
test cl, cl
mov edi, dword [esi + 0x98]
je 0x44d9bc
cmp cl, 0x3b
je 0x44d9bc
mov ecx, edi
shr ecx, 1
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
and edi, 1
sub eax, ebx
jmp 0x44d9e3
mov al, byte [ebx + eax - 1]
cmp al, 0x3b
je 0x44d9df
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll_isspace]
test eax, eax
pop ecx
je 0x44d9ea
mov eax, dword [ebp + 8]
dec eax
test eax, eax
mov dword [ebp + 8], eax
jg 0x44d9c8
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
and edi, 1
lea ebx, [ebx + eax - 1]
mov eax, dword [esi]
or edi, 2
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp + 8], eax
jne 0x44dc6a
call fcn.00449bd4
test eax, eax
jne 0x44dc6a
mov edi, dword [esi + 0xa4]
test edi, edi
je 0x44dc6a
push dword [edi + 0x3c]
push dword [esi]
call fcn.0044938b
cmp dword [edi + 0x34], 0
pop ecx
pop ecx
mov dword [ebp - 4], eax
je 0x44da91
push 0x24
lea eax, [ebp - 0x50]
push 0
push eax
call sub.MSVCR80.dll_memset
push 0x28
lea eax, [ebp - 0x78]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [edi]
push dword [edi + 0x34]
or word [ebp - 0x5e], 0xffff
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
mov word [ebp - 0x78], 1
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x3a], 1
call fcn.0045f811
add esp, 0x20
test eax, eax
jne 0x44dc6a
mov eax, dword [ebp + 8]
cmp byte [eax + 0x44], 0
je 0x44daaa
mov ecx, dword [eax + 0x40]
mov dword [edi + 0x14], ecx
cmp byte [eax + 0x44], 0
jne 0x44dbab
push esi
call fcn.0045c2b9
test eax, eax
pop ecx
mov dword [ebp - 0x14], eax
je 0x44dc6a
push 0
push 0
push 0x1b
push eax
call fcn.00453740
add esp, 0x10
cmp dword [edi + 0x18], 0
jne 0x44dadf
mov dword [ebp - 0xc], str.table
mov ecx, str.TABLE
jmp 0x44daeb
mov dword [ebp - 0xc], str.view
mov ecx, str.VIEW
mov eax, dword [esi + 0x8c]
sub ebx, eax
push eax
inc ebx
push ebx
push ecx
push str.CREATE__s__.s
call fcn.0045a265
mov ebx, dword [ebp - 4]
add esp, 0x10
cmp ebx, 1
mov dword [ebp - 0x10], eax
mov ecx, str.sqlite_temp_master
je 0x44db19
mov ecx, str.sqlite_master
push dword [ebp - 0x10]
imul ebx, ebx, 0x18
mov eax, dword [edi]
push eax
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push ecx
push dword [eax + ebx]
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage0__sql_Q_WHERE_rowid1
push esi
call fcn.0044adc0
push dword [ebp - 0x10]
call fcn.0044954f
push dword [ebp - 4]
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0044b716
add esp, 0x30
cmp byte [edi + 0x20], 0
je 0x44db7b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, ebx
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 0x74], 0
jne 0x44db7b
push dword [eax]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push esi
call fcn.0044adc0
add esp, 0xc
push 0xffffffffffffffff
push dword [edi]
push str.tbl_name_q
call fcn.0045a265
pop ecx
pop ecx
push eax
push 0
push dword [ebp - 4]
push 0x1a
push dword [ebp - 0x14]
call fcn.00454d0c
mov eax, dword [ebp + 8]
add esp, 0x18
cmp byte [eax + 0x44], 0
je 0x44dc6a
cmp dword [esi + 0x18], 0
jne 0x44dc6a
mov ebx, dword [edi + 0x3c]
push edi
push dword [edi]
mov dword [ebp - 0x14], ebx
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
push dword [edi]
add ebx, 4
push ebx
call fcn.0044aa5d
add esp, 0x10
test eax, eax
jne 0x44dc6a
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x44dc20
mov eax, dword [ebp - 0x14]
add eax, 0x58
mov dword [ebp - 0x14], eax
push dword [ebx + 8]
call sub.MSVCR80.dll_strlen
inc eax
push eax
push dword [ebx + 8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
call fcn.0044aa17
push ebx
push dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
push dword [ebx + 8]
push dword [ebp - 0x14]
call fcn.0044aa5d
mov ebx, dword [ebx + 4]
add esp, 0x20
test ebx, ebx
jne 0x44dbec
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0xa4], ecx
inc dword [eax + 0x14]
or dword [eax + 8], 0x10
cmp dword [edi + 0x18], ecx
jne 0x44dc6a
mov eax, dword [ebp - 8]
cmp dword [eax], ecx
mov esi, dword [esi + 0x8c]
jne 0x44dc4a
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, esi
push eax
push esi
call fcn.0046064f
add eax, 0xd
pop ecx
mov dword [edi + 0x38], eax
jmp 0x44dc69
push dword [ebp + 0x18]
call fcn.0045ab33
pop ecx
pop edi
pop esi
pop ebx
leave
ret