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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
xor ebp, ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 0
mov ebx, dword [edi]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], ebp
cmp byte [ebx + 0x41], 0
jne 0x4509a5
cmp byte [edi + 0x1c3], 0
jne 0x4509a5
cmp dword [edi + 0x40], ebp
jg 0x4509a5
push edi
call fcn.00469e60
add esp, 4
test eax, eax
jne 0x4509a5
cmp dword [esp + 0x80], ebp
je 0x45071f
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x80]
push edi
call fcn.00470e10
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
js 0x4509a5
cmp byte [ebx + 0x91], 0
jne 0x450694
push dword [esp + 0x80]
push edi
call fcn.0046fd00
mov edx, dword [esp + 0x24]
add esp, 8
cmp dword [esi + 4], ebp
jne 0x450694
test eax, eax
je 0x450694
mov ecx, dword [ebx + 0x10]
mov esi, 1
mov eax, dword [eax + 0x40]
cmp eax, dword [ecx + 0x1c]
cmove edx, esi
mov dword [esp + 0x1c], edx
push dword [esp + 0x30]
lea eax, [esp + 0x5c]
push str.index
push edx
push edi
push eax
call fcn.00459350
mov esi, dword [esp + 0x94]
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.004594c0
lea eax, [esi + 8]
push eax
push 0
push edi
call fcn.00461930
mov esi, eax
add esp, 0x28
mov dword [esp + 0x20], esi
test esi, esi
je 0x4509a5
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x45070a
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x40]
je 0x45070a
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.00453ae0
mov edi, dword [esp + 0x90]
add esp, 0xc
xor ebp, ebp
jmp 0x450ce5
test byte [esi + 0x2a], 0x20
je 0x450767
push esi
call fcn.00469da0
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x450767
mov esi, dword [edi + 0x1e4]
mov dword [esp + 0x20], esi
test esi, esi
je 0x4509a5
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x1c], 0xfff0bdc0
test ecx, ecx
je 0x450763
mov edx, dword [ebx + 0x14]
xor edi, edi
mov dword [esp + 0x1c], edi
test edx, edx
jle 0x450763
mov eax, dword [ebx + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x45075f
inc edi
add eax, 0x10
cmp edi, edx
jl 0x450753
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x1c]
mov edi, dword [ebx + 0x10]
mov eax, edx
mov ebx, dword [esi]
mov edx, 7
shl eax, 4
add edi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edi
test ebx, ebx
je 0x450860
mov esi, ebx
mov edi, str.sqlite_
nop
mov al, byte [esi]
dec edx
test al, al
je 0x4507b2
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x4507b2
inc esi
inc edi
test edx, edx
jg 0x450790
dec edx
test edx, edx
js 0x4507d2
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x4eb938]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4eb938]
sub eax, ecx
jne 0x450858
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x91], 0
jne 0x45084e
lea esi, [ebx + 7]
mov edx, 9
test esi, esi
je 0x45082e
mov edi, str.altertab_
mov al, byte [esi]
dec edx
test al, al
je 0x450812
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x450812
inc esi
inc edi
test edx, edx
jg 0x4507f0
dec edx
test edx, edx
js 0x450858
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x4eb938]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4eb938]
sub eax, ecx
je 0x450858
push ebx
push str.table__s_may_not_be_indexed
push dword [esp + 0x7c]
call fcn.00453ae0
mov edi, dword [esp + 0x90]
add esp, 0xc
xor ebp, ebp
jmp 0x450ce5
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
jmp 0x450864
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp dword [esi + 0xc], ebp
je 0x450888
push str.views_may_not_be_indexed
push dword [esp + 0x78]
call fcn.00453ae0
mov edi, dword [esp + 0x8c]
add esp, 8
xor ebp, ebp
jmp 0x450ce5
test byte [esi + 0x2a], 0x10
je 0x450895
push str.virtual_tables_may_not_be_indexed
jmp 0x45086e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4509b1
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
jne 0x4508c1
push edi
call fcn.00452c90
mov edi, dword [esp + 0x88]
add esp, 4
xor ebp, ebp
jmp 0x450ce5
mov ebx, dword [esp + 0x24]
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push ebx
call fcn.00451570
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x4508f4
push esi
push edi
push eax
call fcn.004c15c0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov byte [eax + esi], 0
mov esi, dword [esp + 0x18]
push esi
call fcn.00452c90
add esp, 4
test esi, esi
je 0x4509a5
push esi
mov esi, dword [esp + 0x78]
push esi
call fcn.0044e5c0
add esp, 8
test eax, eax
jne 0x4509a5
cmp byte [ebx + 0x91], al
jne 0x450959
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
call fcn.004589d0
add esp, 0xc
test eax, eax
je 0x450959
mov ebp, dword [esp + 0x18]
push ebp
push str.there_is_already_a_table_named__s
push esi
call fcn.00453ae0
mov edi, dword [esp + 0x90]
add esp, 0xc
jmp 0x450ce5
mov edi, dword [esp + 0x28]
push dword [edi]
push dword [esp + 0x1c]
push ebx
call fcn.004588f0
add esp, 0xc
test eax, eax
je 0x4509e0
cmp dword [esp + 0x98], ebp
jne 0x450998
mov ebp, dword [esp + 0x18]
push ebp
push str.index__s_already_exists
push esi
call fcn.00453ae0
mov edi, dword [esp + 0x90]
add esp, 0xc
jmp 0x450ce5
push dword [esp + 0x1c]
push esi
call fcn.0044f7a0
add esp, 8
mov edi, dword [esp + 0x84]
jmp 0x450ce1
mov eax, dword [esi + 8]
mov ecx, 1
test eax, eax
je 0x4509c8
nop dword [eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4509c0
push ecx
push ebx
push str.sqlite_autoindex__s__d
push edx
call fcn.00461d50
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x4509a5
mov esi, dword [edi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_master
mov ebx, dword [esp + 0x74]
push esi
cmove eax, ecx
push 0
push eax
push 0x12
push ebx
mov dword [esp + 0x68], eax
call fcn.00449bb0
add esp, 0x14
test eax, eax
jne 0x4509a5
cmp dword [esp + 0x1c], 1
push esi
mov esi, dword [esp + 0x24]
sete al
push dword [esi]
lea eax, [eax*2 + 1]
push dword [esp + 0x20]
push eax
push ebx
call fcn.00449bb0
add esp, 0x14
test eax, eax
jne 0x4509a5
mov edx, dword [esp + 0x84]
mov dword [esp + 0x28], edx
test edx, edx
jne 0x450a90
push edx
push edx
push ebx
call fcn.00457720
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
je 0x450cdd
movsx eax, word [esi + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 4]
push dword [eax + ecx*8 - 0x18]
push dword [ebx]
call fcn.00451890
mov edx, dword [esp + 0x30]
add esp, 8
mov ecx, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 4]
mov al, byte [esp + 0x94]
mov byte [ecx + 0xc], al
mov esi, dword [edx]
test esi, esi
jle 0x450ad0
mov edx, dword [edx + 4]
nop dword [eax]
mov ecx, dword [edx]
test ecx, ecx
je 0x450ac4
mov ecx, dword [ecx + 8]
mov eax, ecx
test ecx, ecx
je 0x450ac1
cmp byte [ecx], 0
je 0x450aba
inc eax
cmp byte [eax], 0
jne 0x450ab4
sub eax, ecx
and eax, 0x3fffffff
inc ebp
add ebp, eax
add edx, 0x18
sub esi, 1
jne 0x450aa0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov esi, eax
test eax, eax
je 0x450aee
cmp byte [eax], 0
je 0x450ae6
nop
inc esi
cmp byte [esi], 0
jne 0x450ae0
sub esi, eax
and esi, 0x3fffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x450afc
movzx ecx, word [eax + 0x2e]
jmp 0x450b01
mov ecx, 1
lea eax, [esp + 0x38]
push eax
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x28]
add eax, esi
push eax
mov ax, word [edx]
add ax, cx
movzx eax, ax
push eax
push ebp
call fcn.00448490
add esp, 0x10
mov ebx, eax
cmp byte [ebp + 0x41], 0
mov dword [esp + 0x14], ebx
jne 0x450ca4
mov eax, dword [esp + 0x38]
mov dword [ebx], eax
inc eax
add eax, esi
mov dword [esp + 0x40], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x1c]
push dword [ebx]
call fcn.004c15c0
mov eax, dword [esp + 0x94]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov byte [ebx + 0x32], al
neg eax
mov esi, dword [esp + 0x90]
sbb ecx, ecx
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 0x34]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
xor eax, eax
and ecx, 0xfffffffc
cmp dword [esp + 0x30], eax
sete al
or ecx, eax
mov dword [ebx + 0x34], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x28]
mov ax, word [eax]
mov word [ebx + 0x2e], ax
test esi, esi
je 0x450bca
push 0
push esi
push 0x10
push edx
push dword [esp + 0x84]
call fcn.0046ac60
add esp, 0x14
mov dword [ebx + 0x24], esi
mov dword [esp + 0x90], 0
mov eax, dword [edi + 0xc]
xor ebp, ebp
mov dword [esp + 0x44], ebp
mov al, byte [eax + 0x4c]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
cmp dword [eax], ebp
jle 0x450e7d
nop dword [eax]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov ebp, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 4]
movsx eax, word [eax + 0x22]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x450c83
nop dword [eax]
mov edx, dword [edi]
test ebp, ebp
jne 0x450c1c
neg edx
sbb edx, edx
jmp 0x450c6f
test edx, edx
je 0x450c77
mov bl, byte [ebp]
test bl, bl
je 0x450c51
mov esi, ebp
mov al, bl
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x450c51
mov al, byte [edx + esi + 1]
inc edx
mov bl, al
test al, al
jne 0x450c30
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x4eb938]
movzx eax, bl
movzx edx, byte [eax + 0x4eb938]
mov eax, dword [esp + 0x4c]
sub edx, ecx
mov ecx, dword [esp + 0x34]
test edx, edx
je 0x450d5b
inc ecx
add edi, 0x18
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x450c10
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
push ebp
push dword [eax]
push str.table__s_has_no_column_named__s
push ebx
call fcn.00453ae0
add esp, 0x10
mov byte [ebx + 0x11], 1
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x450cdd
push dword [edi + 0x24]
push ebp
call fcn.00456d20
push dword [edi + 0x10]
push ebp
call fcn.004514c0
add esp, 0x10
test byte [edi + 0x34], 0x10
je 0x450cd3
push dword [edi + 0x20]
push ebp
call fcn.004514c0
add esp, 8
push edi
push ebp
call fcn.004514c0
add esp, 8
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x90]
test esi, esi
je 0x4512bf
test dword [esi + 4], 0x4000
mov ebx, dword [esp + 0x24]
jne 0x4512a6
push dword [esi + 0xc]
push ebx
call fcn.00456d20
push dword [esi + 0x10]
push ebx
call fcn.00456d20
mov ecx, dword [esi + 4]
add esp, 0x10
test ecx, 0x10000
je 0x450d34
push dword [esi + 8]
push ebx
call fcn.004514c0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x14]
test ecx, 0x800
je 0x45129c
push 1
push eax
push ebx
call fcn.00425570
add esp, 0xc
jmp 0x4512a6
cmp ecx, eax
jge 0x450c83
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x44]
mov eax, dword [ebx + 4]
mov word [eax + ebp*2], cx
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
test eax, eax
je 0x450db7
mov eax, dword [eax + 8]
mov esi, eax
test eax, eax
je 0x450d9e
cmp byte [eax], 0
je 0x450d96
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x450d90
sub esi, eax
and esi, 0x3fffffff
mov edi, dword [esp + 0x40]
inc esi
push esi
push eax
push edi
call fcn.004c15c0
lea eax, [esi + edi]
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x450dcf
mov eax, dword [esp + 0x20]
lea ecx, [ecx + ecx*2]
mov edi, str.BINARY
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x10]
test eax, eax
cmovne edi, eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x91], 0
jne 0x450e2e
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov al, byte [ecx + 0x3e]
mov bl, byte [ecx + 0x91]
mov byte [esp + 0x50], al
mov esi, dword [esp + 0x50]
movzx eax, bl
push eax
push edi
push esi
push ecx
call fcn.00458090
add esp, 0x10
test bl, bl
jne 0x450e22
test eax, eax
je 0x450e10
cmp dword [eax + 0xc], 0
jne 0x450e2a
push edi
push eax
push esi
push dword [esp + 0x80]
call fcn.0045c670
add esp, 0x10
test eax, eax
je 0x450ca0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x20]
mov edx, dword [esp + 0x38]
mov dword [eax + ebp*4], edi
xor eax, eax
cmp byte [esp + 0x13], 4
movzx ecx, byte [edx + 0xc]
cmovb ecx, eax
mov eax, dword [ebx + 0x1c]
mov byte [eax + ebp], cl
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x14], 0
jne 0x450e65
and dword [ebx + 0x34], 0xfffffff7
mov eax, dword [esp + 0x28]
inc ebp
add edx, 0x18
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], edx
cmp ebp, dword [eax]
jl 0x450bf0
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x450efa
xor eax, eax
xor edi, edi
cmp ax, word [edx + 0x2e]
jae 0x450f0e
mov eax, dword [edx + 4]
movzx ecx, word [ebx + 0x2e]
mov ebx, dword [ebx + 4]
mov edx, ebx
movzx esi, word [eax + edi*2]
test ecx, ecx
je 0x450eb7
movzx eax, word [edx]
lea edx, [edx + 2]
dec ecx
cmp si, ax
je 0x450ee7
test ecx, ecx
jg 0x450ea7
mov edx, dword [esp + 0x2c]
mov word [ebx + ebp*2], si
mov ebx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ecx + ebp*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov al, byte [edi + eax]
mov byte [ecx + ebp], al
inc ebp
movzx eax, word [edx + 0x2e]
inc edi
cmp edi, eax
jl 0x450e93
jmp 0x450f0e
mov ebx, dword [esp + 0x14]
mov eax, 0xffff
mov edx, dword [esp + 0x2c]
add word [ebx + 0x30], ax
jmp 0x450edc
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + ebp*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + ebp*4], str.BINARY
push ebx
call fcn.00451a50
mov esi, dword [esp + 0x78]
add esp, 4
mov eax, dword [esi + 0x1e4]
test eax, eax
jne 0x450f34
push ebx
call fcn.0042c210
mov eax, dword [esi + 0x1e4]
add esp, 4
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x451046
mov ebx, dword [ecx + 8]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x451042
mov esi, dword [esp + 0x14]
movzx ecx, word [esi + 0x2e]
mov dword [esp + 0x40], ecx
nop dword [eax + eax]
movzx eax, word [ebx + 0x2e]
cmp ax, cx
jne 0x45102f
mov edx, eax
xor ebp, ebp
mov dword [esp + 0x50], edx
test edx, edx
je 0x45102b
mov ecx, dword [esi + 4]
mov edi, dword [ebx + 4]
sub ecx, edi
mov dword [esp + 0x4c], ecx
nop dword [eax]
mov ax, word [edi]
cmp ax, word [ecx + edi]
jne 0x451023
mov eax, dword [ebx + 0x20]
mov esi, dword [eax + ebp*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + ebp*4]
cmp esi, ecx
je 0x451013
test esi, esi
jne 0x450fbb
neg ecx
sbb ecx, ecx
jmp 0x45100f
test ecx, ecx
je 0x451023
mov bl, byte [esi]
mov edx, ecx
test bl, bl
je 0x450ff1
mov al, bl
sub esi, ecx
nop dword [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x450ff1
mov al, byte [edx + esi + 1]
inc edx
mov bl, al
test al, al
jne 0x450fd0
movzx eax, bl
mov ebx, dword [esp + 0x44]
movzx ecx, byte [eax + 0x4eb938]
movzx eax, byte [edx]
mov edx, dword [esp + 0x50]
movzx eax, byte [eax + 0x4eb938]
sub ecx, eax
test ecx, ecx
jne 0x451023
mov ecx, dword [esp + 0x4c]
inc ebp
add edi, 2
cmp ebp, edx
jl 0x450f90
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
cmp ebp, edx
je 0x451076
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x450f60
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x91], 0
je 0x4510e6
mov eax, dword [ebx + 0x18]
push ebx
push dword [ebx]
add eax, 0x18
push eax
call fcn.0045d6d0
add esp, 0xc
test eax, eax
je 0x4510ba
mov byte [ebp + 0x41], 1
jmp 0x450ca4
mov edi, dword [esp + 0x14]
mov al, byte [ebx + 0x32]
mov cl, byte [edi + 0x32]
cmp al, cl
je 0x4510ad
cmp al, 0xa
je 0x4510a7
cmp cl, 0xa
je 0x4510ad
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x7c]
call fcn.00453ae0
mov al, byte [ebx + 0x32]
add esp, 0xc
cmp al, 0xa
jne 0x4510ad
mov al, byte [edi + 0x32]
mov byte [ebx + 0x32], al
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x3c], ebx
jmp 0x450ca8
or dword [ebp + 0x18], 2
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x451232
mov eax, dword [ebp + 0x8c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x80]
jmp 0x451232
mov ebx, dword [esp + 0x74]
cmp dword [ebx + 0x40], 0
jne 0x451221
test byte [ecx + 0x2a], 0x20
je 0x451109
mov eax, dword [esp + 0x80]
test eax, eax
je 0x45122e
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
push ebx
call fcn.0045d470
mov esi, eax
add esp, 4
test esi, esi
je 0x450ca4
push dword [esp + 0x1c]
push 1
push ebx
call fcn.0044abf0
push edi
push dword [esp + 0x2c]
push 0x78
push esi
call fcn.00475540
add esp, 0x1c
cmp dword [esp + 0x8c], 0
je 0x451192
mov edx, dword [ebx + 0x1fc]
add edx, dword [ebx + 0x1f8]
mov eax, dword [esp + 0x30]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x8c], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x4ea3f4
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push ebp
call fcn.00461d50
add esp, 0x14
mov ebx, eax
jmp 0x451194
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
push ebx
push edi
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [esp + 0x64]
push dword [ecx + eax]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x90]
call fcn.00462680
push ebx
push ebp
call fcn.004514c0
mov eax, dword [esp + 0xa8]
add esp, 0x28
test eax, eax
je 0x45122e
mov ebx, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x18]
push edi
push ebx
call fcn.00469fd0
push dword [esp + 0x28]
push ebx
call fcn.0044e4d0
push dword [edi]
push str.name_q_AND_typeindex
push ebp
call fcn.00461d50
push eax
push dword [esp + 0x40]
push esi
call fcn.00475720
push 0
push 0x90
push esi
call fcn.004754d0
mov eax, dword [esp + 0xb8]
add esp, 0x38
jmp 0x451232
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
jmp 0x451232
mov edi, dword [esp + 0x14]
cmp byte [ebp + 0x91], 0
jne 0x451243
test eax, eax
jne 0x450ca8
cmp dword [esp + 0x88], 5
jne 0x451286
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x451286
cmp byte [ecx + 0x32], 5
je 0x451286
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x451274
cmp byte [eax + 0x32], 5
je 0x451274
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x451265
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x14], edi
mov dword [esp + 0x3c], edi
jmp 0x450cdd
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], edi
mov eax, dword [ecx + 8]
mov dword [edi + 0x14], eax
mov dword [ecx + 8], edi
jmp 0x450cdd
push eax
push ebx
call fcn.00457830
add esp, 8
test dword [esi + 4], 0x8000
jne 0x4512bf
push dword [esp + 0x90]
push ebx
call fcn.004514c0
add esp, 8
mov ebx, dword [esp + 0x24]
push edi
push ebx
call fcn.00457830
push dword [esp + 0x88]
push ebx
call fcn.0046f0f0
push ebp
push ebx
call fcn.004514c0
mov eax, dword [esp + 0x54]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret