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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x49b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x98], edx
mov eax, edx
push edi
cmp dword [edx + 0x78], ecx
mov edi, dword [ebp + 8]
cmovne eax, dword [edx + 0x78]
cmp byte [eax + 0xd7], 2
jne 0x45bc8c
movzx eax, byte [edi + 0x3c]
add esi, 8
mov edi, dword [edi + 0x50]
imul eax, eax, 0x48
mov ebx, dword [edi + 0x2c]
add eax, esi
mov esi, dword [edx + 8]
mov edx, dword [edx]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x90], edx
test ebx, 0x2000
jne 0x45bc9d
test byte [ebp + 0xc], 0x20
jne 0x45bc9d
mov esi, ebx
and esi, 0x30
jne 0x45ba8a
test ebx, 0x400
jne 0x45ba7a
cmp word [edi + 0x18], cx
ja 0x45ba8a
test byte [ebp + 0xc], 3
jne 0x45ba8a
mov edx, ecx
mov dword [ebp - 0x94], ecx
jmp 0x45ba93
xor edx, edx
inc edx
mov dword [ebp - 0x94], edx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x84], eax
test edx, edx
mov eax, dword [ebp - 0x90]
mov ecx, str.SCAN
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, str.SEARCH
mov dword [ebp - 0x80], 0x64
cmove eax, ecx
mov dword [ebp - 0x7c], 0x3b9aca00
push eax
lea eax, [ebp - 0x88]
mov word [ebp - 0x74], 0x100
push str._s__S
push eax
call fcn.0040789a
add esp, 0x10
test ebx, 0x500
jne 0x45bb9f
mov eax, dword [ebp - 0x8c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x90], ecx
mov eax, dword [eax + 0x10]
test byte [eax + 0x1c], 0x80
je 0x45bb31
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x45bb31
xor eax, eax
mov esi, str.PRIMARY_KEY
cmp dword [ebp - 0x94], eax
cmove esi, eax
test esi, esi
je 0x45bc37
jmp 0x45bb5f
test ebx, 0x20000
je 0x45bb40
mov esi, str.AUTOMATIC_PARTIAL_COVERING_INDEX
jmp 0x45bb5f
test ebx, 0x4000
je 0x45bb4f
mov esi, str.AUTOMATIC_COVERING_INDEX
jmp 0x45bb5f
test bl, 0x40
mov esi, str.COVERING_INDEX__s
mov eax, str.INDEX__s
cmove esi, eax
push 7
lea eax, [ebp - 0x88]
push str._USING
push eax
call fcn.004073f7
mov eax, dword [ebp - 0x90]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.0040789a
add esp, 0xc
lea ecx, [ebp - 0x88]
mov edx, edi
call fcn.0045b8e6
jmp 0x45bc37
test bl, 0xf
setne cl
bt ebx, 8
setb al
test al, cl
je 0x45bc15
mov edi, str.rowid
lea eax, [ebp - 0x88]
push edi
push str._USING_INTEGER_PRIMARY_KEY___s
push eax
call fcn.0040789a
add esp, 0xc
test bl, 5
je 0x45bbd3
push 0x3d
jmp 0x45bbef
cmp esi, 0x30
jne 0x45bbf2
push edi
lea eax, [ebp - 0x88]
push str.___AND__s
push eax
call fcn.0040789a
add esp, 0xc
push 0x3c
pop eax
jmp 0x45bbfe
movzx eax, bl
shr eax, 4
and eax, 2
or eax, 0x3c
push eax
lea eax, [ebp - 0x88]
push str._c__
push eax
call fcn.0040789a
add esp, 0xc
jmp 0x45bc37
test ebx, 0x400
je 0x45bc37
push dword [edi + 0x24]
lea eax, [ebp - 0x88]
push dword [edi + 0x18]
push str._VIRTUAL_TABLE_INDEX__d:_s
push eax
call fcn.0040789a
add esp, 0x10
mov eax, dword [ebp - 0x8c]
test byte [eax + 0x24], 8
je 0x45bc56
lea eax, [ebp - 0x88]
push str._LEFT_JOIN
push eax
call fcn.0040789a
pop ecx
pop ecx
lea ecx, [ebp - 0x88]
call fcn.0040749c
push 0xfffffffffffffffa
push eax
mov eax, dword [ebp - 0x98]
mov edx, 0xb9
push 0
push dword [eax + 0xe4]
mov eax, dword [ebp - 0x9c]
mov ecx, eax
push dword [eax + 0x6c]
call fcn.0042034c
add esp, 0x14
mov ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473c7a
leave
ret
xor eax, eax
jmp 0x45bc8e