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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, dword [edx + 0x30]
mov ebx, ecx
mov dword [esp + 0x2c], edx
mov ebp, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], edi
test edi, edi
je 0x10055530
mov esi, dword [ebx]
mov eax, dword [edi]
mov dword [esp + 0x18], esi
cmp eax, dword [esi + 0x80]
jle 0x10055113
push str.too_many_terms_in_ORDER_BY_clause
push ebx
call fcn.10020b80
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test eax, eax
jle 0x1005512b
lea eax, [edi + 0x14]
nop dword [eax]
and dword [eax], 0xfffffffb
lea eax, [eax + 0x14]
inc ecx
cmp ecx, dword [edi]
jl 0x10055120
lea eax, [edx + 0x34]
mov dword [edx + 0x38], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x10055155
nop dword [eax + eax]
mov dword [ecx + 0x38], edx
mov edx, dword [eax]
mov ecx, dword [edx + 0x34]
lea eax, [edx + 0x34]
test ecx, ecx
jne 0x10055140
mov dword [esp + 0x2c], edx
jmp 0x1005515d
test ebp, ebp
je 0x10055518
mov eax, dword [edx + 0x1c]
xor ecx, ecx
mov dword [esp + 0x34], eax
xor ebp, ebp
mov eax, dword [esp + 0x24]
add edi, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edi
cmp dword [eax], ecx
jle 0x10055505
mov edx, eax
nop word [eax + eax]
test byte [edi + 0xc], 4
mov dword [esp + 0x30], 0xffffffff
jne 0x100554ed
mov esi, dword [edi]
test esi, esi
je 0x100554ed
nop dword [eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x100551d5
test eax, 0x80000
je 0x100551c9
mov esi, dword [esi + 0x14]
mov esi, dword [esi + 8]
jmp 0x100551cc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100551b0
jmp 0x100554ed
test eax, 0x800
je 0x100551e1
mov ebp, dword [esi + 8]
jmp 0x10055236
mov bl, byte [esi]
movzx eax, bl
sub eax, 0xad
je 0x10055210
sub eax, 1
jne 0x10055284
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
call fcn.10058f20
test eax, eax
je 0x10055284
mov ebp, dword [esp + 0x30]
jmp 0x1005522e
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.10058f20
test eax, eax
je 0x10055284
mov ebp, dword [esp + 0x30]
neg ebp
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
test ebp, ebp
jle 0x10055246
cmp ebp, dword [eax]
jle 0x1005542a
push dword [eax]
lea eax, [ecx + 1]
push str.ORDER
push eax
push str._r__s_BY_term_out_of_range___should_be_between_1_and__d
push ebx
call fcn.10020b80
mov ecx, dword [ebx]
add esp, 0x14
test byte [esi + 4], 3
jne 0x10055272
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x1005553a
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10055261
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp bl, 0x3b
jne 0x100552bb
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov ebx, dword [eax]
test ebx, ebx
jle 0x100552bb
lea edi, [eax + 0xc]
test byte [edi + 8], 3
jne 0x100552b3
push dword [esi + 8]
push dword [edi]
call fcn.10020cc0
add esp, 8
test eax, eax
je 0x10055499
inc ebp
add edi, 0x14
cmp ebp, ebx
jl 0x10055298
xor ebp, ebp
mov ebx, dword [esp + 0x18]
mov edx, esi
push 0
push 0
mov ecx, ebx
call fcn.100579e0
add esp, 8
mov dword [esp + 0x14], eax
cmp byte [ebx + 0x57], 0
jne 0x10055419
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], edx
movlpd qword [esp + 0x4c], xmm0
mov edi, dword [edx]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], 0x80081
mov dword [esp + 0x54], 0
mov bl, byte [edi + 0x5b]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x40]
mov byte [edi + 0x5b], 1
call fcn.10055d30
xor ebp, ebp
mov byte [edi + 0x5b], bl
test eax, eax
jne 0x1005536d
mov ebx, dword [esp + 0x38]
cmp dword [ebx], ebp
jle 0x1005536b
lea edi, [ebx + 8]
mov edx, dword [edi]
inc ebp
push 0xffffffffffffffff
push dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x38], ebp
call fcn.1005fa20
add esp, 8
cmp eax, 2
jl 0x10055371
add edi, 0x14
cmp ebp, dword [ebx]
jl 0x10055348
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0xd8], 2
jb 0x10055411
test ebp, ebp
jle 0x10055411
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
mov edi, dword [edx]
mov dword [esp + 0x60], edx
mov edx, esi
movlpd qword [esp + 0x6c], xmm0
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], 0x80081
mov dword [esp + 0x74], 0
mov bl, byte [edi + 0x5b]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x60]
mov byte [edi + 0x5b], 1
call fcn.10055d30
mov byte [edi + 0x5b], bl
test eax, eax
jne 0x10055411
mov eax, dword [esp + 0x38]
xor edi, edi
cmp dword [eax], edi
jle 0x10055411
lea ebx, [eax + 8]
mov ebp, eax
nop
mov edx, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push esi
call fcn.1005fa20
add esp, 8
cmp eax, 2
jl 0x1005540d
inc edi
add ebx, 0x14
cmp edi, dword [ebp]
jl 0x100553f0
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x10055426
mov edx, eax
mov ecx, ebx
call fcn.100577b0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ebp, ebp
jle 0x100554dc
cmp byte [ebx + 0xd8], 2
jae 0x100554d2
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push 0
push 0x35
call fcn.1001d1c0
mov edi, eax
add esp, 8
test edi, edi
je 0x1005553d
push 0x34
push 0
push edi
call fcn.10106200
or eax, 0xffffffff
mov byte [edi], 0x9b
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [edi + 0x34], 0
or dword [edi + 4], 0x800
mov dword [edi + 0x18], 1
mov dword [edi + 8], ebp
mov ecx, dword [eax]
cmp ecx, esi
jne 0x100554a3
mov dword [eax], edi
jmp 0x100554bd
add ebp, 1
jne 0x10055426
jmp 0x100552bd
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x71
jne 0x100554ba
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x71
je 0x100554b0
mov dword [ecx + 0xc], edi
mov edx, esi
mov ecx, ebx
call fcn.100577b0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov word [edi + 0x10], bp
or dword [edi + 0xc], 4
mov ebp, dword [esp + 0x3c]
jmp 0x100554e5
mov ebp, 1
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc ecx
add edi, 0x14
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edi
cmp ecx, dword [edx]
jl 0x10055190
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x38]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x10055155
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10055530
lea ecx, [edi + 0x14]
inc eax
test byte [ecx], 4
je 0x1005554a
add ecx, 0x14
cmp eax, edx
jl 0x10055523
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x44], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str._r_ORDER_BY_term_does_not_match_any_column_in_the_result_set
push ebx
call fcn.10020b80
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret