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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x1013d070]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, ecx
mov dword [esp + 0x38], 0
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x2c], ecx
mov ebx, edx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [eax]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ecx
cmp byte [edi + 0x49], cl
jne 0x100741ba
cmp dword [eax + 0x24], ecx
jg 0x100741ba
cmp byte [eax + 0x190], cl
je 0x1007419a
cmp byte [ebp + 0x28], 2
jne 0x100741ba
cmp byte [edi + 0x9d], cl
jne 0x100741cb
lea edx, [eax + 4]
mov ecx, edi
call fcn.10087760
test eax, eax
je 0x100741c1
mov ecx, dword [esp + 0x18]
inc dword [ecx + 0x24]
mov dword [ecx + 0xc], eax
xor esi, esi
jmp 0x10074407
cmp byte [edi + 0x51], 0
je 0x100741cb
or dword [edi + 0x18], 8
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100742ae
lea eax, [esp + 0x44]
mov edx, ebx
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push eax
push esi
call fcn.10071020
mov edx, eax
add esp, 8
mov dword [esp + 0x24], edx
test edx, edx
js 0x100741ba
cmp byte [edi + 0x9d], 0
jne 0x1007422e
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.10077400
cmp dword [esi + 4], 0
mov edx, dword [esp + 0x24]
jne 0x1007422e
test eax, eax
je 0x1007422e
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x1c]
mov eax, 1
cmove edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x44]
push ecx
push str.index
push edx
mov edx, ebx
lea ecx, [esp + 0x68]
call fcn.1006f5d0
mov esi, dword [esp + 0x40]
add esp, 0xc
mov edx, esi
call fcn.1006f610
lea eax, [esi + 8]
xor edx, edx
push eax
mov ecx, ebx
call fcn.10070660
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x100741ba
mov edx, dword [esp + 0x24]
cmp edx, 1
jne 0x1007429b
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x48]
je 0x1007429b
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.10032d30
add esp, 0xc
xor esi, esi
jmp 0x10074407
test byte [esi + 0x24], 0x20
je 0x100742d4
mov ecx, esi
call fcn.100710e0
mov dword [esp + 0x40], eax
jmp 0x100742d4
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 0x1ac]
mov dword [esp + 0x14], esi
test esi, esi
je 0x100741ba
mov edx, dword [esi + 0x48]
mov ecx, edi
call fcn.10087990
mov edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x10]
mov ecx, edx
mov esi, dword [esi]
shl ecx, 4
push 7
add eax, ecx
mov dword [esp + 0x54], ecx
push str.sqlite_
push esi
mov dword [esp + 0x28], eax
call fcn.10032f30
add esp, 0xc
test eax, eax
jne 0x10074331
cmp byte [edi + 0x9d], al
jne 0x10074331
push 9
lea eax, [esi + 7]
push str.altertab_
push eax
call fcn.10032f30
add esp, 0xc
test eax, eax
je 0x10074331
push esi
push str.table__s_may_not_be_indexed
push ebx
call fcn.10032d30
add esp, 0xc
xor esi, esi
jmp 0x10074407
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], 0
je 0x10074350
push str.views_may_not_be_indexed
push ebx
call fcn.10032d30
add esp, 8
xor esi, esi
jmp 0x10074407
cmp dword [eax + 0x38], 0
je 0x1007436b
push str.virtual_tables_may_not_be_indexed
push ebx
call fcn.10032d30
add esp, 8
xor esi, esi
jmp 0x10074407
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x10074464
mov edx, ecx
mov ecx, edi
call fcn.10070e20
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x10074407
mov edx, esi
mov ecx, ebx
call fcn.10071090
test eax, eax
jne 0x10074407
cmp byte [edi + 0x9d], al
jne 0x100743c1
push eax
mov edx, esi
mov ecx, edi
call fcn.100703c0
add esp, 4
test eax, eax
je 0x100743c1
push esi
push str.there_is_already_a_table_named__s
push ebx
call fcn.10032d30
add esp, 0xc
jmp 0x10074407
mov esi, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x20]
push dword [esi]
call fcn.100706c0
add esp, 4
test eax, eax
je 0x100744a6
cmp dword [ebp + 0x24], 0
jne 0x100743f8
mov esi, dword [esp + 0x20]
push esi
push str.index__s_already_exists
push ebx
call fcn.10032d30
add esp, 0xc
jmp 0x10074407
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.10075c60
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1007441c
mov edx, eax
mov ecx, edi
call fcn.100657b0
test ebx, ebx
je 0x10074429
mov edx, ebx
mov ecx, edi
call fcn.10066760
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.10075520
test esi, esi
je 0x10074ced
cmp dword [edi + 0x1d8], 0
je 0x10074cb4
mov edx, esi
mov ecx, edi
call fcn.1002f870
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100ae9aa
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 8]
mov ecx, 1
test eax, eax
je 0x10074478
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x10074470
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.10031dd0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test esi, esi
je 0x10074407
cmp byte [ebx + 0x190], 0
je 0x100744a2
inc byte [esi + 7]
mov esi, dword [esp + 0x1c]
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x24], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, ebx
call fcn.1006fcf0
add esp, 0xc
test eax, eax
jne 0x10074403
push esi
mov esi, dword [esp + 0x18]
xor edx, edx
cmp dword [esp + 0x28], 1
mov ecx, ebx
sete dl
push dword [esi]
push dword [esp + 0x28]
lea edx, [edx*2 + 1]
call fcn.1006fcf0
add esp, 0xc
test eax, eax
jne 0x10074403
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10074564
movsx ecx, word [esi + 0x2a]
mov eax, dword [esi + 4]
add ecx, ecx
or byte [eax + ecx*8 - 1], 8
mov edx, dword [eax + ecx*8 - 0x10]
lea ecx, [esp + 0x54]
call fcn.10032e80
mov eax, ecx
mov edx, 0x3b
push 0
push eax
mov ecx, edi
call fcn.100650e0
push eax
xor edx, edx
mov ecx, ebx
call fcn.10066460
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x10074cab
mov edx, dword [ebp + 0x20]
test edx, edx
js 0x10074579
mov ecx, dword [ebx]
lea ecx, [ecx + ecx*2]
mov byte [ebx + ecx*8 - 8], dl
jmp 0x10074579
push str.index
mov edx, eax
mov ecx, ebx
call fcn.10066730
mov ebx, dword [esp + 0x14]
add esp, 4
mov edi, dword [ebx]
test edi, edi
jle 0x100745a4
lea esi, [ebx + 4]
mov ecx, dword [esi]
cmp byte [ecx], 0x5f
jne 0x1007459c
mov ecx, dword [ecx + 8]
call fcn.10032b60
mov ecx, dword [esp + 0x28]
inc ecx
add ecx, eax
mov dword [esp + 0x28], ecx
add esi, 0x18
sub edi, 1
jne 0x10074582
mov ecx, dword [esp + 0x20]
call fcn.10032b60
mov esi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100745bd
movzx ecx, word [eax + 0x32]
jmp 0x100745c2
mov ecx, 1
movzx edx, word [ebx]
lea eax, [esp + 0x3c]
mov edi, dword [esp + 0x30]
add dx, cx
push eax
mov eax, dword [esp + 0x2c]
mov ecx, edi
inc eax
add eax, esi
push eax
call fcn.10074080
add esp, 8
mov ebx, eax
cmp byte [edi + 0x49], 0
jne 0x10074c95
mov ecx, dword [esp + 0x3c]
mov dword [ebx], ecx
lea eax, [ecx + 1]
lea ecx, [esi + 1]
add eax, esi
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x44], eax
push dword [ebx]
call fcn.100e58b0
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov byte [ebx + 0x36], al
mov eax, dword [ebx + 0x38]
setne cl
mov esi, dword [esp + 0x18]
and eax, 0xfffffff7
shl ecx, 3
or ecx, eax
mov dword [ebx + 0xc], edx
movzx eax, byte [ebp + 0x28]
and ecx, 0xfffffffc
and eax, 3
or ecx, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x10]
mov ax, word [eax]
mov word [ebx + 0x32], ax
test ecx, ecx
je 0x10074680
push 0
push ecx
push 2
mov ecx, esi
call fcn.10064410
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x4c], 4
sbb eax, eax
neg eax
dec eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
lea edx, [eax + 4]
mov dword [esp + 0x1c], edx
jle 0x10074844
mov dword [esp + 0x2c], 0
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x63
je 0x100746ce
cmp cl, 0x5f
jne 0x100746d1
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x63
jne 0x100746d1
mov byte [eax], 0x3b
push 0
push dword [edx]
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0x20
call fcn.10064410
add esp, 0xc
cmp dword [esi + 0x24], 0
jne 0x10074c95
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
call fcn.10064610
cmp byte [eax], 0x94
je 0x10074753
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x1ac]
je 0x10074831
cmp dword [ebx + 0x28], 0
jne 0x1007473b
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0
call fcn.10065d80
add esp, 4
mov dword [ebx + 0x28], eax
cmp byte [edi + 0x49], 0
jne 0x1007473b
mov ecx, dword [esp + 0x2c]
add ecx, 4
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov edx, 0xfffffffe
mov ecx, dword [esp + 0x28]
mov esi, edx
mov word [eax + ecx*2], si
and dword [ebx + 0x38], 0xfffffff7
jmp 0x10074782
movsx edx, word [eax + 0x20]
mov eax, dword [esp + 0x14]
test edx, edx
jns 0x10074765
movsx edx, word [eax + 0x28]
jmp 0x10074777
mov eax, dword [eax + 4]
mov ecx, edx
add ecx, ecx
cmp byte [eax + ecx*8 + 0xc], 0
jne 0x10074777
and dword [ebx + 0x38], 0xfffffff7
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
cmp byte [esi], 0x5f
jne 0x100747ba
mov esi, dword [esi + 8]
mov ecx, esi
call fcn.10032b60
lea edi, [eax + 1]
push edi
push esi
push dword [esp + 0x44]
call fcn.100e58b0
mov eax, dword [esp + 0x48]
add esp, 0xc
mov esi, eax
add eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
jmp 0x100747cb
test edx, edx
js 0x100747cf
mov eax, dword [esp + 0x14]
add edx, edx
mov eax, dword [eax + 4]
mov esi, dword [eax + edx*8 + 8]
test esi, esi
jne 0x100747d4
mov esi, 0x1012d1cc
cmp byte [edi + 0x9d], 0
jne 0x100747f0
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.10071eb0
test eax, eax
je 0x10074c95
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x18
mov dword [eax + ecx*4], esi
mov esi, dword [esp + 0x28]
mov cl, byte [edx + 0xc]
add edx, 0x18
mov eax, dword [ebx + 0x1c]
and cl, byte [esp + 0x38]
mov dword [esp + 0x1c], edx
mov byte [esi + eax], cl
inc esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], esi
cmp esi, dword [eax]
jge 0x10074846
mov esi, dword [esp + 0x18]
jmp 0x100746b8
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push esi
call fcn.10032d30
add esp, 8
jmp 0x10074c95
xor esi, esi
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100748cf
mov esi, ecx
xor eax, eax
cmp ax, word [esi + 0x32]
jae 0x100748e3
xor edi, edi
mov eax, dword [esi + 4]
movzx ecx, word [ebx + 0x32]
movsx esi, word [eax + edi*2]
mov eax, dword [ebx + 4]
mov edx, eax
test ecx, ecx
je 0x10074888
movsx eax, word [edx]
lea edx, [edx + 2]
dec ecx
cmp esi, eax
je 0x100748c0
test ecx, ecx
jg 0x10074876
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x28]
mov word [eax + edx*2], si
mov esi, dword [esp + 0x40]
mov ecx, dword [ebx + 0x20]
mov eax, dword [esi + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov al, byte [edi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x28], edx
movzx eax, word [esi + 0x32]
inc edi
cmp edi, eax
jl 0x10074862
mov edi, dword [esp + 0x30]
jmp 0x100748e3
mov esi, dword [esp + 0x40]
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x100748b1
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], 0x1012d1cc
mov ecx, ebx
call fcn.10074d00
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x1ac], 0
jne 0x100748fe
mov ecx, ebx
call fcn.100723d0
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x14]
je 0x10074953
movsx eax, word [eax + 0x2a]
movzx ecx, word [ebx + 0x34]
cmp ecx, eax
mov eax, dword [esp + 0x14]
jl 0x10074953
or dword [ebx + 0x38], 0x20
xor edx, edx
movsx esi, word [eax + 0x2a]
test esi, esi
jle 0x10074953
movsx eax, word [eax + 0x28]
mov dword [esp + 0x38], eax
nop
cmp edx, eax
je 0x10074944
mov ecx, ebx
call fcn.10071100
test ax, ax
js 0x1007494b
mov eax, dword [esp + 0x38]
inc edx
cmp edx, esi
jl 0x10074930
jmp 0x1007494f
and dword [ebx + 0x38], 0xffffffdf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0x1ac]
jne 0x100749f5
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x100749f1
movzx edx, word [ebx + 0x32]
movzx eax, word [ecx + 0x32]
cmp ax, dx
jne 0x100749de
mov edx, eax
xor edi, edi
mov dword [esp + 0x2c], edx
test edx, edx
je 0x100749d6
mov eax, dword [ebx + 4]
mov esi, dword [ecx + 4]
sub eax, esi
mov dword [esp + 0x38], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x38]
mov ax, word [esi]
cmp ax, word [ecx + esi]
mov ecx, dword [esp + 0x1c]
jne 0x100749d6
mov ecx, dword [ecx + 0x20]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ecx + edi*4]
mov edx, dword [edx + edi*4]
call fcn.10032ee0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x100749d6
inc edi
add esi, 2
cmp edi, edx
jl 0x100749a0
cmp edi, edx
je 0x10074a51
movzx edx, word [ebx + 0x32]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x10074976
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [edi + 0x9d], 0
je 0x10074ac4
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx]
add ecx, 0x18
push ebx
call fcn.10034640
add esp, 4
test eax, eax
je 0x10074aa6
cmp byte [edi + 0x49], 0
jne 0x10074c95
cmp byte [edi + 0x4a], 0
jne 0x10074c95
cmp dword [edi + 0xb0], 0
mov byte [edi + 0x49], 1
jle 0x10074a46
mov dword [edi + 0x100], 1
inc dword [edi + 0x108]
jmp 0x10074c95
mov al, byte [ecx + 0x36]
mov dl, byte [ebx + 0x36]
cmp al, dl
je 0x10074a87
cmp al, 0xb
je 0x10074a7b
cmp dl, 0xb
je 0x10074a7b
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x20]
call fcn.10032d30
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp byte [ecx + 0x36], 0xb
jne 0x10074a87
mov al, byte [ebx + 0x36]
mov byte [ecx + 0x36], al
cmp byte [ebp + 0x28], 2
mov edi, dword [esp + 0x30]
jne 0x10074c95
mov eax, dword [ecx + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [ecx + 0x38], eax
jmp 0x10074c95
or dword [edi + 0x18], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10074abb
mov eax, dword [edi + 0x98]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
jmp 0x10074c36
test byte [eax + 0x24], 0x20
je 0x10074ad5
cmp dword [esp + 0x34], 0
je 0x10074c32
inc dword [ecx + 0x2c]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0x2c]
mov dword [esp + 0x2c], edi
test esi, esi
jne 0x10074b0a
cmp dword [ecx + 0x78], esi
jne 0x10074af7
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x10074af7
mov byte [ecx + 0x17], 1
call fcn.1004f440
mov ecx, dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x10074c91
push dword [esp + 0x24]
mov edx, 1
call fcn.10075d80
add esp, 4
mov edx, 0xa9
mov ecx, esi
call fcn.1004f810
push 2
push edi
push dword [esp + 0x2c]
mov edx, 0x89
mov dword [ebx + 0x2c], eax
mov ecx, esi
call fcn.1004f7a0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x10074b93
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 0x188]
add edx, dword [eax + 0x184]
mov ecx, dword [ecx]
sub edx, ecx
push ecx
cmp byte [ecx + edx - 1], 0x3b
lea eax, [edx - 1]
mov ecx, str._UNIQUE
cmovne eax, edx
cmp dword [esp + 0x50], 0
push eax
mov eax, 0x1012fc88
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x40]
call fcn.10031dd0
add esp, 0x14
mov edi, eax
jmp 0x10074b95
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
push edi
push dword [esp + 0x30]
push dword [eax]
mov eax, dword [esp + 0x3c]
push dword [ebx]
push str.sqlite_master
mov eax, dword [eax + 0x10]
push dword [ecx + eax]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x34]
call fcn.10070240
add esp, 0x20
mov edx, edi
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.1002f8f0
cmp dword [esp + 0x34], 0
je 0x10074c24
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.10073cb0
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x18]
call fcn.10071f10
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.10031dd0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
push eax
call fcn.1004fd50
add esp, 4
mov edx, 0x99
mov ecx, esi
call fcn.1004f810
mov edx, dword [ebx + 0x2c]
mov ecx, esi
call fcn.100502c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cmp byte [edi + 0x9d], 0
jne 0x10074c43
test ecx, ecx
jne 0x10074c95
cmp dword [esp + 0x4c], 5
jne 0x10074c7f
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10074c7f
cmp byte [ecx + 0x36], 5
je 0x10074c7f
cmp dword [ecx + 0x14], 0
je 0x10074c71
nop dword [eax]
mov eax, dword [ecx + 0x14]
cmp byte [eax + 0x36], 5
je 0x10074c71
mov ecx, eax
cmp dword [ecx + 0x14], 0
jne 0x10074c60
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x14], ebx
jmp 0x10074403
mov eax, dword [eax + 8]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], ebx
jmp 0x10074403
mov edi, dword [esp + 0x30]
test ebx, ebx
je 0x10074403
mov edx, ebx
mov ecx, edi
call fcn.10070790
jmp 0x10074403
mov esi, dword [esp + 0x20]
jmp 0x1007440b
cmp esi, dword [edi + 0x128]
jb 0x10074ce4
cmp esi, dword [edi + 0x12c]
jae 0x10074ce4
mov eax, dword [edi + 0x124]
mov dword [esi], eax
mov dword [edi + 0x124], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100ae9aa
mov esp, ebp
pop ebp
ret
push esi
call fcn.1002f800
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ae9aa
mov esp, ebp
pop ebp
ret