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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [edx + 0x30]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
push esi
mov esi, ecx
mov dword [esp + 0x34], esi
push edi
test eax, eax
je 0x4451b1
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
cmp eax, dword [ecx + 0x80]
jle 0x4450a0
push str.too_many_terms_in_ORDER_BY_clause
push esi
call fcn.0040bbd0
add esp, 8
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test eax, eax
jle 0x4450bc
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
add eax, 0x14
and dword [eax], 0xfffffffb
lea eax, [eax + 0x14]
inc ecx
cmp ecx, dword [esi]
jl 0x4450b1
lea ecx, [edx + 0x34]
mov dword [edx + 0x38], 0
cmp dword [ecx], 0
je 0x4450f0
nop dword [eax + eax]
mov eax, dword [ecx]
mov dword [eax + 0x38], edx
mov edx, dword [ecx]
cmp dword [edx + 0x34], 0
lea ecx, [edx + 0x34]
jne 0x4450d0
mov dword [esp + 0x30], edx
jmp 0x4450fd
mov esi, 1
test esi, esi
je 0x44518b
mov eax, dword [edx + 0x1c]
xor esi, esi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
add ecx, 8
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
cmp dword [edi], eax
jle 0x44517c
mov edx, eax
nop word [eax + eax]
test byte [ecx + 0xc], 4
mov dword [esp + 0x24], 0xffffffff
jne 0x445168
mov esi, dword [ecx]
test esi, esi
je 0x445164
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x4451b9
test eax, 0x80000
je 0x44515d
mov esi, dword [esi + 0x14]
mov esi, dword [esi + 8]
jmp 0x445160
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x445144
mov esi, dword [esp + 0x28]
inc edx
add ecx, 0x14
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
cmp edx, dword [edi]
jl 0x445130
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x30], edx
test edx, edx
jne 0x4450f5
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x4451b1
add ecx, 0x14
nop word [eax + eax]
inc eax
test byte [ecx], 4
je 0x4454ec
add ecx, 0x14
cmp eax, edx
jl 0x4451a0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x445164
test eax, 0x800
je 0x4451c9
mov edi, dword [esi + 8]
jmp 0x445210
movzx eax, byte [esi]
sub eax, 0xad
je 0x4451f2
sub eax, 1
jne 0x445261
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x24]
call fcn.00448d90
test eax, eax
je 0x445261
mov edi, dword [esp + 0x24]
jmp 0x445210
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.00448d90
test eax, eax
je 0x445261
mov edi, dword [esp + 0x24]
neg edi
mov eax, dword [esp + 0x3c]
test edi, edi
jle 0x445220
cmp edi, dword [eax]
jle 0x445404
push dword [eax]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc eax
push str.ORDER
push eax
push str._r__s_BY_term_out_of_range___should_be_between_1_and__d
push edi
call fcn.0040bbd0
mov ecx, dword [edi]
add esp, 0x14
test byte [esi + 4], 3
jne 0x445251
cmp dword [esi + 0x24], 0
jg 0x4454db
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x445241
lea eax, [esi + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
push esi
call fcn.00444fe0
mov edi, eax
add esp, 4
test edi, edi
jne 0x445406
mov ecx, dword [esp + 0x18]
mov edx, esi
push eax
push eax
call fcn.00447850
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x1c], eax
cmp byte [ecx + 0x57], 0
jne 0x4453f9
mov edx, dword [esp + 0x38]
xorps xmm0, xmm0
mov eax, dword [esp + 0x30]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x64], edi
mov edi, dword [edx]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], 0x80081
mov al, byte [edi + 0x5b]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x17], al
mov byte [edi + 0x5b], 1
call fcn.00445bf0
mov cl, byte [esp + 0x17]
mov byte [edi + 0x5b], cl
xor edi, edi
test eax, eax
jne 0x445334
mov eax, dword [esp + 0x40]
cmp dword [eax], edi
jle 0x445332
add eax, 8
mov dword [esp + 0x24], eax
mov edx, dword [eax]
xor ecx, ecx
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.0044e200
add esp, 8
inc edi
cmp eax, 2
jl 0x445334
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
add eax, 0x14
mov dword [esp + 0x24], eax
cmp edi, dword [ecx]
jl 0x445307
xor edi, edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], edi
cmp byte [edx + 0xdc], 2
jb 0x4453f1
test edi, edi
jle 0x4453f1
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
mov edi, dword [edx]
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x70], edx
mov edx, esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x88], 0x80081
mov dword [esp + 0x84], 0
mov al, byte [edi + 0x5b]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x17], al
mov byte [edi + 0x5b], 1
call fcn.00445bf0
mov cl, byte [esp + 0x17]
mov byte [edi + 0x5b], cl
test eax, eax
jne 0x4453ed
mov eax, dword [esp + 0x44]
xor edi, edi
cmp dword [eax], edi
jle 0x4453ed
add eax, 8
mov dword [esp + 0x40], eax
mov edx, dword [eax]
xor ecx, ecx
push 0xffffffffffffffff
push esi
call fcn.0044e200
add esp, 8
cmp eax, 2
jl 0x4453ed
mov ecx, dword [esp + 0x44]
inc edi
mov eax, dword [esp + 0x40]
add eax, 0x14
mov dword [esp + 0x40], eax
cmp edi, dword [ecx]
jl 0x4453c5
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x445404
mov edx, eax
call fcn.00447640
test edi, edi
jle 0x4454c1
mov eax, dword [esp + 0x38]
cmp byte [eax + 0xdc], 2
jae 0x4454ac
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push 0
push eax
mov edx, 0x9b
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00446e90
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x445095
mov ecx, dword [esp + 0x2c]
or dword [eax + 4], 0x800
mov dword [eax + 8], edi
mov edx, dword [ecx]
cmp edx, esi
jne 0x445469
mov dword [ecx], eax
jmp 0x445488
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0xc]
cmp byte [eax], 0x71
jne 0x445481
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0xc]
cmp byte [eax], 0x71
je 0x445474
mov eax, dword [esp + 0x44]
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.00447640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
or dword [ecx + 0xc], 4
mov word [ecx + 0x10], di
mov edi, dword [esp + 0x20]
jmp 0x445164
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
or dword [ecx + 0xc], 4
jmp 0x445164
mov ecx, dword [esp + 0x2c]
mov esi, 1
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], esi
jmp 0x445168
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x44], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
push str._r_ORDER_BY_term_does_not_match_any_column_in_the_result_set
push dword [esp + 0x40]
call fcn.0040bbd0
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret