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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x559940]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
push edi
mov edi, dword [ecx]
mov dword [esp + 0x28], edi
test edx, edx
jne 0x452ecf
test eax, eax
je 0x4538d7
mov ebx, dword [ecx + 0x1b0]
test ebx, ebx
je 0x4538d7
cmp byte [edi + 0x9d], 0
je 0x452ef7
mov eax, dword [edi + 0x98]
mov dword [ebx + 0x1c], eax
cmp eax, 1
jne 0x452ef7
or dword [ebx + 0x24], eax
test byte [ebp + 0xc], 0x20
je 0x452f4b
mov eax, dword [ebx + 0x24]
test al, 8
je 0x452f24
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push ecx
call fcn.00408830
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
test al, 4
jne 0x452f3a
push dword [ebx]
push str.PRIMARY_KEY_missing_on_table__s
push ecx
call fcn.00408830
add esp, 0xc
jmp 0x452f47
or eax, 0x60
mov edx, ebx
mov dword [ebx + 0x24], eax
call fcn.004528b0
mov ecx, dword [esp + 0x14]
cmp dword [ebx + 0x48], 0
mov dword [esp + 0x20], 0xfff0bdc0
je 0x452f84
mov esi, dword [edi + 0x14]
xor edx, edx
mov dword [esp + 0x20], edx
test esi, esi
jle 0x452f84
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx + 0x48]
add eax, 0xc
nop
cmp dword [eax], ecx
je 0x452f7c
inc edx
add eax, 0x10
cmp edx, esi
jl 0x452f70
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x452f9a
push eax
push 0
push 4
mov edx, ebx
call fcn.00440080
add esp, 0xc
movsx edx, word [ebx + 0x2a]
xor eax, eax
mov ecx, dword [ebx + 4]
xor esi, esi
mov dword [esp + 0xc], eax
cmp edx, 2
jl 0x452fee
movsx edi, word [ebx + 0x2a]
add edx, 0xfffffffe
shr edx, 1
inc edx
mov eax, edx
neg eax
lea edi, [edi + eax*2]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x28]
nop word [eax + eax]
movzx eax, byte [ecx + 0xe]
add esi, eax
movzx eax, byte [ecx + 0x1e]
add dword [esp + 0xc], eax
add ecx, 0x20
sub edx, 1
jne 0x452fd0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x452ff8
movzx ecx, byte [ecx + 0xe]
jmp 0x452ffa
xor ecx, ecx
add eax, esi
add eax, ecx
cmp word [ebx + 0x28], 0
push 0
lea ecx, [eax + 1]
cmovge ecx, eax
shl ecx, 2
push ecx
call fcn.00409bb0
mov esi, dword [ebx + 8]
add esp, 8
mov word [ebx + 0x2e], ax
test esi, esi
je 0x453030
mov ecx, esi
call fcn.00452830
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x453022
cmp byte [edi + 0x9d], 0
jne 0x45384c
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
lea eax, [ecx + 0x78]
mov dword [esp + 0x10], eax
test esi, esi
jne 0x453076
cmp dword [eax], esi
jne 0x45305f
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x45305f
mov byte [ecx + 0x17], 1
call fcn.00429580
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test esi, esi
je 0x4538d7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4530a2
push 0
push 0
push 0
mov edx, 0x70
mov ecx, esi
call fcn.00429830
lea eax, [esi + 0x58]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x4530de
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea edx, [esi + 0x58]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x18], edx
mov dword [eax + ecx*4], 0x70
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 eax, dword [ebx + 0xc]
mov edx, str.TABLE
test eax, eax
mov ecx, str.VIEW
cmove ecx, edx
mov edx, str.table
mov dword [esp + 0x2c], ecx
mov ecx, str.view
cmove ecx, edx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x30], ecx
je 0x45363e
mov edx, dword [esp + 0x14]
mov ecx, edx
mov eax, dword [edx + 0x2c]
inc eax
mov dword [esp + 0xc], eax
inc eax
mov dword [esp + 0x24], eax
inc eax
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [edx + 0x64]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
cmp dword [eax + 0x30], ecx
jg 0x453167
push dword [esp + 0x20]
mov ecx, esi
push edx
push 1
mov edx, 0x69
call fcn.00429830
add esp, 0xc
jmp 0x45319c
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x69
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
mov edx, dword [esp + 0x14]
test eax, eax
jle 0x4531c1
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x28]
mov dword [edx + 0x28], 2
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], ecx
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x30], ecx
jg 0x4531f9
push edx
push 0
push dword [esp + 0x14]
mov edx, 0xf
mov ecx, esi
call fcn.00429830
add esp, 0xc
jmp 0x45322f
mov eax, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], edx
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x40], 0xd
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.0047bc80
mov eax, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x453294
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x40
mov ecx, esi
call fcn.00429830
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4532d1
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov edi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x40
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x10], ecx
cmp byte [eax + 0x49], 0
je 0x4532fb
mov eax, 0x5600c0
jmp 0x453313
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
jne 0x4538d7
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.00475230
test eax, eax
je 0x4538d7
mov cx, word [eax + 0x2a]
mov word [ebx + 0x2a], cx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
xor ecx, ecx
mov word [eax + 0x2a], cx
mov dword [eax + 4], ecx
cmp dword [edi + 0x1d0], ecx
jne 0x45335c
add dword [eax + 0x20], 0xffffffff
jne 0x453365
mov edx, eax
mov ecx, edi
call fcn.00450630
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], edx
cmp dword [eax + 0x30], edx
jg 0x45339d
push 0
push 0
push ecx
mov edx, 0x10
mov ecx, esi
call fcn.00429830
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4533da
mov edi, dword [esp + 0x2c]
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x88], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x453417
push dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, 0x63
call fcn.00429830
add esp, 0xc
jmp 0x45344c
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
mov edx, ebx
mov ecx, esi
call fcn.00462fb0
mov eax, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x453483
mov eax, dword [esp + 0x24]
mov edx, 0x73
push 0
inc eax
mov ecx, esi
push eax
push 1
call fcn.00429830
add esp, 0xc
jmp 0x4534c1
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
inc edi
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x73
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x4534ef
mov ecx, dword [esp + 0x24]
mov edx, 0x74
lea eax, [ecx + 1]
push eax
push ecx
push 1
mov ecx, esi
call fcn.00429830
add esp, 0xc
jmp 0x453525
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], edi
inc edi
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x453554
push 0
push dword [esp + 0x10]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.00429830
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x453589
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x2c], ecx
cmp byte [eax + 0x49], 0
je 0x4535a6
mov edx, dword [esp + 0x18]
mov eax, 0x5600c0
jmp 0x4535be
lea eax, [ecx - 1]
test edx, edx
cmovns eax, edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4535f8
push 0
push 0
push 1
mov edx, 0x70
mov ecx, esi
call fcn.00429830
add esp, 0xc
mov edx, ebx
mov ecx, edi
call fcn.004525d0
mov edx, eax
mov dword [esp + 0xc], edx
jmp 0x453689
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, ebx
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
call fcn.004525d0
mov edx, eax
mov dword [esp + 0xc], edx
jmp 0x453689
cmp byte [ebp + 0xc], 0
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x184]
jne 0x453652
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x17c]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [esp + 0x10]
cmp byte [eax], 0x3b
je 0x45366c
add ecx, dword [edx + 4]
push dword [esp + 0x10]
push ecx
push dword [esp + 0x34]
push str.CREATE__s__.s
push edi
call fcn.00407a80
add esp, 0x14
mov dword [esp + 0xc], eax
mov edx, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push dword [ecx + 0x60]
push edx
push dword [ecx + 0x64]
mov edx, dword [esp + 0x28]
push eax
push eax
push dword [esp + 0x44]
mov eax, dword [edi + 0x10]
push str.sqlite_master
push dword [eax + edx]
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push ecx
call fcn.0044f880
mov ecx, dword [esp + 0x34]
add esp, 0x28
test ecx, ecx
je 0x453767
cmp dword [edi + 0x1d0], 0
je 0x4536e7
mov edx, ecx
mov ecx, edi
call fcn.00405430
jmp 0x453767
cmp ecx, dword [edi + 0x128]
jb 0x453707
cmp ecx, dword [edi + 0x12c]
jae 0x453707
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x453767
cmp dword [0x55a418], 0
je 0x45375d
mov eax, dword [0x560268]
test eax, eax
je 0x453727
push eax
call dword [0x55a474]
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [0x55a450]
mov edx, dword [esp + 0x10]
add esp, 4
sub dword [0x560070], eax
dec dword [0x560094]
push edx
call dword [0x55a448]
mov eax, dword [0x560268]
add esp, 4
test eax, eax
je 0x453767
push eax
call dword [0x55a47c]
jmp 0x453764
push ecx
call dword [0x55a448]
add esp, 4
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi + 0xc]
mov eax, dword [eax]
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 0x10]
cmp dword [eax + 0x30], edi
jg 0x4537b6
mov edx, dword [esp + 0xc]
push edx
push 1
push dword [esp + 0x28]
mov edx, 0x66
call fcn.00429830
add esp, 0xc
jmp 0x4537f2
mov edx, edi
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
test byte [ebx + 0x24], 8
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
je 0x453820
mov ecx, dword [edi + 0x10]
add ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x453820
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push edx
call fcn.0044f880
add esp, 0xc
push dword [ebx]
push str.tbl_name_q_AND_type_trigger
push edi
call fcn.00407a80
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00429c70
add esp, 4
cmp byte [edi + 0x9d], 0
je 0x4538d7
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx]
push ebx
lea ecx, [ecx + 8]
call fcn.0040a030
add esp, 4
test eax, eax
je 0x45389c
cmp byte [edi + 0x49], 0
jne 0x4538d7
cmp byte [edi + 0x4a], 0
jne 0x4538d7
cmp dword [edi + 0xac], 0
mov byte [edi + 0x49], 1
jle 0x453884
mov dword [edi + 0x100], 1
inc dword [edi + 0x108]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1b0], 0
or dword [edi + 0x18], 1
cmp dword [ebx + 0xc], 0
jne 0x4538d7
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 0x17c]
mov edx, dword [edx]
test edx, edx
jne 0x4538ca
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
sub edx, ecx
call fcn.00408540
add eax, 0xd
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret