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

Disassembly:
sub esp, 0x94
mov eax, dword [0x101a2ce4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0x9c]
xor edx, edx
mov ecx, ebx
mov dword [esp + 0x28], ebx
push esi
mov esi, dword [esp + 0xa4]
mov eax, dword [ebx + 0x78]
test eax, eax
push edi
mov edi, dword [esp + 0xac]
cmovne ecx, eax
cmp byte [ecx + 0xd3], 2
jne 0x1014dd75
movzx eax, byte [edi + 0x3c]
mov edi, dword [edi + 0x50]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea edx, [esi + eax*8]
mov eax, dword [ebx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov ebx, dword [edi + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
test ebx, 0x2000
jne 0x1014dd8f
mov ax, word [esp + 0xb0]
test al, 0x20
jne 0x1014dd8f
push ebp
mov ebp, ebx
and ebp, 0x30
jne 0x1014db39
mov esi, ebx
and esi, 0x400
jne 0x1014db31
cmp word [edi + 0x18], si
ja 0x1014db39
test al, 3
jne 0x1014db39
xor ecx, ecx
jmp 0x1014db46
mov esi, ebx
mov ecx, 1
and esi, 0x400
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
mov eax, dword [esp + 0x30]
push edx
mov dword [esp + 0x14], eax
mov edx, str.SCAN
mov eax, str.SEARCH
mov dword [esp + 0x1c], 0x64
cmove eax, edx
mov dword [esp + 0x20], 0x3b9aca00
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0
push str._s__S
push eax
mov word [esp + 0x34], 0x100
call fcn.100c6690
add esp, 0x10
test ebx, 0x500
jne 0x1014dc6d
mov eax, dword [esp + 0x2c]
mov ebp, dword [edi + 0x20]
mov eax, dword [eax + 0x10]
test byte [eax + 0x1c], 0x80
je 0x1014dbd9
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
jne 0x1014dbd9
xor eax, eax
mov esi, str.PRIMARY_KEY
cmp dword [esp + 0x28], eax
cmove esi, eax
test esi, esi
je 0x1014dcff
jmp 0x1014dc07
test ebx, 0x20000
je 0x1014dbe8
mov esi, str.AUTOMATIC_PARTIAL_COVERING_INDEX
jmp 0x1014dc07
test ebx, 0x4000
je 0x1014dbf7
mov esi, str.AUTOMATIC_COVERING_INDEX
jmp 0x1014dc07
test bl, 0x40
mov esi, str.COVERING_INDEX__s
mov eax, str.INDEX__s
cmove esi, eax
mov ecx, dword [esp + 0x20]
add ecx, 7
cmp ecx, dword [esp + 0x18]
jb 0x1014dc2a
push 7
lea eax, [esp + 0x14]
push str._USING
push eax
call fcn.100e6610
add esp, 0xc
jmp 0x1014dc4c
mov eax, dword [str._USING]
mov dword [esp + 0x20], ecx
add ecx, dword [esp + 0x14]
mov dword [ecx - 7], eax
mov ax, word [0x101964c8]
mov word [ecx - 3], ax
mov al, byte [0x101964ca]
mov byte [ecx - 1], al
push dword [ebp]
lea eax, [esp + 0x14]
push esi
push eax
call fcn.100c6690
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.100e6c50
add esp, 0x14
jmp 0x1014dcff
test bl, 0xf
setne cl
bt ebx, 8
setb al
test al, cl
je 0x1014dce3
push str.rowid
lea eax, [esp + 0x14]
push str._USING_INTEGER_PRIMARY_KEY___s
push eax
call fcn.100c6690
add esp, 0xc
test bl, 5
je 0x1014dca1
mov eax, 0x3d
jmp 0x1014dcce
cmp ebp, 0x30
jne 0x1014dcc2
push str.rowid
lea eax, [esp + 0x14]
push str.___AND__s
push eax
call fcn.100c6690
add esp, 0xc
lea eax, [ebp + 0xc]
jmp 0x1014dcce
movzx eax, bl
shr eax, 4
and eax, 2
or eax, 0x3c
push eax
lea eax, [esp + 0x14]
push str._c__
push eax
call fcn.100c6690
add esp, 0xc
jmp 0x1014dcff
test esi, esi
je 0x1014dcff
push dword [edi + 0x24]
lea eax, [esp + 0x14]
push dword [edi + 0x18]
push str._VIRTUAL_TABLE_INDEX__d:_s
push eax
call fcn.100c6690
add esp, 0x10
mov eax, dword [esp + 0x2c]
pop ebp
test byte [eax + 0x24], 8
je 0x1014dd1c
lea eax, [esp + 0xc]
push str._LEFT_JOIN
push eax
call fcn.100c6690
add esp, 8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1014dd4f
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
cmp dword [esp + 0x18], 0
jbe 0x1014dd4b
test byte [esp + 0x21], 4
jne 0x1014dd4b
lea eax, [esp + 0xc]
push eax
call fcn.101523f0
add esp, 4
mov ecx, eax
jmp 0x1014dd4f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push 0xfffffffffffffffa
push ecx
push 0
push dword [eax + 0xe0]
mov eax, dword [esp + 0x44]
push dword [eax + 0x6c]
push 0xb9
push eax
call fcn.10139bc0
add esp, 0x1c
mov edx, eax
pop edi
pop esi
mov eax, edx
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10169f7a
add esp, 0x94
ret
mov ecx, dword [esp + 0x9c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10169f7a
add esp, 0x94
ret