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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4a9a08]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
xor ecx, ecx
cmp dword [eax + 0x18], ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], ecx
jne 0x44d5ed
call fcn.00449e7f
test eax, eax
jne 0x44d5ed
cmp dword [ebp - 0x54], eax
je 0x44cfb4
lea eax, [ebp - 0x50]
push eax
push edi
push ebx
push dword [ebp - 0x28]
call fcn.0044b667
add esp, 0x10
test eax, eax
mov dword [ebp - 0x40], eax
jl 0x44d5ed
mov ebx, dword [ebp - 0x54]
push ebx
push dword [ebp - 0x28]
call fcn.00461568
test edi, edi
pop ecx
pop ecx
je 0x44cf6d
test dword [edi + 4], 0xfffffffe
jne 0x44cf6d
test eax, eax
je 0x44cf6d
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x2c]
jne 0x44cf6d
mov dword [ebp - 0x40], 1
push dword [ebp - 0x50]
lea eax, [ebp - 0x78]
push str.index
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push eax
call fcn.00462193
add esp, 0x14
test eax, eax
je 0x44cf97
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.00462258
pop ecx
pop ecx
push dword [ebx + 4]
push dword [ebx + 8]
push dword [ebp - 0x28]
call fcn.0044b15a
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44d5ed
jmp 0x44cfd5
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 0xa4]
test edi, edi
je 0x44d5ed
push dword [edi + 0x3c]
push dword [ebp - 0x38]
call fcn.00449636
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
imul eax, eax, 0x18
mov ebx, dword [ecx + 4]
add ebx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x18], 0
mov dword [ebp - 0x3c], ebx
jne 0x44d5ed
cmp byte [edi + 0x1c], 0
je 0x44d011
push dword [edi]
push str.table__s_may_not_be_indexed
push eax
call fcn.00449874
add esp, 0xc
jmp 0x44d5ed
push esi
xor esi, esi
cmp dword [edi + 0x18], esi
je 0x44d029
push str.views_may_not_be_indexed
push eax
call fcn.00449874
jmp 0x44d5ea
cmp dword [ebp - 0x50], esi
je 0x44d0de
push dword [ebp - 0x50]
call fcn.0044b580
push dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.00449590
test eax, eax
pop ecx
pop ecx
jne 0x44d5ec
cmp dword [ebp - 0x30], esi
je 0x44d5ec
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0044b6bb
test eax, eax
pop ecx
pop ecx
jne 0x44d5ec
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x44], 0
jne 0x44d122
push dword [ebp - 0x28]
call fcn.00449590
test eax, eax
pop ecx
jne 0x44d5ec
push dword [ebx]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.0044b1ba
add esp, 0xc
test eax, eax
je 0x44d0b2
cmp dword [ebp + 0x2c], esi
jne 0x44d5ec
push dword [ebp - 0x30]
push str.index__s_already_exists
jmp 0x44d0ce
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.0044b0e7
add esp, 0xc
test eax, eax
je 0x44d122
push dword [ebp - 0x30]
push str.there_is_already_a_table_named__s
push dword [ebp - 0x28]
call fcn.00449874
add esp, 0xc
jmp 0x44d5ec
mov eax, dword [edi + 0x10]
xor ecx, ecx
inc ecx
jmp 0x44d0ea
mov eax, dword [eax + 0x20]
inc ecx
cmp eax, esi
jne 0x44d0e6
push ecx
lea eax, [ebp - 0x24]
push 0x492038
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
push esi
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x30], esi
push dword [edi]
lea eax, [ebp - 0x30]
push str.sqlite_autoindex_
push eax
call fcn.00449f6d
add esp, 0x20
cmp dword [ebp - 0x30], esi
je 0x44d5ec
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
jne 0x44d170
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
imul eax, eax, 0x14
mov eax, dword [eax + ecx - 0x14]
push eax
mov dword [ebp - 0x64], eax
call sub.MSVCR80.dll_strlen
mov ecx, dword [ebp - 0x60]
add eax, eax
and ecx, 1
or eax, ecx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
call fcn.0045edc7
add esp, 0x10
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x44d5ec
mov cl, byte [ebp + 0x28]
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov byte [eax + 8], cl
and dword [ebp - 0x2c], esi
cmp dword [ebx], esi
jle 0x44d1a5
xor esi, esi
mov eax, dword [ebx + 0xc]
mov eax, dword [esi + eax]
test eax, eax
je 0x44d198
mov eax, dword [eax + 4]
push dword [eax]
call sub.MSVCR80.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add esi, 0xc
cmp eax, dword [ebx]
jl 0x44d179
push dword [ebp - 0x30]
call sub.MSVCR80.dll_strlen
mov ebx, dword [ebx]
mov ecx, ebx
imul ecx, ecx, 0xd
mov dword [ebp - 0x48], eax
add ecx, eax
mov eax, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x35]
push 1
push eax
call fcn.00449ed6
add esp, 0xc
mov esi, eax
call fcn.00449e7f
test eax, eax
jne 0x44d5d8
mov ecx, dword [ebp - 0x48]
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], eax
lea eax, [eax + ebx*4]
mov dword [esi + 8], eax
lea eax, [eax + ebx*4]
mov dword [esi + 0xc], eax
lea eax, [eax + ebx*4 + 4]
mov dword [esi + 0x28], eax
add eax, ebx
mov dword [esi], eax
push dword [ebp - 0x30]
lea ecx, [eax + ecx + 1]
push eax
mov dword [ebp - 0x34], ecx
call sub.MSVCR80.dll_strcpy
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0
mov dword [esi + 0x10], edi
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x18], al
sete al
mov byte [esi + 0x19], al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + eax + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x78], 4
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xc]
sbb ebx, ebx
and dword [ebp - 0x2c], 0
neg ebx
dec ebx
cmp dword [eax], 0
mov dword [ebp - 0x58], ecx
jle 0x44d34e
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x48], eax
xor eax, eax
cmp eax, dword [edi + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
jge 0x44d36c
mov eax, dword [ebp - 0x3c]
push dword [eax]
push dword [ebp - 0x48]
call fcn.0044992b
test eax, eax
pop ecx
pop ecx
je 0x44d29b
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
add dword [ebp - 0x3c], 0x14
cmp eax, dword [edi + 4]
jl 0x44d279
mov eax, dword [ebp - 0x44]
cmp eax, dword [edi + 4]
jge 0x44d36c
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
test ecx, ecx
je 0x44d2e1
mov ecx, dword [ecx + 4]
mov eax, dword [ebp - 0x34]
push dword [ecx]
mov dword [ebp - 0x44], eax
push eax
call sub.MSVCR80.dll_strcpy
push dword [ebp - 0x34]
call sub.MSVCR80.dll_strlen
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 1]
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x44d2fd
mov ecx, dword [edi + 8]
imul eax, eax, 0x14
mov eax, dword [eax + ecx + 0xc]
test eax, eax
mov dword [ebp - 0x44], eax
jne 0x44d2fd
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x44], 0
jne 0x44d31e
push 0xffffffffffffffff
push dword [ebp - 0x44]
push dword [ebp - 0x28]
call fcn.0044b945
add esp, 0xc
test eax, eax
je 0x44d5d8
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x44]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + 8]
mov eax, dword [ebp - 0x2c]
mov edx, dword [esi + 0x28]
add dword [ebp - 0x58], 0xc
and cl, bl
mov byte [eax + edx], cl
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, dword [ecx]
mov dword [ebp - 0x2c], eax
jl 0x44d25c
push esi
call fcn.0044c368
mov eax, dword [ebp - 0x28]
cmp edi, dword [eax + 0xa4]
pop ecx
jne 0x44d3ff
mov ebx, dword [edi + 0x10]
jmp 0x44d3fb
push dword [ebp - 0x48]
push dword [edi]
push str.table__s_has_no_column_named__s
push dword [ebp - 0x28]
call fcn.00449874
add esp, 0x10
jmp 0x44d5d8
mov ecx, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x44d3f8
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x34], eax
jle 0x44d3f3
mov ecx, dword [ebx + 0x2c]
mov edx, dword [esi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi + 0x2c]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebx + 8]
mov ecx, dword [eax + ecx]
cmp ecx, dword [eax + edx]
jne 0x44d3f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x28]
mov cl, byte [eax + ecx]
cmp cl, byte [eax + edx]
jne 0x44d3f3
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x48]
je 0x44d3e5
push dword [ebp - 0x48]
push ecx
call fcn.0044992b
test eax, eax
pop ecx
pop ecx
jne 0x44d3f0
mov eax, dword [ebp - 0x34]
inc eax
cmp eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
jl 0x44d397
jmp 0x44d3f3
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebx + 4]
je 0x44d447
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x44d386
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x44], 0
je 0x44d485
push esi
push dword [esi]
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
mov eax, dword [esi + 0x24]
push dword [esi]
add eax, 0x20
push eax
call fcn.0044ad08
add esp, 0x10
test eax, eax
jne 0x44d5d8
mov ebx, dword [ebp - 0x38]
or dword [ebx + 8], 0x10
cmp dword [ebp - 0x54], eax
je 0x44d5ae
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x14], eax
jmp 0x44d5ae
mov al, byte [ebx + 0x18]
mov cl, byte [esi + 0x18]
cmp al, cl
je 0x44d5d8
cmp al, 0x63
je 0x44d470
cmp cl, 0x63
je 0x44d470
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [ebp - 0x28]
call fcn.00449874
add esp, 0xc
cmp byte [ebx + 0x18], 0x63
jne 0x44d5d8
mov al, byte [esi + 0x18]
mov byte [ebx + 0x18], al
jmp 0x44d5d8
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x20]
lea ecx, [ebx + 1]
push eax
mov dword [ebp - 0x48], ebx
mov dword [eax + 0x20], ecx
call fcn.0045c534
test eax, eax
pop ecx
mov dword [ebp - 0x2c], eax
je 0x44d5d8
push dword [ebp - 0x40]
push 1
push dword [ebp - 0x28]
call fcn.0044c730
push 0
push dword [ebp - 0x40]
push 0x1c
push dword [ebp - 0x2c]
call fcn.004539bb
push 0
push ebx
push 0x76
push dword [ebp - 0x2c]
call fcn.004539bb
add esp, 0x2c
cmp dword [ebp + 0x20], 0
je 0x44d50d
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x44d50d
cmp dword [ebp + 0x1c], 0
mov edx, 0x48bcaa
je 0x44d4ef
mov edx, str._UNIQUE
mov eax, dword [ebp - 0x50]
mov ecx, dword [ecx]
push dword [eax]
sub ecx, dword [eax]
inc ecx
push ecx
push edx
push str.CREATE_s_INDEX__.s
call fcn.0045a4e0
add esp, 0x10
mov dword [ebp - 0x3c], eax
jmp 0x44d511
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x40], 1
mov eax, str.sqlite_temp_master
je 0x44d521
mov eax, str.sqlite_master
push dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
push dword [edi]
mov ecx, dword [ebp - 0x5c]
push dword [esi]
push eax
mov eax, dword [ebx + 4]
push dword [ecx + eax]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push dword [ebp - 0x28]
call fcn.0044b06b
push 0
push 1
push 0xa
push dword [ebp - 0x2c]
call fcn.004539bb
push dword [ebp - 0x3c]
call fcn.004497fa
add esp, 0x30
cmp dword [ebp - 0x54], 0
je 0x44d5ae
push dword [ebp - 0x48]
mov eax, esi
push dword [ebp - 0x28]
call fcn.0044cd57
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
push ebx
call fcn.0044b9c1
add esp, 0x14
push 0xffffffffffffffff
push dword [esi]
push str.name_q
call fcn.0045a4e0
pop ecx
pop ecx
push eax
push 0
push dword [ebp - 0x40]
push 0x1a
push dword [ebp - 0x2c]
call fcn.00454f87
push 0
push 0
push 0xd
push dword [ebp - 0x2c]
call fcn.004539bb
add esp, 0x28
cmp byte [ebx + 0x44], 0
jne 0x44d5ba
cmp dword [ebp - 0x54], 0
jne 0x44d5d8
cmp dword [ebp + 0x1c], 5
jne 0x44d5cd
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44d5cd
cmp byte [eax + 0x18], 5
jne 0x44d621
mov eax, dword [edi + 0x10]
mov dword [esi + 0x20], eax
mov dword [edi + 0x10], esi
xor esi, esi
test esi, esi
je 0x44d5ec
push dword [esi + 0x1c]
call fcn.004497fa
push esi
call fcn.004497fa
pop ecx
pop ecx
pop esi
push dword [ebp - 0x4c]
call fcn.0045e861
push dword [ebp - 0x54]
call fcn.0044c4e3
push dword [ebp - 0x30]
call fcn.004497fa
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
xor ecx, ebp
pop ebx
call fcn.004801ca
leave
ret
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], 5
je 0x44d627
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x44d616
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov dword [eax + 0x20], esi
jmp 0x44d5d6