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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x49b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x28], eax
push edi
test esi, esi
jne 0x43dd12
test ecx, ecx
je 0x43e2ca
mov edi, dword [ebx + 0xf4]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x43e2ca
test ecx, ecx
jne 0x43dd44
mov edx, dword [edi]
mov ecx, eax
call fcn.0043dc91
mov ecx, dword [ebp - 0x40]
test eax, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
je 0x43dd44
or dword [edi + 0x1c], 0x1000
xor esi, esi
cmp byte [eax + 0xb1], 0
je 0x43dd79
test ecx, ecx
jne 0x43de07
cmp byte [edi + 0x2b], cl
je 0x43dd68
cmp dword [eax + 0xac], esi
jne 0x43de07
mov eax, dword [eax + 0xac]
mov dword [edi + 0x14], eax
cmp eax, 1
jne 0x43dd79
or dword [edi + 0x1c], eax
mov eax, 0x10000
test eax, edx
je 0x43ddf1
or dword [edi + 0x1c], eax
xor eax, eax
mov dword [ebp - 0x30], esi
cmp ax, word [edi + 0x22]
jge 0x43ddf1
mov edx, esi
mov dword [ebp - 0x2c], esi
mov ecx, dword [edi + 4]
add ecx, edx
mov dword [ebp - 0x34], ecx
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0xf0
je 0x43de19
cmp eax, 0x10
jne 0x43ddb2
mov byte [ecx + 8], 0x41
test byte [ecx + 0xe], 1
je 0x43ddd6
movsx eax, word [edi + 0x20]
cmp eax, dword [ebp - 0x30]
je 0x43ddd6
test dl, 0xf
jne 0x43ddd6
and edx, 0xfffffff2
or edx, 2
mov dword [ecx + 4], edx
or dword [edi + 0x1c], 0x800
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
inc ecx
movsx eax, word [edi + 0x22]
add edx, 0x10
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
cmp ecx, eax
jl 0x43dd95
mov edx, dword [ebp - 0x38]
test dl, dl
jns 0x43de85
mov eax, dword [edi + 0x1c]
test al, 8
je 0x43de5b
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
jmp 0x43de0c
push 0x48f169
push ebx
call fcn.004084dd
pop ecx
pop ecx
jmp 0x43e2ca
test byte [ecx + 0xe], 4
je 0x43de44
mov edx, 0x48f169
call fcn.00408365
push eax
mov eax, dword [ebp - 0x34]
push dword [eax]
push dword [edi]
push str.unknown_datatype_for__s._s:___s_
push ebx
call fcn.004084dd
add esp, 0x14
jmp 0x43e2ca
push dword [ecx]
push dword [edi]
push str.missing_datatype_for__s._s
push ebx
call fcn.004084dd
add esp, 0x10
jmp 0x43e2ca
test al, 4
jne 0x43de74
push dword [edi]
push str.PRIMARY_KEY_missing_on_table__s
push ebx
call fcn.004084dd
add esp, 0xc
jmp 0x43e2ca
or eax, 0x280
mov edx, edi
mov ecx, ebx
mov dword [edi + 0x1c], eax
call fcn.0043d738
mov edx, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x28]
call fcn.0044db31
mov dword [ebp - 0x30], eax
cmp dword [edi + 0x10], esi
je 0x43debf
push dword [edi + 0x10]
mov edx, edi
mov ecx, ebx
push esi
push 4
call fcn.0043099c
add esp, 0xc
cmp dword [ebx + 0x24], esi
je 0x43debf
push dword [edi + 0x10]
push dword [ebp - 0x28]
call fcn.004325ff
pop ecx
pop ecx
mov dword [edi + 0x10], esi
test byte [edi + 0x1c], 0x60
je 0x43df53
xor eax, eax
mov dword [ebp - 0x2c], esi
mov edx, esi
mov dword [ebp - 0x34], edx
cmp ax, word [edi + 0x22]
jge 0x43df43
mov ecx, esi
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 4]
add eax, ecx
test byte [eax + 0xe], 0x60
je 0x43df4d
mov edx, eax
mov ecx, edi
call fcn.0043be66
push esi
push eax
push 8
mov edx, edi
mov ecx, ebx
call fcn.0043099c
add esp, 0xc
test eax, eax
je 0x43df27
mov ecx, dword [ebp - 0x28]
push esi
push esi
push 0x79
pop edx
call fcn.0043140b
push eax
mov eax, dword [edi + 4]
mov edx, edi
add eax, dword [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0043be04
add esp, 0x10
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
inc dword [ebp - 0x2c]
add ecx, 0x10
movsx eax, word [edi + 0x22]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x2c], eax
jl 0x43dede
test edx, edx
jne 0x43df53
push str.must_have_at_least_one_non_generated_column
jmp 0x43de0c
inc edx
mov dword [ebp - 0x34], edx
jmp 0x43df2d
mov ecx, edi
call fcn.0043d5b2
mov eax, dword [edi + 8]
test eax, eax
je 0x43df74
mov edi, eax
mov ecx, edi
call fcn.0043d5f4
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x43df63
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 0xb1]
test al, al
jne 0x43e25e
mov ecx, ebx
call fcn.00450519
mov dword [ebp - 0x24], eax
test eax, eax
je 0x43e2ca
push esi
push esi
push esi
push 0x7a
pop edx
mov ecx, eax
call fcn.00420222
mov al, byte [edi + 0x2b]
add esp, 0xc
test al, al
mov edx, 0x48f1d4
mov ecx, str.VIEW
cmove ecx, edx
mov edx, str.table
mov dword [ebp - 0x3c], ecx
mov ecx, str.view
cmove ecx, edx
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x40], esi
je 0x43e17c
cmp byte [ebx + 0xd8], 0
je 0x43dfed
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], 1
jmp 0x43e2ca
mov eax, dword [ebx + 0x2c]
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x2c], eax
inc eax
mov dword [ebp - 0x38], eax
inc eax
cmp dword [ebx + 0x78], esi
mov dword [ebx + 0x2c], eax
mov dword [ebp - 0x34], eax
mov eax, ebx
cmovne eax, dword [ebx + 0x78]
mov byte [eax + 0x15], 1
push dword [ebx + 0x60]
push 1
push 0x71
pop edx
call fcn.00420222
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push 0x10
pop edx
call fcn.004207cf
mov dword [ebx + 0x28], 2
mov eax, dword [ecx + 0x6c]
inc eax
push eax
push esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
push 0xb
pop edx
call fcn.00420222
add esp, 0xc
cmp dword [ebx + 0x24], esi
jne 0x43e2ca
mov edx, dword [ebp - 0x40]
mov ecx, ebx
push 0x41
call fcn.00450460
pop ecx
test eax, eax
je 0x43e2ca
movzx ecx, word [eax + 0x22]
mov word [edi + 0x24], cx
mov word [edi + 0x22], cx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
xor ecx, ecx
push eax
push dword [ebp - 0x28]
mov word [eax + 0x22], cx
mov dword [eax + 4], esi
call fcn.0043c089
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x20], 0xd
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.00454708
add esp, 0xc
cmp dword [ebx + 0x24], esi
jne 0x43e2ca
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
call fcn.00420569
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
lea edx, [edx - 1]
call fcn.00420a9d
mov ecx, dword [ecx + 0x6c]
push esi
push esi
mov dword [eax + 8], ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
push 0xc
pop edx
call fcn.00420222
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x61
pop edx
call fcn.00420222
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, edi
push 0
call fcn.00446249
pop ecx
mov ecx, dword [ebp - 0x24]
push 0
push dword [ebp - 0x34]
push 1
push 0x7f
pop edx
call fcn.00420222
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, 0x80
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
call fcn.00420222
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, esi
call fcn.0042027b
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.00420a9d
mov ecx, dword [ecx + 0x6c]
xor esi, esi
push esi
push esi
push 1
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x24]
push 0x7a
pop edx
call fcn.00420222
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, edi
call fcn.0043d385
jmp 0x43e1b7
cmp dword [ebp - 0x38], esi
lea eax, [ebx + 0xcc]
mov edx, dword [ebp - 0x44]
cmovne edx, eax
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [ebx + 0xc4]
cmp byte [eax], 0x3b
je 0x43e19d
add ecx, dword [edx + 4]
push dword [ebx + 0xc4]
push ecx
push dword [ebp - 0x3c]
push str.CREATE__s__.s
push dword [ebp - 0x28]
call fcn.00407677
add esp, 0x14
push dword [ebx + 0x5c]
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebx + 0x60]
mov dword [ebp - 0x2c], eax
push dword [edi]
mov eax, dword [ebp - 0x28]
push dword [edi]
shl ecx, 4
push dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], ecx
push dword [ecx + eax]
push str.UPDATE__Q.sqlite_master_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push ebx
call fcn.0043b760
add esp, 0x24
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call fcn.0040538c
mov edx, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, ebx
call fcn.0043d28d
test byte [edi + 0x1c], 8
je 0x43e22f
cmp byte [ebx + 0xd8], 0
jne 0x43e22f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], esi
jne 0x43e22f
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebx
call fcn.0043b760
add esp, 0xc
push esi
push ecx
push dword [edi]
push str.tbl_name_q_AND_type_trigger
push dword [ebp - 0x28]
call fcn.00407677
mov edx, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004204d9
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
mov al, byte [eax + 0xb1]
test al, al
je 0x43e2a4
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi]
push edi
lea ecx, [ecx + 8]
call fcn.00409c0d
pop ecx
test eax, eax
je 0x43e27b
mov ecx, dword [ebp - 0x28]
call fcn.0040589f
jmp 0x43e2ca
mov eax, dword [ebp - 0x28]
mov edx, str.sqlite_sequence
mov dword [ebx + 0xf4], esi
or dword [eax + 0x18], 1
mov ecx, dword [edi]
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x43e2a4
inc esi
cmp esi, 0x10
jne 0x43e28f
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x48], edi
cmp dword [ebp - 0x40], 0
jne 0x43e2ca
cmp byte [edi + 0x2b], 0
jne 0x43e2ca
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
test eax, eax
jne 0x43e2be
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
sub eax, dword [ebx + 0xc4]
add eax, 0xd
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473c7a
leave
ret