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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0xc], eax
mov ecx, str.sqlite_temp_master
mov dword [esp + 0x20], edi
mov esi, dword [edi]
mov dword [esp + 0x14], esi
cmp byte [esi + 0xb1], 0
je 0x4b9663
cmp dword [esi + 0xac], 1
jne 0x4b9663
movzx ebx, byte [esi + 0xb0]
mov eax, str.sqlite_master
cmp ebx, 1
cmove eax, ecx
mov ecx, eax
mov dword [esp + 0x28], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b9620
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, esi
push eax
mov dword [esp + 0x34], eax
call fcn.0046a610
mov esi, eax
add esp, 8
test esi, esi
je 0x4b9654
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.00547470
add esp, 0xc
lea edx, [edi + 0xd0]
mov dword [esp + 0x18], edx
jmp 0x4b977f
lea ecx, [esp + 0x2c]
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.004b9210
mov ebx, eax
add esp, 8
test ebx, ebx
js 0x4ba014
cmp dword [ebp + 0xc], 0
je 0x4b96ad
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jbe 0x4b96a8
cmp ebx, 1
je 0x4b96a8
push str.temporary_table_name_must_be_unqualified
push edi
call fcn.0046d800
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4b9710
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b9705
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, esi
call fcn.0046a610
mov esi, eax
add esp, 8
test esi, esi
je 0x4b9707
push dword [esp + 0x1c]
push dword [esp + 0x30]
push esi
call fcn.00547470
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
mov byte [eax + esi], 0
call fcn.0046d890
jmp 0x4b9712
xor esi, esi
mov ecx, esi
call fcn.0046d890
jmp 0x4b9712
xor esi, esi
mov cl, byte [edi + 0xd0]
lea eax, [edi + 0xd0]
mov dword [esp + 0x18], eax
cmp cl, 2
jb 0x4b977f
mov dword [esp + 0x18], eax
cmp cl, 3
je 0x4b977f
mov ecx, dword [edi]
push 0
push 0x10
test ecx, ecx
je 0x4b9741
call fcn.0046a610
jmp 0x4b9746
call fcn.00469f50
mov edx, eax
add esp, 8
test edx, edx
je 0x4b9775
mov ecx, dword [esp + 0xc]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [edi + 0x10c]
mov dword [edx + 0xc], eax
mov dword [edi + 0x10c], edx
lea eax, [edi + 0xd0]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
test esi, esi
je 0x4ba014
cmp dword [ebp + 0x10], 0
mov ecx, str.table
mov eax, str.view
mov edx, esi
cmove eax, ecx
mov ecx, edi
push esi
push eax
call fcn.004b92a0
add esp, 8
test eax, eax
jne 0x4ba005
mov eax, 1
mov edx, ebx
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb0], cl
mov eax, dword [eax + 0x10]
cmovne ecx, dword [ebp + 0xc]
shl edx, 4
cmp ecx, 1
mov dword [esp + 0x28], ecx
mov ecx, str.sqlite_temp_master
mov dword [esp + 0x1c], edx
mov eax, dword [edx + eax]
mov edx, 0x12
push eax
mov dword [esp + 0x30], eax
mov eax, str.sqlite_master
cmove eax, ecx
mov ecx, edi
push 0
push eax
call fcn.004b7710
add esp, 0xc
test eax, eax
jne 0x4ba005
cmp dword [ebp + 0x14], eax
jne 0x4b984a
push dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x30]
push esi
movzx edx, byte [eax + ecx*2 + 0x58d134]
mov ecx, edi
call fcn.004b7710
add esp, 0xc
test eax, eax
jne 0x4ba005
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x4b991f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax]
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004d9b20
test eax, eax
jne 0x4ba005
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.004b8330
add esp, 4
test eax, eax
je 0x4b98f5
cmp dword [ebp + 0x18], 0
jne 0x4b98be
mov ecx, dword [esp + 0xc]
cmp byte [eax + 0x2b], 2
mov eax, str.view
push ecx
mov ecx, str.table
cmovne eax, ecx
push eax
push str._s__T_already_exists
push edi
call fcn.0046d800
add esp, 0x10
jmp 0x4ba005
mov eax, dword [edi + 0x74]
mov edx, edi
test eax, eax
mov ecx, ebx
cmovne edx, eax
shl dword [esp + 0x10], cl
mov eax, dword [edx + 0x54]
test dword [esp + 0x10], eax
jne 0x4b98e9
bts eax, ebx
mov dword [edx + 0x54], eax
cmp ebx, 1
jne 0x4b98e9
mov ecx, edx
call fcn.004c0d30
mov ecx, edi
call fcn.004b9530
jmp 0x4ba005
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.004b88b0
add esp, 4
test eax, eax
je 0x4b991f
push esi
push str.there_is_already_an_index_named__s
push edi
call fcn.0046d800
add esp, 0xc
jmp 0x4ba005
mov ecx, dword [esp + 0x14]
push 0
push 0x40
call fcn.0046a610
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b9ffb
push 0x40
push 0
push eax
call fcn.005479f0
mov edx, dword [esp + 0x38]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [edx], esi
mov esi, dword [esp + 0x1c]
mov word [edx + 0x20], ax
mov eax, dword [ecx + 0x10]
mov eax, dword [esi + eax + 0xc]
mov dword [edx + 0x3c], eax
mov eax, 0xc8
mov dword [edx + 0x18], 1
mov word [edx + 0x26], ax
mov dword [edi + 0xec], edx
cmp byte [ecx + 0xb1], 0
jne 0x4ba014
mov esi, dword [edi + 8]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4b99a0
lea ecx, [edi + 0x74]
mov dword [esp + 0x2c], ecx
mov eax, ecx
jmp 0x4b99ce
cmp dword [edi + 0x74], 0
jne 0x4b99b2
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4b99b2
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0048e850
mov esi, eax
lea eax, [edi + 0x74]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
test esi, esi
je 0x4ba014
mov eax, dword [eax]
mov edx, edi
test eax, eax
mov ecx, ebx
cmovne edx, eax
shl dword [esp + 0x10], cl
mov dword [esp + 0x28], edx
mov eax, dword [edx + 0x54]
test dword [esp + 0x10], eax
jne 0x4b9a00
bts eax, ebx
mov dword [edx + 0x54], eax
cmp ebx, 1
jne 0x4b9a00
mov ecx, edx
call fcn.004c0d30
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x50]
or byte [edx + 0x14], 1
bts eax, ebx
cmp dword [ebp + 0x14], 0
mov dword [edx + 0x50], eax
je 0x4b9a65
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b9a32
push 0
push 0
push 0
mov edx, 0xa9
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4b9a65
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xa9
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 [edi + 0x2c]
inc eax
mov dword [edi + 0x58], eax
mov dword [esp + 0xc], eax
inc eax
mov dword [edi + 0x5c], eax
inc eax
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b9a9c
push 2
push eax
push ebx
mov edx, 0x62
mov ecx, esi
call fcn.0048eaa0
lea edx, [esi + 0x70]
add esp, 0xc
mov dword [esp + 0x10], edx
jmp 0x4b9adc
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea edx, [esi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
add edx, 2
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], 2
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xa4]
bts eax, ebx
mov dword [esi + 0xa4], eax
cmp ebx, 1
je 0x4b9b12
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x4b9b12
mov eax, dword [esi + 0xa8]
bts eax, ebx
mov dword [esi + 0xa8], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x78], ecx
jg 0x4b9b3f
mov eax, dword [esp + 0xc]
mov edx, 0x12
push 0
add eax, 2
mov ecx, esi
push 0
push eax
call fcn.0048eaa0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4b9b7c
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
add edx, 2
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], edx
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 + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 2
or eax, 0
mov eax, 1
jne 0x4b9b99
mov eax, 4
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x78], ecx
jg 0x4b9bba
push eax
push 2
push ebx
mov edx, 0x63
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4b9be8
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x10]
movzx eax, byte [eax + 0x54]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x78], ecx
jg 0x4b9c15
push eax
push 5
push ebx
mov edx, 0x63
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4b9c43
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 5
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
cmp byte [eax + 0x57], 0
je 0x4b9c5d
mov eax, 0x5c24f8
jmp 0x4b9c75
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x28]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
cmp dword [ebp + 0x10], 0
mov dword [eax + 8], ecx
jne 0x4b9cf2
cmp dword [ebp + 0x14], 0
jne 0x4b9cf2
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x78], ecx
jg 0x4b9cb3
mov eax, dword [esp + 0xc]
mov edx, 0x92
push 1
inc eax
mov ecx, esi
push eax
push ebx
call fcn.0048eaa0
add esp, 0xc
mov dword [edi + 0x84], eax
jmp 0x4b9d4c
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0xc]
inc edx
mov dword [eax + ecx*4], 0x92
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
mov dword [edi + 0x84], eax
jmp 0x4b9d4c
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b9d15
mov eax, dword [esp + 0xc]
mov edx, 0x47
push 0
inc eax
mov ecx, esi
push eax
push 0
call fcn.0048eaa0
add esp, 0xc
jmp 0x4b9d4c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
inc edx
mov dword [eax + ecx*4], 0x47
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 [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4b9d77
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
jne 0x4b9d6c
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4b9d6c
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0048e850
mov dword [esp + 0x14], eax
cmp ebx, 1
je 0x4b9da4
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + eax + 4]
cmp byte [ecx + 9], 0
je 0x4b9da4
push str.sqlite_master
push 1
push 1
mov edx, ebx
mov ecx, edi
call fcn.004b77a0
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x2c], ecx
cmp dword [edx + 0x78], ecx
jg 0x4b9dd2
mov ecx, dword [esp + 0x14]
mov edx, 0x70
push ebx
push 1
push 0
call fcn.0048eaa0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, eax
jmp 0x4b9e09
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
jne 0x4b9e24
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 5
cmp dword [edi + 0x28], 0
jne 0x4b9e31
mov dword [edi + 0x28], 1
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b9e56
push 0
push dword [esp + 0x10]
mov edx, 0x7e
mov ecx, esi
push 0
call fcn.0048eaa0
mov edi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4b9e8c
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edx, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x7e
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 ebx, dword [esp + 0xc]
mov edx, dword [esi + 0x74]
add ebx, 2
cmp dword [esi + 0x78], edx
jg 0x4b9eb3
push 0
push ebx
push 6
mov edx, 0x4c
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov edx, eax
jmp 0x4b9ee9
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], 6
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b9f03
push 0x58ba10
or edx, 0xffffffff
call fcn.0048f5b0
add esp, 4
jmp 0x4b9f3a
test edx, edx
jns 0x4b9f0b
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [edi]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b9f2f
push 0xffffffffffffffff
push 0x58ba10
mov edx, eax
mov ecx, esi
call fcn.0048f800
add esp, 8
jmp 0x4b9f3a
mov dword [eax + 0x10], 0x58ba10
mov byte [eax + 1], 0xff
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b9f5a
push dword [esp + 0xc]
mov edx, 0x7f
mov ecx, esi
push ebx
push 0
call fcn.0048eaa0
add esp, 0xc
jmp 0x4b9f88
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4b9f9e
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b9fc2
push 0
push 0
push 0
mov edx, 0x79
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x79
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
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [edi + 0x24]
mov dword [edi + 0xc], 7
mov ecx, dword [esp + 0x14]
mov edx, esi
mov byte [edi + 0x11], 1
call fcn.0046a220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret