Function at 0x10055100
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 0x10055570
mov esi, dword [ebx]
mov eax, dword [edi]
mov dword [esp + 0x18], esi
cmp eax, dword [esi + 0x80]
jle 0x10055153
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 0x1005516b
lea eax, [edi + 0x14]
nop dword [eax]
and dword [eax], 0xfffffffb
lea eax, [eax + 0x14]
inc ecx
cmp ecx, dword [edi]
jl 0x10055160
lea eax, [edx + 0x34]
mov dword [edx + 0x38], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x10055195
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 0x10055180
mov dword [esp + 0x2c], edx
jmp 0x1005519d
test ebp, ebp
je 0x10055558
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 0x10055545
mov edx, eax
nop word [eax + eax]
test byte [edi + 0xc], 4
mov dword [esp + 0x30], 0xffffffff
jne 0x1005552d
mov esi, dword [edi]
test esi, esi
je 0x1005552d
nop dword [eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x10055215
test eax, 0x80000
je 0x10055209
mov esi, dword [esi + 0x14]
mov esi, dword [esi + 8]
jmp 0x1005520c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100551f0
jmp 0x1005552d
test eax, 0x800
je 0x10055221
mov ebp, dword [esi + 8]
jmp 0x10055276
mov bl, byte [esi]
movzx eax, bl
sub eax, 0xad
je 0x10055250
sub eax, 1
jne 0x100552c4
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
call fcn.10058f60
test eax, eax
je 0x100552c4
mov ebp, dword [esp + 0x30]
jmp 0x1005526e
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.10058f60
test eax, eax
je 0x100552c4
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 0x10055286
cmp ebp, dword [eax]
jle 0x1005546a
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 0x100552b2
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x1005557a
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100552a1
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp bl, 0x3b
jne 0x100552fb
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov ebx, dword [eax]
test ebx, ebx
jle 0x100552fb
lea edi, [eax + 0xc]
test byte [edi + 8], 3
jne 0x100552f3
push dword [esi + 8]
push dword [edi]
call fcn.10020cc0
add esp, 8
test eax, eax
je 0x100554d9
inc ebp
add edi, 0x14
cmp ebp, ebx
jl 0x100552d8
xor ebp, ebp
mov ebx, dword [esp + 0x18]
mov edx, esi
push 0
push 0
mov ecx, ebx
call fcn.10057a20
add esp, 8
mov dword [esp + 0x14], eax
cmp byte [ebx + 0x57], 0
jne 0x10055459
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.10055d70
xor ebp, ebp
mov byte [edi + 0x5b], bl
test eax, eax
jne 0x100553ad
mov ebx, dword [esp + 0x38]
cmp dword [ebx], ebp
jle 0x100553ab
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.1005fa60
add esp, 8
cmp eax, 2
jl 0x100553b1
add edi, 0x14
cmp ebp, dword [ebx]
jl 0x10055388
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0xd8], 2
jb 0x10055451
test ebp, ebp
jle 0x10055451
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.10055d70
mov byte [edi + 0x5b], bl
test eax, eax
jne 0x10055451
mov eax, dword [esp + 0x38]
xor edi, edi
cmp dword [eax], edi
jle 0x10055451
lea ebx, [eax + 8]
mov ebp, eax
nop
mov edx, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push esi
call fcn.1005fa60
add esp, 8
cmp eax, 2
jl 0x1005544d
inc edi
add ebx, 0x14
cmp edi, dword [ebp]
jl 0x10055430
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x10055466
mov edx, eax
mov ecx, ebx
call fcn.100577f0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ebp, ebp
jle 0x1005551c
cmp byte [ebx + 0xd8], 2
jae 0x10055512
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 0x1005557d
push 0x34
push 0
push edi
call fcn.101062c0
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 0x100554e3
mov dword [eax], edi
jmp 0x100554fd
add ebp, 1
jne 0x10055466
jmp 0x100552fd
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x71
jne 0x100554fa
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x71
je 0x100554f0
mov dword [ecx + 0xc], edi
mov edx, esi
mov ecx, ebx
call fcn.100577f0
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 0x10055525
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 0x100551d0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x38]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x10055195
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10055570
lea ecx, [edi + 0x14]
inc eax
test byte [ecx], 4
je 0x1005558a
add ecx, 0x14
cmp eax, edx
jl 0x10055563
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