Function at 0x10097260
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 0x10097806
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 0x100977e8
test eax, eax
je 0x100977e8
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 0x100973aa
xor ebx, ebx
test dword [ebp], 0x400
mov dword [esp + 0x34], ebx
jne 0x10097810
cmp dword [ebp + 8], ebx
jne 0x10097810
mov eax, dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x38], edx
cmp cx, word [eax + 0x22]
jge 0x10097394
mov dword [esp + 0x24], ecx
jmp 0x10097314
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xe], 2
jne 0x10097369
mov ebp, dword [eax + ecx]
xor esi, esi
cmp dword [esp + 0x18], esi
jl 0x1009756f
add edi, 0x18
mov ebx, dword [edi]
mov edx, ebp
mov ecx, ebx
call fcn.10097000
test eax, eax
js 0x1009734f
mov ecx, dword [ebx + 4]
add eax, eax
test byte [ecx + eax*8 + 0xe], 2
je 0x100974f6
inc esi
add edi, 0x48
cmp esi, dword [esp + 0x18]
jle 0x10097330
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 0x10097310
mov ebp, dword [esp + 0x1c]
test ebx, ebx
je 0x10097394
or dword [ebp], 0x1400
mov dword [ebp + 8], ebx
cmp dword [esi + 0x24], 0
jne 0x10097820
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 0x100977ab
cmp dword [ecx], 0
mov eax, dword [esi]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0
jle 0x100977e8
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.10097000
mov dword [esp + 0x48], eax
test eax, eax
js 0x1009782d
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.100970a0
add esp, 0x14
test eax, eax
je 0x1009782d
mov esi, dword [esp + 0x2c]
mov edx, edi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push esi
push ebx
call fcn.1005fe70
mov edi, eax
lea ecx, [ebx + ebx*8]
mov eax, dword [esp + 0x18]
add esp, 8
test dword [eax + ecx*8 + 0x30], 0x2000
je 0x10097468
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 0x10097701
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.100970a0
add esp, 0x14
test eax, eax
je 0x10097705
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 0x10097630
mov ecx, dword [ebx + 0x38]
mov edx, ebp
call fcn.1007be70
test eax, eax
js 0x10097630
test esi, esi
jne 0x10097578
mov eax, dword [esp + 0x14]
mov edx, edi
mov ecx, dword [eax]
call fcn.10064190
mov esi, eax
jmp 0x100975b5
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x34]
push 0
call fcn.1007bca0
mov ebx, eax
add esp, 4
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x10097361
test ebp, ebp
jne 0x10097528
mov eax, dword [ebx]
xor esi, esi
mov dword [ebx + eax*8], esi
jmp 0x1009735d
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097530
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esi]
push edi
test ecx, ecx
je 0x1009754c
call fcn.10025f80
jmp 0x10097551
call fcn.10025910
mov esi, eax
add esp, 8
test esi, esi
je 0x10097565
push edi
push ebp
push esi
call fcn.10118c90
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebx + eax*8], esi
jmp 0x1009735d
mov esi, dword [esp + 0x14]
jmp 0x10097369
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x10097597
mov eax, dword [esp + 0x14]
mov edx, esi
push edi
mov ecx, dword [eax]
call fcn.10064200
add esp, 4
mov esi, eax
jmp 0x100975b5
movups xmm0, xmmword [0x1013e3bc]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x1013e3cc]
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.1005fe70
add esp, 8
mov edi, eax
test dword [ebx + 0x30], 0x2000
je 0x100975ed
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.100970a0
add esp, 0x14
test eax, eax
jne 0x100974b0
mov ebp, dword [esp + 0x14]
jmp 0x10097647
push ebp
mov ebp, dword [esp + 0x18]
push str.ambiguous_reference_to__s_in_USING__
push ebp
call fcn.100294d0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x10097705
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x1009766b
mov ecx, dword [ebp]
mov edx, esi
push edi
call fcn.10064200
add esp, 4
mov esi, eax
jmp 0x10097689
movups xmm0, xmmword [0x1013e3bc]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x1013e3cc]
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 0x10144210
mov ecx, ebx
call fcn.10062990
mov edi, eax
add esp, 8
test edi, edi
jne 0x100976b9
test esi, esi
je 0x100976b5
mov edx, esi
mov ecx, ebx
call fcn.10064650
xor edi, edi
jmp 0x10097701
mov eax, dword [str.coalesce]
sub eax, dword [ebp + 0xf4]
mov dword [edi + 0x24], eax
test esi, esi
je 0x100976f1
mov ecx, dword [ebp]
mov eax, dword [esi]
cmp eax, dword [ecx + 0x90]
jle 0x100976f1
cmp byte [ebp + 0x12], 0
jne 0x100976f1
push 0x10144210
push str.too_many_arguments_on_function__T
push ebp
call fcn.100294d0
add esp, 0xc
or dword [edi + 4], 8
mov edx, edi
mov ecx, ebp
mov dword [edi + 0x14], esi
call fcn.100628a0
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.1005fe70
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x1c]
test dword [eax], 0x2000
je 0x10097740
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.10062c20
add esp, 8
test eax, eax
je 0x10097764
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.10062e00
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 0x100973e0
mov ebp, dword [esp + 0x1c]
jmp 0x100977e4
test ecx, ecx
je 0x100977e8
mov edx, dword [ebp + 4]
push eax
call fcn.10097140
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 0x24]
call fcn.10062e00
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 0x100972a0
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.100294d0
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.100294d0
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret