Function at 0x10060bc0
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 0x10061030
mov esi, dword [ebx]
mov eax, dword [edi]
mov dword [esp + 0x18], esi
cmp eax, dword [esi + 0x80]
jle 0x10060c13
push str.too_many_terms_in_ORDER_BY_clause
push ebx
call fcn.100294d0
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 0x10060c2b
lea eax, [edi + 0x14]
nop dword [eax]
and dword [eax], 0xfffffffb
lea eax, [eax + 0x14]
inc ecx
cmp ecx, dword [edi]
jl 0x10060c20
lea eax, [edx + 0x34]
mov dword [edx + 0x38], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x10060c55
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 0x10060c40
mov dword [esp + 0x2c], edx
jmp 0x10060c5d
test ebp, ebp
je 0x10061018
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 0x10061005
mov edx, eax
nop word [eax + eax]
test byte [edi + 0xc], 4
mov dword [esp + 0x30], 0xffffffff
jne 0x10060fed
mov esi, dword [edi]
test esi, esi
je 0x10060fed
nop dword [eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x10060cd5
test eax, 0x80000
je 0x10060cc9
mov esi, dword [esi + 0x14]
mov esi, dword [esi + 8]
jmp 0x10060ccc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10060cb0
jmp 0x10060fed
test eax, 0x800
je 0x10060ce1
mov ebp, dword [esi + 8]
jmp 0x10060d36
mov bl, byte [esi]
movzx eax, bl
sub eax, 0xad
je 0x10060d10
sub eax, 1
jne 0x10060d84
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
call fcn.10064c00
test eax, eax
je 0x10060d84
mov ebp, dword [esp + 0x30]
jmp 0x10060d2e
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.10064c00
test eax, eax
je 0x10060d84
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 0x10060d46
cmp ebp, dword [eax]
jle 0x10060f2a
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.100294d0
mov ecx, dword [ebx]
add esp, 0x14
test byte [esi + 4], 3
jne 0x10060d72
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x1006103a
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10060d61
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp bl, 0x3b
jne 0x10060dbb
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov ebx, dword [eax]
test ebx, ebx
jle 0x10060dbb
lea edi, [eax + 0xc]
test byte [edi + 8], 3
jne 0x10060db3
push dword [esi + 8]
push dword [edi]
call fcn.10029610
add esp, 8
test eax, eax
je 0x10060f99
inc ebp
add edi, 0x14
cmp ebp, ebx
jl 0x10060d98
xor ebp, ebp
mov ebx, dword [esp + 0x18]
mov edx, esi
push 0
push 0
mov ecx, ebx
call fcn.100635e0
add esp, 8
mov dword [esp + 0x14], eax
cmp byte [ebx + 0x57], 0
jne 0x10060f19
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.10061830
xor ebp, ebp
mov byte [edi + 0x5b], bl
test eax, eax
jne 0x10060e6d
mov ebx, dword [esp + 0x38]
cmp dword [ebx], ebp
jle 0x10060e6b
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.1006b7d0
add esp, 8
cmp eax, 2
jl 0x10060e71
add edi, 0x14
cmp ebp, dword [ebx]
jl 0x10060e48
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0xdc], 2
jb 0x10060f11
test ebp, ebp
jle 0x10060f11
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.10061830
mov byte [edi + 0x5b], bl
test eax, eax
jne 0x10060f11
mov eax, dword [esp + 0x38]
xor edi, edi
cmp dword [eax], edi
jle 0x10060f11
lea ebx, [eax + 8]
mov ebp, eax
nop
mov edx, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push esi
call fcn.1006b7d0
add esp, 8
cmp eax, 2
jl 0x10060f0d
inc edi
add ebx, 0x14
cmp edi, dword [ebp]
jl 0x10060ef0
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x10060f26
mov edx, eax
mov ecx, ebx
call fcn.100633e0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ebp, ebp
jle 0x10060fdc
cmp byte [ebx + 0xdc], 2
jae 0x10060fd2
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push 0
push 0x35
call fcn.10025f80
mov edi, eax
add esp, 8
test edi, edi
je 0x1006103d
push 0x34
push 0
push edi
call fcn.10117800
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 0x10060fa3
mov dword [eax], edi
jmp 0x10060fbd
add ebp, 1
jne 0x10060f26
jmp 0x10060dbd
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x71
jne 0x10060fba
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x71
je 0x10060fb0
mov dword [ecx + 0xc], edi
mov edx, esi
mov ecx, ebx
call fcn.100633e0
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 0x10060fe5
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 0x10060c90
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x38]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x10060c55
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10061030
lea ecx, [edi + 0x14]
inc eax
test byte [ecx], 4
je 0x1006104a
add ecx, 0x14
cmp eax, edx
jl 0x10061023
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.100294d0
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret