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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
mov eax, edx
xor ebx, ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x20]
mov esi, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov eax, dword [edi]
dec eax
mov dword [esp + 0x18], ebx
test eax, eax
jle 0x1008b1a6
lea ebp, [edi + 0x78]
lea edx, [edi + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], edx
nop
cmp dword [edx], 0
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x28], eax
je 0x1008b188
test eax, eax
je 0x1008b188
mov al, byte [ebp - 4]
and al, 0x20
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
test byte [ebp - 4], 4
mov dword [esp + 0x40], eax
je 0x1008ad4a
xor ebx, ebx
test dword [ebp], 0x400
mov dword [esp + 0x34], ebx
jne 0x1008b1b0
cmp dword [ebp + 8], ebx
jne 0x1008b1b0
mov eax, dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x38], edx
cmp cx, word [eax + 0x22]
jge 0x1008ad34
mov dword [esp + 0x24], ecx
jmp 0x1008acb4
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xe], 2
jne 0x1008ad09
mov ebp, dword [eax + ecx]
xor esi, esi
cmp dword [esp + 0x18], esi
jl 0x1008af0f
add edi, 0x18
mov ebx, dword [edi]
mov edx, ebp
mov ecx, ebx
call fcn.1008a9a0
test eax, eax
js 0x1008acef
mov ecx, dword [ebx + 4]
add eax, eax
test byte [ecx + eax*8 + 0xe], 2
je 0x1008ae96
inc esi
add edi, 0x48
cmp esi, dword [esp + 0x18]
jle 0x1008acd0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
add ecx, 0x10
inc dword [esp + 0x38]
mov dword [esp + 0x24], ecx
movsx eax, word [eax + 0x22]
cmp dword [esp + 0x38], eax
jl 0x1008acb0
mov ebp, dword [esp + 0x1c]
test ebx, ebx
je 0x1008ad34
or dword [ebp], 0x1400
mov dword [ebp + 8], ebx
cmp dword [esi + 0x24], 0
jne 0x1008b1c0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
test dword [ebp], 0x400
mov ecx, dword [ebp + 8]
je 0x1008b14b
cmp dword [ecx], 0
mov eax, dword [esi]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0
jle 0x1008b188
lea eax, [ecx + 8]
mov dword [esp + 0x24], eax
nop dword [eax]
mov ebp, dword [eax]
mov edx, ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], ebp
call fcn.1008a9a0
mov dword [esp + 0x48], eax
test eax, eax
js 0x1008b1cd
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
xor edx, edx
mov ecx, dword [ecx]
shr ecx, 0xc
and ecx, 1
push ecx
push eax
lea eax, [esp + 0x28]
mov ecx, edi
push eax
push ebp
push ebx
call fcn.1008aa40
add esp, 0x14
test eax, eax
je 0x1008b1cd
mov esi, dword [esp + 0x2c]
mov edx, edi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push esi
push ebx
call fcn.10054430
mov edi, eax
lea ecx, [ebx + ebx*8]
mov eax, dword [esp + 0x18]
add esp, 8
test dword [eax + ecx*8 + 0x30], 0x2000
je 0x1008ae08
mov ecx, dword [eax + ecx*8 + 0x1c]
lea eax, [esi + esi*4]
mov ecx, dword [ecx + 0x1c]
or dword [ecx + eax*4 + 0x14], 0x40
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x40
je 0x1008b0a1
mov eax, dword [esp + 0x1c]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
mov eax, dword [eax]
shr eax, 0xc
and eax, 1
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call fcn.1008aa40
add esp, 0x14
test eax, eax
je 0x1008b0a5
nop dword [eax]
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*8]
test dword [ebx + eax*8 + 0x30], 0x400
lea ebx, [ebx + eax*8]
je 0x1008afd0
mov ecx, dword [ebx + 0x38]
mov edx, ebp
call fcn.10070090
test eax, eax
js 0x1008afd0
test esi, esi
jne 0x1008af18
mov eax, dword [esp + 0x14]
mov edx, edi
mov ecx, dword [eax]
call fcn.100585a0
mov esi, eax
jmp 0x1008af55
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x34]
push 0
call fcn.1006fec0
mov ebx, eax
add esp, 4
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x1008ad01
test ebp, ebp
jne 0x1008aec8
mov eax, dword [ebx]
xor esi, esi
mov dword [ebx + eax*8], esi
jmp 0x1008acfd
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008aed0
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esi]
push edi
test ecx, ecx
je 0x1008aeec
call fcn.1001d1c0
jmp 0x1008aef1
call fcn.1001cb50
mov esi, eax
add esp, 8
test esi, esi
je 0x1008af05
push edi
push ebp
push esi
call fcn.10107690
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebx + eax*8], esi
jmp 0x1008acfd
mov esi, dword [esp + 0x14]
jmp 0x1008ad09
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x1008af37
mov eax, dword [esp + 0x14]
mov edx, esi
push edi
mov ecx, dword [eax]
call fcn.10058610
add esp, 4
mov esi, eax
jmp 0x1008af55
movups xmm0, xmmword [0x1012b330]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x1012b340]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edi
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push ebp
push dword [esp + 0x24]
call fcn.10054430
add esp, 8
mov edi, eax
test dword [ebx + 0x30], 0x2000
je 0x1008af8d
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x1c]
lea eax, [ebp*4]
add eax, ebp
or dword [ecx + eax*4 + 0x14], 0x40
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [eax]
shr eax, 0xc
lea edx, [edx + 1]
and eax, 1
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call fcn.1008aa40
add esp, 0x14
test eax, eax
jne 0x1008ae50
mov ebp, dword [esp + 0x14]
jmp 0x1008afe7
push ebp
mov ebp, dword [esp + 0x18]
push str.ambiguous_reference_to__s_in_USING__
push ebp
call fcn.10020b80
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x1008b0a5
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x1008b00b
mov ecx, dword [ebp]
mov edx, esi
push edi
call fcn.10058610
add esp, 4
mov esi, eax
jmp 0x1008b029
movups xmm0, xmmword [0x1012b330]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x1012b340]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edi
mov ebx, dword [ebp]
mov edx, 0xac
push 1
push 0x1013107c
mov ecx, ebx
call fcn.10056e70
mov edi, eax
add esp, 8
test edi, edi
jne 0x1008b059
test esi, esi
je 0x1008b055
mov edx, esi
mov ecx, ebx
call fcn.10058a60
xor edi, edi
jmp 0x1008b0a1
mov eax, dword [str.coalesce]
sub eax, dword [ebp + 0xf0]
mov dword [edi + 0x24], eax
test esi, esi
je 0x1008b091
mov ecx, dword [ebp]
mov eax, dword [esi]
cmp eax, dword [ecx + 0x90]
jle 0x1008b091
cmp byte [ebp + 0x12], 0
jne 0x1008b091
push 0x1013107c
push str.too_many_arguments_on_function__T
push ebp
call fcn.10020b80
add esp, 0xc
or dword [edi + 4], 8
mov edx, edi
mov ecx, ebp
mov dword [edi + 0x14], esi
call fcn.10056d90
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ebp, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x38]
push ebp
push eax
call fcn.10054430
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x1c]
test dword [eax], 0x2000
je 0x1008b0e0
mov ecx, dword [eax - 0x14]
mov edx, dword [ecx + 0x1c]
lea ecx, [ebp*4]
add ecx, ebp
or dword [edx + ecx*4 + 0x14], 0x40
mov ecx, dword [esp + 0x14]
mov edx, 0x35
push esi
push edi
call fcn.10057100
add esp, 8
test eax, eax
je 0x1008b104
mov ecx, dword [esp + 0x40]
or dword [eax + 4], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x24], ecx
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
mov ecx, esi
push eax
mov edx, dword [ebx + 0x24]
call fcn.100572e0
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, dword [esp + 0x4c]
inc ecx
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
cmp ecx, dword [edx]
jl 0x1008ad80
mov ebp, dword [esp + 0x1c]
jmp 0x1008b184
test ecx, ecx
je 0x1008b188
mov edx, dword [ebp + 4]
push eax
call fcn.1008aae0
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 0x24]
call fcn.100572e0
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx + 0x24], eax
or dword [ebp], 0x800
mov dword [ebp + 8], 0
mov edx, dword [esp + 0x30]
mov eax, dword [edi]
inc ebx
add ebp, 0x48
mov dword [esp + 0x18], ebx
add edx, 0x48
mov dword [esp + 0x1c], ebp
dec eax
mov dword [esp + 0x30], edx
cmp ebx, eax
jl 0x1008ac40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
push esi
call fcn.10020b80
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
push str.cannot_join_using_column__s___column_not_present_in_both_tables
push esi
call fcn.10020b80
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret