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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [section..data]
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 0x45e0ef
test eax, eax
je 0x45eaf7
mov ebx, dword [ecx + 0x1b0]
test ebx, ebx
je 0x45eaf7
cmp byte [edi + 0x9d], 0
je 0x45e117
mov eax, dword [edi + 0x98]
mov dword [ebx + 0x1c], eax
cmp eax, 1
jne 0x45e117
or dword [ebx + 0x24], eax
test byte [ebp + 0xc], 0x20
je 0x45e16b
mov eax, dword [ebx + 0x24]
test al, 8
je 0x45e144
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push ecx
call fcn.00413380
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
test al, 4
jne 0x45e15a
push dword [ebx]
push str.PRIMARY_KEY_missing_on_table__s
push ecx
call fcn.00413380
add esp, 0xc
jmp 0x45e167
or eax, 0x60
mov edx, ebx
mov dword [ebx + 0x24], eax
call fcn.0045db00
mov ecx, dword [esp + 0x14]
cmp dword [ebx + 0x48], 0
mov dword [esp + 0x20], 0xfff0bdc0
je 0x45e1a4
mov esi, dword [edi + 0x14]
xor edx, edx
mov dword [esp + 0x20], edx
test esi, esi
jle 0x45e1a4
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx + 0x48]
add eax, 0xc
nop
cmp dword [eax], ecx
je 0x45e19c
inc edx
add eax, 0x10
cmp edx, esi
jl 0x45e190
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x45e1ba
push eax
push 0
push 4
mov edx, ebx
call fcn.0044b350
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 0x45e20e
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 0x45e1f0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x45e218
movzx ecx, byte [ecx + 0xe]
jmp 0x45e21a
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.004146b0
mov esi, dword [ebx + 8]
add esp, 8
mov word [ebx + 0x2e], ax
test esi, esi
je 0x45e250
mov ecx, esi
call fcn.0045da80
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x45e242
cmp byte [edi + 0x9d], 0
jne 0x45ea6c
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
lea eax, [ecx + 0x78]
mov dword [esp + 0x10], eax
test esi, esi
jne 0x45e296
cmp dword [eax], esi
jne 0x45e27f
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x45e27f
mov byte [ecx + 0x17], 1
call fcn.00434280
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test esi, esi
je 0x45eaf7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x45e2c2
push 0
push 0
push 0
mov edx, 0x70
mov ecx, esi
call fcn.00434530
lea eax, [esi + 0x58]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x45e2fe
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 0x45e85e
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 0x45e387
push dword [esp + 0x20]
mov ecx, esi
push edx
push 1
mov edx, 0x69
call fcn.00434530
add esp, 0xc
jmp 0x45e3bc
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 0x45e3e1
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 0x45e419
push edx
push 0
push dword [esp + 0x14]
mov edx, 0xf
mov ecx, esi
call fcn.00434530
add esp, 0xc
jmp 0x45e44f
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.004866b0
mov eax, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x45e4b4
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x40
mov ecx, esi
call fcn.00434530
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x45e4f1
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 0x45e51b
mov eax, 0x4dee30
jmp 0x45e533
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 0x45eaf7
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.0047fb90
test eax, eax
je 0x45eaf7
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 0x45e57c
add dword [eax + 0x20], 0xffffffff
jne 0x45e585
mov edx, eax
mov ecx, edi
call fcn.0045b980
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 0x45e5bd
push 0
push 0
push ecx
mov edx, 0x10
mov ecx, esi
call fcn.00434530
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x45e5fa
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 0x45e637
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.00434530
add esp, 0xc
jmp 0x45e66c
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.0046e080
mov eax, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x45e6a3
mov eax, dword [esp + 0x24]
mov edx, 0x73
push 0
inc eax
mov ecx, esi
push eax
push 1
call fcn.00434530
add esp, 0xc
jmp 0x45e6e1
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 0x45e70f
mov ecx, dword [esp + 0x24]
mov edx, 0x74
lea eax, [ecx + 1]
push eax
push ecx
push 1
mov ecx, esi
call fcn.00434530
add esp, 0xc
jmp 0x45e745
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 0x45e774
push 0
push dword [esp + 0x10]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.00434530
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x45e7a9
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 0x45e7c6
mov edx, dword [esp + 0x18]
mov eax, 0x4dee30
jmp 0x45e7de
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 0x45e818
push 0
push 0
push 1
mov edx, 0x70
mov ecx, esi
call fcn.00434530
add esp, 0xc
mov edx, ebx
mov ecx, edi
call fcn.0045d820
mov edx, eax
mov dword [esp + 0xc], edx
jmp 0x45e8a9
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.0045d820
mov edx, eax
mov dword [esp + 0xc], edx
jmp 0x45e8a9
cmp byte [ebp + 0xc], 0
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x184]
jne 0x45e872
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 0x45e88c
add ecx, dword [edx + 4]
push dword [esp + 0x10]
push ecx
push dword [esp + 0x34]
push str.CREATE__s__.s
push edi
call fcn.004124b0
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.0045abb0
mov ecx, dword [esp + 0x34]
add esp, 0x28
test ecx, ecx
je 0x45e987
cmp dword [edi + 0x1d0], 0
je 0x45e907
mov edx, ecx
mov ecx, edi
call fcn.0040ffa0
jmp 0x45e987
cmp ecx, dword [edi + 0x128]
jb 0x45e927
cmp ecx, dword [edi + 0x12c]
jae 0x45e927
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x45e987
cmp dword [0x4d9a98], 0
je 0x45e97d
mov eax, dword [0x4defd8]
test eax, eax
je 0x45e947
push eax
call dword [0x4d9af4]
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [0x4d9ad0]
mov edx, dword [esp + 0x10]
add esp, 4
sub dword [0x4dede0], eax
dec dword [0x4dee04]
push edx
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x45e987
push eax
call dword [0x4d9afc]
jmp 0x45e984
push ecx
call dword [0x4d9ac8]
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 0x45e9d6
mov edx, dword [esp + 0xc]
push edx
push 1
push dword [esp + 0x28]
mov edx, 0x66
call fcn.00434530
add esp, 0xc
jmp 0x45ea12
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 0x45ea40
mov ecx, dword [edi + 0x10]
add ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x45ea40
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push edx
call fcn.0045abb0
add esp, 0xc
push dword [ebx]
push str.tbl_name_q_AND_type_trigger
push edi
call fcn.004124b0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00434970
add esp, 4
cmp byte [edi + 0x9d], 0
je 0x45eaf7
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx]
push ebx
lea ecx, [ecx + 8]
call fcn.00414b30
add esp, 4
test eax, eax
je 0x45eabc
cmp byte [edi + 0x49], 0
jne 0x45eaf7
cmp byte [edi + 0x4a], 0
jne 0x45eaf7
cmp dword [edi + 0xac], 0
mov byte [edi + 0x49], 1
jle 0x45eaa4
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.004ac4d4
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 0x45eaf7
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 0x17c]
mov edx, dword [edx]
test edx, edx
jne 0x45eaea
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
sub edx, ecx
call fcn.004130d0
add eax, 0xd
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret