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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
movq xmm0, qword [ecx]
movq qword [esp + 0x3c], xmm0
movq xmm0, qword [ecx + 8]
mov ebx, edx
mov edx, dword [esi]
movq qword [esp + 0x44], xmm0
movq xmm0, qword [ecx + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x30]
movq qword [esp + 0x4c], xmm0
mov ecx, dword [eax + 0x2c]
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x10089d0f
cmp dword [eax + 0x38], ecx
jne 0x10089d0f
mov edi, dword [esi + 8]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x10089585
cmp dword [esi + 0x78], edi
jne 0x10089578
test byte [edx + 0x44], 8
jne 0x10089578
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.100c9330
mov edi, eax
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x100895ab
mov eax, dword [ebx]
mov edx, 0x6c
push dword [eax]
mov ecx, edi
push dword [esp + 0x48]
call fcn.100c8eb0
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [ebx + 8]
test eax, 0x400
je 0x100895cd
lea eax, [esp + 0x40]
push eax
mov edx, ebx
mov ecx, esi
call fcn.10089d70
add esp, 4
mov ebx, eax
jmp 0x10089cdd
test eax, 0x2000
je 0x10089641
lea eax, [esp + 0x40]
push eax
mov edx, ebx
mov ecx, esi
call fcn.10089dd0
add esp, 4
mov edi, dword [esp + 0x10]
movzx edx, byte [ebx + 4]
xor eax, eax
cmp byte [ebx + 4], 0x74
mov ecx, esi
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.1008bea0
add esp, 0xc
test byte [ebx + 8], 0x20
je 0x10089cd9
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push 1
mov edx, eax
mov dword [esp + 0x2c], eax
call fcn.1008c080
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x10089b9c
lea ebx, [eax + 7]
jmp 0x10089cdd
cmp dword [ebx + 0x2c], 0
je 0x1008965e
mov ecx, dword [ebp + 8]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.10087c80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 4]
sub eax, 0x73
je 0x100899b1
dec eax
je 0x1008987d
dec eax
je 0x100899b1
mov ecx, dword [esi + 0x28]
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
inc eax
push ecx
mov edx, 0x6c
mov ecx, edi
mov dword [esi + 0x28], eax
call fcn.100c8eb0
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.1008da70
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.10082b70
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x10089cd9
push eax
push dword [esp + 0x38]
lea edx, [eax + 0x6c]
mov ecx, edi
call fcn.100c8eb0
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x60]
push eax
mov edx, ebx
mov ecx, esi
call fcn.10082b70
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x30], eax
movzx eax, word [eax + 6]
add esp, 0xc
cmp word [ebx + 6], ax
jle 0x10089770
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x10089780
mov ecx, dword [esp + 0x24]
call fcn.100b3630
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov dword [ebx + 0x3c], eax
call fcn.100c89b0
mov esi, eax
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.100c89b0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
mov ebx, eax
call fcn.1008a6f0
add esp, 4
mov edx, 0x25
push esi
push dword [esp + 0x10]
mov ecx, edi
call fcn.100c8eb0
mov ecx, dword [esp + 0x24]
call fcn.100ac900
mov esi, eax
push esi
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, edi
call fcn.100c8eb0
mov ecx, dword [esp + 0x20]
push 0
push esi
push ebx
push dword [esp + 0x50]
mov edx, 0x1d
mov edi, eax
call fcn.100c8a80
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.100ac8b0
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push esi
push ebx
lea eax, [esp + 0x68]
push eax
push 0
push 0
push dword [esp + 0x40]
call fcn.1008c130
mov ecx, dword [esp + 0x48]
mov edx, ebx
call fcn.100c8990
mov ebx, dword [esp + 0x44]
push edi
push ebx
mov edx, 7
mov edi, ecx
call fcn.100c8eb0
add esp, 0x40
mov edx, esi
mov ecx, edi
call fcn.100c8990
lea eax, [ebx + 1]
push 0
push eax
mov edx, 0x70
call fcn.100c8eb0
push 0
push ebx
mov edx, 0x70
mov ecx, edi
call fcn.100c8eb0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x100895e9
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
mov edx, ecx
push eax
mov ecx, esi
call fcn.10082b70
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
test ecx, ecx
jne 0x10089cd9
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1008991e
lea edx, [ecx + 0x16]
push eax
mov ecx, edi
call fcn.100c8f20
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x1008991e
push ecx
inc ecx
push ecx
push dword [ebx + 0xc]
mov edx, 0x93
mov ecx, edi
call fcn.100c9000
add esp, 0xc
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push eax
mov edx, ebx
mov ecx, esi
call fcn.10082b70
mov cx, word [ebx + 6]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x30], eax
mov dx, word [eax + 6]
add esp, 4
call fcn.100e8560
mov edx, dword [esp + 0x18]
mov word [ebx + 6], ax
mov ecx, dword [edx + 0x38]
mov word [esp + 0xc], ax
test ecx, ecx
je 0x10089997
lea edx, [esp + 0x3c]
call fcn.100b20d0
test eax, eax
je 0x10089997
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x10089997
cdq
push edx
push eax
call fcn.100e84b0
add esp, 8
cmp word [esp + 0xc], ax
jle 0x10089997
mov word [ebx + 6], ax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100895e5
mov edx, eax
mov ecx, edi
call fcn.100c8580
jmp 0x100895e5
cmp cl, 1
jne 0x100899c0
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x100899f1
mov ecx, dword [esi + 0x28]
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x10], ecx
push ecx
mov edx, 0x6c
mov ecx, edi
mov dword [esi + 0x28], eax
call fcn.100c8eb0
add esp, 8
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.1008da70
or dword [eax + 8], 0x20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x70]
push eax
mov ecx, esi
mov byte [esp + 0x74], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.10082b70
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x10089cd9
cmp byte [ebx + 4], 0x75
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebx + 0x38]
sete al
inc al
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x3c]
mov byte [esp + 0x70], al
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov eax, dword [esi + 0x1a0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x38], ecx
push eax
mov edx, ebx
mov ecx, esi
call fcn.10082b70
mov edx, dword [ebx + 0x2c]
add esp, 4
mov dword [esp + 0x14], eax
test edx, edx
je 0x10089a9e
mov ecx, dword [esp + 0x24]
call fcn.100b24b0
cmp byte [ebx + 4], 0x73
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x2c], 0
jne 0x10089aca
mov dx, word [eax + 6]
mov cx, word [ebx + 6]
call fcn.100e8560
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x10089ada
mov ecx, dword [esp + 0x24]
call fcn.100b3630
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
je 0x100895e5
mov ecx, edi
call fcn.100c89b0
mov ecx, edi
mov ebx, eax
call fcn.100c89b0
mov edx, dword [esp + 0x20]
push ebx
mov ecx, esi
mov edi, eax
call fcn.1008a6f0
mov esi, dword [esp + 0x14]
add esp, 4
mov edx, 0x25
push ebx
push dword [esp + 0x10]
mov ecx, esi
call fcn.100c8eb0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [esi + 0x88]
push ebx
push edi
lea eax, [esp + 0x50]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.1008c130
mov edx, edi
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.100c8990
push esi
mov esi, dword [esp + 0x30]
push esi
mov edx, 7
call fcn.100c8eb0
mov edx, ebx
mov ecx, edi
call fcn.100c8990
push 0
push esi
mov edx, 0x70
call fcn.100c8eb0
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
add esp, 0x30
jmp 0x100895e9
cmp dword [esp + 0x28], 0
lea ecx, [esi + 0x14]
mov dword [esp + 0x2c], ecx
jle 0x10089c30
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
xor esi, esi
lea esp, [esp]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x10089bdc
push esi
mov ecx, edi
call fcn.1008a6b0
mov ecx, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x10089bf9
jmp 0x10089bde
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x10089bf9
mov eax, dword [ebx]
mov edx, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [eax + edx + 4]
call fcn.100b48d0
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
test eax, eax
jne 0x10089c08
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0x34], 0x18
inc esi
add ecx, 4
mov dword [esp + 0x2c], ecx
cmp esi, dword [esp + 0x28]
jl 0x10089bc0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
jmp 0x10089c30
lea eax, [ebx + 0x14]
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], eax
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
js 0x10089cbf
mov ecx, dword [edi]
cmp byte [ecx + 0x49], 0
je 0x10089c56
mov ecx, 0x1012875c
jmp 0x10089c5f
mov ecx, dword [edi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
inc dword [esi]
mov ecx, dword [edi]
cmp byte [ecx + 0x49], 0
je 0x10089c80
push esi
mov edx, 0xfffffff7
call fcn.100c8350
add esp, 4
jmp 0x10089ca8
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10089ca1
push 0xfffffffffffffff7
push esi
mov edx, eax
mov ecx, edi
call fcn.100c8130
add esp, 8
jmp 0x10089ca8
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf7
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [ebx], 0xffffffff
add ebx, 4
mov dword [esp + 0x34], ecx
cmp ecx, 2
jl 0x10089c41
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x10089c30
mov ecx, esi
call fcn.1008c030
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10089d06
mov ecx, dword [esp + 0x24]
push 1
mov edx, eax
call fcn.1008dce0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x10089d33
dec eax
je 0x10089d2c
dec eax
je 0x10089d25
mov eax, str.UNION
jmp 0x10089d38
mov eax, str.INTERSECT
jmp 0x10089d38
mov eax, str.EXCEPT
jmp 0x10089d38
mov eax, str.UNION_ALL
push eax
mov edx, str.LIMIT
test ecx, ecx
mov eax, str.ORDER_BY
cmove eax, edx
push eax
push str._s_clause_should_come_after__s_not_before
push esi
call fcn.100e99e0
add esp, 0x10
mov ebx, 1
jmp 0x10089cdd