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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x9c], edx
mov eax, edx
push edi
cmp dword [edx + 0x78], ecx
mov edi, dword [ebp + 8]
cmovne eax, dword [edx + 0x78]
cmp byte [eax + 0xd3], 2
jne 0x494824
movzx eax, byte [edi + 0x3c]
mov edi, dword [edi + 0x50]
imul eax, eax, 0x48
mov ebx, dword [edi + 0x2c]
add eax, 8
add eax, esi
mov dword [ebp - 0x8c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [edx]
mov dword [ebp - 0x90], eax
test ebx, 0x2000
jne 0x494835
test byte [ebp + 0xc], 0x20
jne 0x494835
mov eax, ebx
and eax, 0x30
mov dword [ebp - 0x98], eax
mov eax, 0x400
jne 0x49461f
mov esi, ebx
and esi, eax
jne 0x494615
cmp word [edi + 0x18], cx
ja 0x49461f
test byte [ebp + 0xc], 3
jne 0x49461f
mov edx, ecx
jmp 0x494626
xor edx, edx
mov esi, ebx
inc edx
and esi, eax
push dword [ebp - 0x8c]
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, str.SEARCH
cmove eax, ecx
mov dword [ebp - 0x94], edx
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x80], 0x64
push str._s__S
push eax
mov dword [ebp - 0x7c], 0x3b9aca00
mov word [ebp - 0x74], pe_nt_image_headers32
call fcn.00440ee0
add esp, 0x10
test ebx, 0x500
jne 0x494737
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 0x4946c9
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x4946c9
xor eax, eax
mov esi, str.PRIMARY_KEY
cmp dword [ebp - 0x94], eax
cmove esi, eax
test esi, esi
je 0x4947cf
jmp 0x4946f7
test ebx, 0x20000
je 0x4946d8
mov esi, str.AUTOMATIC_PARTIAL_COVERING_INDEX
jmp 0x4946f7
test ebx, 0x4000
je 0x4946e7
mov esi, str.AUTOMATIC_COVERING_INDEX
jmp 0x4946f7
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.00440a6b
mov eax, dword [ebp - 0x90]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00440ee0
add esp, 0xc
lea ecx, [ebp - 0x88]
mov edx, edi
call fcn.0049447a
jmp 0x4947cf
test bl, 0xf
setne cl
bt ebx, 8
setb al
test al, cl
je 0x4947b1
mov esi, str.rowid
lea eax, [ebp - 0x88]
push esi
push str._USING_INTEGER_PRIMARY_KEY___s
push eax
call fcn.00440ee0
add esp, 0xc
test bl, 5
je 0x49476b
push 0x3d
jmp 0x49478b
cmp dword [ebp - 0x98], 0x30
jne 0x49478e
push esi
lea eax, [ebp - 0x88]
push str.___AND__s
push eax
call fcn.00440ee0
add esp, 0xc
push 0x3c
pop eax
jmp 0x49479a
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.00440ee0
add esp, 0xc
jmp 0x4947cf
test esi, esi
je 0x4947cf
push dword [edi + 0x24]
lea eax, [ebp - 0x88]
push dword [edi + 0x18]
push str._VIRTUAL_TABLE_INDEX__d:_s
push eax
call fcn.00440ee0
add esp, 0x10
mov eax, dword [ebp - 0x8c]
test byte [eax + 0x24], 8
je 0x4947ee
lea eax, [ebp - 0x88]
push str._LEFT_JOIN
push eax
call fcn.00440ee0
pop ecx
pop ecx
lea ecx, [ebp - 0x88]
call fcn.00440b33
push 0xfffffffffffffffa
push eax
mov eax, dword [ebp - 0x9c]
mov edx, 0xb9
push 0
push dword [eax + 0xe0]
mov eax, dword [ebp - 0xa0]
mov ecx, eax
push dword [eax + 0x6c]
call fcn.004592f6
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.004b0ce6
leave
ret
xor eax, eax
jmp 0x494826