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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [esp + 0x28], edx
push esi
push edi
mov edi, dword [ebx]
mov dword [esp + 0x18], edi
jne 0x453c99
test eax, eax
je 0x454456
mov esi, dword [ebx + 0xf4]
test esi, esi
je 0x454456
test eax, eax
jne 0x453cc2
mov edx, dword [esi]
mov ecx, edi
call fcn.00453c20
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x453cc2
or dword [esi + 0x1c], 0x1000
cmp byte [edi + 0xb1], 0
je 0x453cf5
test eax, eax
jne 0x453d94
cmp byte [esi + 0x2b], al
je 0x453ce4
cmp dword [edi + 0xac], eax
jne 0x453d94
mov eax, dword [edi + 0xac]
mov dword [esi + 0x14], eax
cmp eax, 1
jne 0x453cf5
or dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
test eax, 0x10000
je 0x453d70
or dword [esi + 0x1c], 0x10000
xor ecx, ecx
xor edx, edx
cmp cx, word [esi + 0x22]
jge 0x453d70
mov dword [esp + 0x1c], ecx
mov edi, dword [esi + 4]
add edi, ecx
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xf0
je 0x453da9
cmp eax, 0x10
jne 0x453d32
mov byte [edi + 8], 0x41
test byte [edi + 0xe], 1
je 0x453d55
movsx eax, word [esi + 0x20]
cmp eax, edx
je 0x453d55
test cl, 0xf
jne 0x453d55
and ecx, 0xfffffff2
or ecx, 2
mov dword [edi + 4], ecx
or dword [esi + 0x1c], 0x800
mov ecx, dword [esp + 0x1c]
inc edx
movsx eax, word [esi + 0x22]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
cmp edx, eax
jl 0x453d14
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
test al, al
jns 0x453e1a
mov eax, dword [esi + 0x1c]
test al, 8
je 0x453dee
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push ebx
call fcn.00409b70
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5cbbd8
push ebx
call fcn.00409b70
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0xe], 4
je 0x453dd5
mov edx, 0x5cbbd8
mov ecx, edi
call fcn.004098c0
push eax
push dword [edi]
push dword [esi]
push str.unknown_datatype_for__s._s:___s_
push ebx
call fcn.00409b70
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
push dword [esi]
push str.missing_datatype_for__s._s
push ebx
call fcn.00409b70
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 4
jne 0x453e09
push dword [esi]
push str.PRIMARY_KEY_missing_on_table__s
push ebx
call fcn.00409b70
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0x280
mov edx, esi
mov ecx, ebx
mov dword [esi + 0x1c], eax
call fcn.00453580
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x14], 0xffff8000
test ecx, ecx
je 0x453e4c
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x14], edx
cmp dword [eax], ecx
je 0x453e4c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x453e40
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x453e7f
push eax
push 0
push 4
mov edx, esi
mov ecx, ebx
call fcn.004414c0
add esp, 0xc
cmp dword [ebx + 0x24], 0
je 0x453e7f
mov edx, dword [esi + 0x10]
test edx, edx
je 0x453e78
mov ecx, edi
call fcn.00443d90
mov dword [esi + 0x10], 0
test byte [esi + 0x1c], 0x60
je 0x453f94
xor edx, edx
xor eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
cmp ax, word [esi + 0x22]
jge 0x453f78
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov eax, dword [esi + 4]
test byte [eax + ecx + 0xe], 0x60
je 0x453f8d
movzx eax, word [eax + ecx + 0xc]
test ax, ax
jne 0x453ecc
xor eax, eax
jmp 0x453ef0
cmp byte [esi + 0x2b], 0
je 0x453ed6
xor eax, eax
jmp 0x453ef0
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x453ee1
xor eax, eax
jmp 0x453ef0
cmp dword [ecx], eax
jge 0x453ee9
xor eax, eax
jmp 0x453ef0
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
push 0
push eax
push 8
mov edx, esi
mov ecx, ebx
call fcn.004414c0
add esp, 0xc
test eax, eax
je 0x453f4c
push 0
push 0x34
mov ecx, edi
call fcn.00405d00
mov edi, eax
add esp, 8
test edi, edi
je 0x453f37
push 0x34
push 0
push edi
call fcn.00563230
add esp, 0xc
mov byte [edi], 0x79
or eax, 0xffffffff
mov dword [edi + 0x18], 1
mov word [edi + 0x22], ax
mov eax, dword [esi + 4]
mov edx, esi
add eax, dword [esp + 0x10]
mov ecx, ebx
push edi
push eax
call fcn.00451480
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
add ecx, 0x10
movsx eax, word [esi + 0x22]
inc edi
mov dword [esp + 0x20], edi
cmp edi, eax
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
jl 0x453eb0
test edx, edx
jne 0x453f94
push str.must_have_at_least_one_non_generated_column
push ebx
call fcn.00409b70
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edx
mov dword [esp + 0x1c], edx
jmp 0x453f54
mov ecx, esi
call fcn.00453330
mov edi, dword [esi + 8]
test edi, edi
je 0x453fb0
mov ecx, edi
call fcn.004533b0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x453fa2
mov edi, dword [esp + 0x18]
cmp byte [edi + 0xb1], 0
jne 0x4543c2
mov ecx, dword [ebx + 8]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x453ff2
cmp dword [ebx + 0x78], ecx
jne 0x453fdd
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x453fdd
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0042a0d0
mov ecx, eax
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x454456
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x45400f
push 0
push 0
push 0
mov edx, 0x7a
call fcn.0042a3d0
add esp, 0xc
jmp 0x454046
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esi + 0x2b]
mov edx, str.TABLE
test al, al
mov ecx, str.VIEW
cmove ecx, edx
mov edx, str.table
mov dword [esp + 0x28], ecx
mov ecx, str.view
cmove ecx, edx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x2c], ecx
je 0x454279
cmp byte [ebx + 0xd8], 0
je 0x454091
mov dword [ebx + 0xc], 1
inc dword [ebx + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [ebx + 0x2c]
mov edx, 0x71
push dword [esp + 0x14]
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
push dword [ebx + 0x60]
mov ecx, dword [esp + 0x18]
push 1
call fcn.0042a410
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4540ef
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [edx + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x28], 2
mov eax, dword [edx + 0x6c]
mov edx, 0xb
mov dword [esp + 0x28], eax
inc eax
push eax
push 0
push dword [esp + 0x28]
call fcn.0042a410
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x454456
mov edx, dword [ebp + 0x10]
mov ecx, ebx
push 0x41
call fcn.0046ea60
add esp, 4
test eax, eax
je 0x454456
movzx ecx, word [eax + 0x22]
mov word [esi + 0x24], cx
mov word [esi + 0x22], cx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
xor ecx, ecx
mov word [eax + 0x22], cx
mov dword [eax + 4], ecx
cmp dword [edi + 0x210], ecx
jne 0x454160
add dword [eax + 0x18], 0xffffffff
jne 0x454169
mov edx, eax
mov ecx, edi
call fcn.00451760
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x34]
mov edx, dword [ebp + 0x10]
mov ecx, ebx
push eax
mov byte [esp + 0x38], 0xd
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.00474da0
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x454456
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.0042ab90
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.0042afa0
push dword [esp + 0x38]
mov edx, 0xc
mov ecx, edi
call fcn.0042a4e0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x61
mov edi, eax
push dword [esp + 0x24]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.0042a410
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
push 0
call fcn.00460230
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x7f
push dword [esp + 0x1c]
push 1
call fcn.0042a540
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, 0x80
push dword [esp + 0x30]
push 1
call fcn.0042a410
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov edx, edi
call fcn.0042a5b0
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.0042afa0
mov ecx, dword [esp + 0x10]
mov edx, 0x7a
push 1
call fcn.0042a4e0
mov edi, dword [esp + 0x1c]
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.00453030
mov edx, eax
mov dword [esp + 0x24], edx
jmp 0x4542b9
cmp dword [ebp + 0xc], 0
lea edx, [ebx + 0xcc]
jne 0x454288
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [ebx + 0xc4]
cmp byte [eax], 0x3b
je 0x45429a
add ecx, dword [edx + 4]
push dword [ebx + 0xc4]
push ecx
push dword [esp + 0x30]
push str.CREATE__s__.s
push edi
call fcn.004087c0
add esp, 0x14
mov dword [esp + 0x24], eax
mov edx, eax
push dword [ebx + 0x5c]
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
push edx
push dword [ebx + 0x60]
shl ecx, 4
push eax
push eax
mov eax, dword [edi + 0x10]
push dword [esp + 0x40]
mov dword [esp + 0x38], 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.00450c40
mov edx, dword [esp + 0x48]
add esp, 0x24
test edx, edx
je 0x4542f6
mov ecx, edi
call fcn.004059a0
mov eax, dword [ebx]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax]
inc eax
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x70], edx
jg 0x45432f
push eax
push 1
push dword [esp + 0x1c]
mov edx, 0x64
call fcn.0042a3d0
add esp, 0xc
jmp 0x454366
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
test byte [esi + 0x1c], 8
je 0x454395
cmp byte [ebx + 0xd8], 0
jne 0x454395
mov ecx, dword [edi + 0x10]
add ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x454395
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebx
call fcn.00450c40
add esp, 0xc
push 0
push ecx
push dword [esi]
push str.tbl_name_q_AND_type_trigger
push edi
call fcn.004087c0
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x14]
push eax
call fcn.0042aa20
add esp, 8
cmp byte [edi + 0xb1], 0
je 0x45442f
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi]
push esi
lea ecx, [ecx + 8]
call fcn.0040b730
add esp, 4
test eax, eax
je 0x4543e5
mov ecx, edi
call fcn.004060e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0xf4], 0
mov ecx, str.sqlite_sequence
or dword [edi + 0x18], 1
mov eax, dword [esi]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x454420
test dl, dl
je 0x45441c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x454420
add eax, 2
add ecx, 2
test dl, dl
jne 0x454400
xor eax, eax
jmp 0x454425
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45442f
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x48], esi
cmp dword [ebp + 0x10], 0
jne 0x454456
cmp byte [esi + 0x2b], 0
jne 0x454456
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
cmp dword [ecx], 0
cmovne eax, ecx
mov eax, dword [eax]
sub eax, dword [ebx + 0xc4]
add eax, 0xd
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret