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

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0xc], ebp
push edi
mov edi, dword [esp + 0x50]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov ebx, dword [edi + 0x18]
test eax, eax
je 0x4ebed2
cmp dword [esp + 0x5c], ebp
jne 0x4ebed2
push str.ORDER_BY_without_LIMIT_on_UPDATE
push esi
call fcn.004af3d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0
push eax
push ecx
call fcn.004b3ba0
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ebf01
push 0
push 0
push eax
push dword [esp + 0x4c]
call fcn.004798e0
add esp, 0x10
mov dword [esp + 0x58], eax
jmp 0x4ebf05
mov dword [esp + 0x58], ebp
push 0
push edi
mov edi, dword [esp + 0x48]
push edi
call fcn.004cf560
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x4ebf3b
push 0
push 0
push eax
push edi
call fcn.004798e0
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x4ebf3f
mov dword [esp + 0x14], ebp
test ecx, ecx
je 0x4ebf53
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x34], 0xffffffff
dec dword [eax + 0x20]
mov dword [ecx + 0x18], ebp
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ec02b
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0x32]
jae 0x4ec01e
lea ecx, [ecx]
mov eax, dword [eax + 4]
push 0
push 0x34
push dword [esi]
movsx eax, word [eax + ebx*2]
mov dword [esp + 0x5c], eax
call fcn.004ad310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4ebfce
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x4b
push edi
mov word [edi + 0x22], ax
call fcn.0047a7f0
mov eax, dword [esi]
add esp, 0x10
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4ebfc5
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004af3d0
add esp, 0xc
mov eax, dword [esp + 0x50]
inc eax
mov word [edi + 0x20], ax
cmp dword [esp + 0x5c], 0
je 0x4ec000
test edi, edi
je 0x4ebfec
push 0
push 0
push edi
push dword [esp + 0x4c]
call fcn.004798e0
add esp, 0x10
jmp 0x4ebfee
xor eax, eax
push eax
push dword [esp + 0x14]
push esi
call fcn.004b38b0
add esp, 0xc
mov dword [esp + 0x10], eax
push edi
push ebp
push esi
call fcn.004b38b0
mov ebp, eax
inc ebx
mov eax, dword [esp + 0x54]
add esp, 0xc
movzx ecx, word [eax + 0x32]
cmp ebx, ecx
jl 0x4ebf70
mov dword [esp + 0x50], 0xf
jmp 0x4ec12e
cmp dword [ebx + 0xc], ebp
je 0x4ec06a
xor eax, eax
xor edi, edi
cmp ax, word [ebx + 0x2a]
jge 0x4ec05d
lea ebx, [ebx]
push edi
push esi
call fcn.0047a670
push eax
push ebp
push esi
call fcn.004b38b0
mov ebp, eax
inc edi
movsx eax, word [ebx + 0x2a]
add esp, 0x14
cmp edi, eax
jl 0x4ec040
mov dword [esp + 0x50], 0xe
jmp 0x4ec12e
mov ebx, dword [ebx + 0x38]
neg ebx
push 0
sbb ebx, ebx
push 0x34
push dword [esi]
add ebx, 0xf
mov dword [esp + 0x5c], ebx
call fcn.004ad310
mov edi, eax
add esp, 0xc
or ebx, 0xffffffff
test edi, edi
je 0x4ec0c2
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
push edi
mov byte [edi], 0x4b
mov word [edi + 0x22], bx
call fcn.0047a7f0
mov eax, dword [esi]
add esp, 0x10
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4ec0c2
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004af3d0
add esp, 0xc
push edi
push 0
push esi
call fcn.004b38b0
add esp, 0xc
mov ebp, eax
cmp dword [esp + 0x5c], 0
je 0x4ec12e
push 0
push 0x34
push dword [esi]
call fcn.004ad310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4ec11e
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
push edi
mov byte [edi], 0x4b
mov word [edi + 0x22], bx
call fcn.0047a7f0
mov eax, dword [esi]
add esp, 0x10
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4ec11e
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.004af3d0
add esp, 0xc
push edi
push 0
push esi
call fcn.004b38b0
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4ec174
xor ebx, ebx
cmp dword [eax], ebx
jle 0x4ec174
lea edi, [eax + 4]
nop
mov eax, dword [edi]
test eax, eax
je 0x4ec159
push 0
push 0
push eax
push dword [esp + 0x4c]
call fcn.004798e0
add esp, 0x10
jmp 0x4ec15b
xor eax, eax
push eax
push ebp
push esi
call fcn.004b38b0
mov ebp, eax
inc ebx
mov eax, dword [esp + 0x58]
add esp, 0xc
add edi, 0x14
cmp ebx, dword [eax]
jl 0x4ec140
push dword [esp + 0x58]
push 0x820000
push dword [esp + 0x24]
push 0
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x30]
push ebp
push esi
call fcn.004cea80
mov ecx, dword [esp + 0x68]
mov edi, eax
mov eax, dword [esp + 0x74]
add esp, 0x24
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
test eax, eax
je 0x4ec1d5
movzx eax, word [eax + 0x32]
mov dword [esp + 0x28], eax
jmp 0x4ec1dd
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.004cc380
add esp, 0xc
test edi, edi
je 0x4ec1ff
push 1
push edi
push dword [esp + 0x48]
call fcn.00471af0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret