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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
mov esi, edx
mov eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
movdqu xmm0, xmmword [edx]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x30]
movdqu xmmword [esp + 0x3c], xmm0
push edi
movq xmm0, qword [edx + 0x10]
mov edi, dword [eax]
movq qword [esp + 0x50], xmm0
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ecx
je 0x100aa5d9
movzx ecx, byte [esi + 4]
sub ecx, 0x74
je 0x100aa5bb
dec ecx
je 0x100aa5b4
dec ecx
je 0x100aa5ad
mov ecx, str.UNION
jmp 0x100aa5c0
mov ecx, str.INTERSECT
jmp 0x100aa5c0
mov ecx, str.EXCEPT
jmp 0x100aa5c0
mov ecx, str.UNION_ALL
push ecx
push str.ORDER_BY_clause_should_come_after__s_not_before
push eax
call fcn.10055010
add esp, 0xc
mov esi, 1
jmp 0x100aae37
cmp dword [ecx + 0x38], 0
je 0x100aa621
movzx ecx, byte [esi + 4]
sub ecx, 0x74
je 0x100aa603
dec ecx
je 0x100aa5fc
dec ecx
je 0x100aa5f5
mov ecx, str.UNION
jmp 0x100aa608
mov ecx, str.INTERSECT
jmp 0x100aa608
mov ecx, str.EXCEPT
jmp 0x100aa608
mov ecx, str.UNION_ALL
push ecx
push str.LIMIT_clause_should_come_after__s_not_before
push eax
call fcn.10055010
add esp, 0xc
mov esi, 1
jmp 0x100aae37
mov edi, dword [eax + 8]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100aa639
mov ecx, eax
call fcn.100a9990
mov edi, eax
mov dword [esp + 0x1c], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x100aa65f
mov eax, dword [esi]
mov edx, 0x6c
mov ecx, edi
push dword [eax]
push dword [esp + 0x4c]
call fcn.10070f90
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [esi + 8]
test eax, 0x400
je 0x100aa683
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.100aa4e0
add esp, 4
mov esi, eax
jmp 0x100aae33
test eax, 0x2000
je 0x100aa6ff
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.100a9d10
add esp, 4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp byte [edi + 4], 0x74
movzx edx, byte [edi + 4]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.100a86f0
add esp, 0xc
test byte [edi + 8], 0x20
je 0x100aae2f
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.100a85a0
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x100aad01
lea esi, [eax + 7]
jmp 0x100aae33
cmp dword [esi + 0x2c], 0
je 0x100aa71c
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.100ab230
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x100aaaca
dec eax
je 0x100aa98f
dec eax
je 0x100aaaca
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6c
mov dword [esp + 0x3c], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.10070f90
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x100aa779
jmp 0x100aa770
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x100aa770
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
mov dword [esp + 0x74], 0
call fcn.100aed70
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x100aae2f
push eax
push dword [esp + 0x38]
lea edx, [eax + 0x6c]
mov ecx, edi
call fcn.10070f90
mov dword [esi + 0x18], eax
mov edx, esi
mov eax, dword [esi + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.100aed70
mov ecx, dword [esi + 0x30]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov dword [esp + 0x30], ecx
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x100aa84d
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x100aa85d
mov ecx, dword [esp + 0x14]
call fcn.100852b0
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
jne 0x100aa89a
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x100aa889
jmp 0x100aa880
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x100aa880
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.100a9150
add esp, 4
mov ecx, edi
call fcn.10071400
mov esi, eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.10071400
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push esi
mov dword [esp + 0x28], eax
call fcn.100a9a70
add esp, 4
mov edx, 0x3a
mov ecx, edi
push esi
push dword [esp + 0x10]
call fcn.10070f90
mov ecx, dword [esp + 0x18]
call fcn.1008b960
mov esi, eax
mov edx, 0x7a
push esi
push dword [esp + 0x18]
mov ecx, edi
call fcn.10070f90
mov ecx, dword [esp + 0x2c]
mov edx, 0x1e
push 0
push esi
push dword [esp + 0x3c]
mov edi, eax
push dword [esp + 0x50]
call fcn.100712f0
mov ecx, dword [esp + 0x30]
mov edx, esi
call fcn.1008b980
push dword [esp + 0x58]
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x34]
push esi
push eax
mov eax, dword [esp + 0x4c]
mov edx, eax
push 0
push 0
push dword [esp + 0x40]
push dword [eax]
call fcn.100a7950
add esp, 0x3c
mov edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10071450
push edi
mov edi, dword [esp + 0x10]
mov edx, 7
push edi
call fcn.10070f90
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.10071450
lea eax, [edi + 1]
mov edx, 0x70
push 0
push eax
call fcn.10070f90
push 0
push edi
mov edx, 0x70
mov ecx, esi
call fcn.10070f90
add esp, 0x18
jmp 0x100aa6a1
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1a4]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.100aed70
mov ecx, eax
mov dword [esi + 0x38], 0
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [esi + 0x3c], 0
test ecx, ecx
jne 0x100aae2f
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x100aaa33
push ecx
mov edx, 0x16
mov ecx, edi
call fcn.10070f20
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x100aaa33
push ecx
inc ecx
mov edx, 0x93
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.10070e40
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, esi
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.100aed70
mov ecx, dword [esi + 0x30]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov cx, word [esi + 6]
mov dword [esi + 0x30], eax
mov dx, word [eax + 6]
call fcn.100563d0
mov edx, dword [esp + 0x24]
mov word [esi + 6], ax
mov word [esp + 0xc], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x100aaab0
lea edx, [esp + 0x3c]
call fcn.10086710
test eax, eax
je 0x100aaab0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100aaab0
cdq
push edx
push eax
call fcn.10056430
add esp, 8
cmp word [esp + 0xc], ax
jle 0x100aaab0
mov word [esi + 6], ax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100aa69d
mov edx, eax
mov ecx, edi
call fcn.10071770
jmp 0x100aa69d
cmp cl, 1
jne 0x100aaad9
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
jmp 0x100aab19
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6c
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.10070f90
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x100aab11
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x100aab08
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x78], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], 0
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov dword [esp + 0x8c], 0
call fcn.100aed70
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x100aae2f
cmp byte [esi + 4], 0x75
mov edx, esi
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x38]
sete al
inc al
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x3c]
mov byte [esp + 0x78], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.100aed70
mov edx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x18], eax
test edx, edx
je 0x100aabd1
mov ecx, dword [esp + 0x14]
call fcn.10086390
cmp byte [esi + 4], 0x73
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], 0
jne 0x100aabfd
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.100563d0
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x100aac0d
mov ecx, dword [esp + 0x14]
call fcn.100852b0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp al, 1
je 0x100aa69d
cmp al, 9
jne 0x100aac5c
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x100aac4b
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x100aac42
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.100a9150
add esp, 4
mov ecx, edi
call fcn.10071400
mov esi, eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.10071400
mov edx, dword [esp + 0x20]
mov edi, eax
mov ecx, dword [esp + 0x10]
push esi
call fcn.100a9a70
add esp, 4
mov edx, 0x3a
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.10070f90
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
mov esi, dword [esi + 0x88]
push edi
push eax
mov eax, dword [esp + 0x34]
mov edx, eax
push 0
push 0
push dword [esp + 0x28]
push dword [eax]
call fcn.100a7950
mov ecx, dword [esp + 0x40]
add esp, 0x24
mov edx, edi
call fcn.10071450
mov edi, dword [esp + 0xc]
mov edx, 7
push esi
push edi
mov esi, ecx
call fcn.10070f90
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.10071450
push 0
push edi
mov edx, 0x70
call fcn.10070f90
add esp, 0x10
jmp 0x100aa6a1
lea eax, [edi + 0x14]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x34], eax
jle 0x100aad5e
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea esp, [esp]
push eax
mov edx, esi
mov ecx, edi
call fcn.100a9ba0
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x100aad40
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
add ecx, 4
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x34]
jl 0x100aad20
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
jmp 0x100aad70
add eax, 0x14
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
nop
mov eax, dword [eax]
test eax, eax
js 0x100aae0e
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x100aad99
mov ecx, 0x1016ab74
jmp 0x100aada2
mov ecx, dword [esi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x100aadc3
push edi
mov edx, 0xfffffffb
call fcn.10071950
add esp, 4
jmp 0x100aadeb
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x100aade4
push 0xfffffffffffffffb
push edi
mov edx, eax
mov ecx, esi
call fcn.10071b10
add esp, 8
jmp 0x100aadeb
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfb
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x100aad80
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100aad70
dec dword [edi]
jne 0x100aae2f
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.10052170
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100aae5e
push 1
mov edx, eax
mov ecx, edi
call fcn.100a69c0
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret