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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov eax, edx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x38], eax
mov esi, ecx
mov edi, dword [eax + 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [edi]
dec eax
test eax, eax
jle 0x48fbd4
lea edx, [edi + 0x78]
lea ecx, [edi + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ecx
nop
cmp dword [ecx], 0
mov eax, dword [edx - 0x18]
mov dword [esp + 0x30], eax
je 0x48fb7c
test eax, eax
je 0x48fb7c
mov al, byte [edx - 4]
and al, 0x20
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
test byte [edx - 4], 4
mov dword [esp + 0x44], eax
je 0x48f70a
xor ecx, ecx
test dword [edx], 0x400
mov dword [esp + 0x28], ecx
jne 0x48fb9d
cmp dword [edx + 8], ecx
jne 0x48fb9d
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x34], edi
cmp di, word [eax + 0x22]
jge 0x48f6f8
xor edx, edx
mov dword [esp + 0x2c], edx
jmp 0x48f5f4
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
test byte [edx + eax + 0xe], 2
jne 0x48f6ca
mov eax, dword [edx + eax]
xor esi, esi
mov dword [esp + 0x40], eax
test ebx, ebx
js 0x48f85e
mov edi, dword [esp + 0x14]
add edi, 0x18
nop word [eax + eax]
mov ebx, dword [edi]
mov edx, eax
mov ecx, ebx
call fcn.0048f2b0
test eax, eax
js 0x48f63b
mov ecx, dword [ebx + 4]
add eax, eax
test byte [ecx + eax*8 + 0xe], 2
je 0x48f651
mov ebx, dword [esp + 0x1c]
inc esi
add edi, 0x48
cmp esi, ebx
jg 0x48f851
mov eax, dword [esp + 0x40]
jmp 0x48f620
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x28]
push 0
call fcn.00473a70
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x48f6c2
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x48f67b
xor esi, esi
jmp 0x48f6b9
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f680
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esi]
push edi
test ecx, ecx
je 0x48f69c
call fcn.00419010
jmp 0x48f6a1
call fcn.004188b0
mov esi, eax
add esp, 8
test esi, esi
je 0x48f6b5
push edi
push ebx
push esi
call fcn.004d4640
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add edx, 0x10
inc dword [esp + 0x34]
mov dword [esp + 0x2c], edx
movsx eax, word [eax + 0x22]
cmp dword [esp + 0x34], eax
jl 0x48f5f0
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x48f6f8
or dword [edx], 0x1400
mov dword [edx + 8], ecx
cmp dword [esi + 0x24], 0
jne 0x48fbad
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
test dword [edx], 0x400
mov ecx, dword [edx + 8]
je 0x48fb3c
cmp dword [ecx], 0
mov eax, dword [esi]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 0
jle 0x48fb7c
lea eax, [ecx + 8]
mov dword [esp + 0x28], eax
nop dword [eax + eax]
mov ebx, dword [eax]
mov edx, ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.0048f2b0
mov dword [esp + 0x48], eax
test eax, eax
js 0x48fbb9
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
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 ebx
push dword [esp + 0x2c]
call fcn.0048f360
add esp, 0x14
test eax, eax
je 0x48fbb9
mov esi, dword [esp + 0x24]
mov edx, edi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push esi
push ebx
call fcn.004562e0
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + ebx*8]
add esp, 8
mov edi, eax
test dword [edx + ecx*8 + 0x30], 0x2000
je 0x48f7c7
mov ecx, dword [edx + ecx*8 + 0x1c]
lea eax, [esi + esi*4]
mov ecx, dword [ecx + 0x1c]
or dword [ecx + eax*4 + 0x14], 0x40
test byte [edx + 0x2c], 0x40
je 0x48fa73
mov eax, dword [esp + 0x18]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ecx, ebx
mov eax, dword [eax]
shr eax, 0xc
and eax, 1
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x38]
push dword [esp + 0x2c]
call fcn.0048f360
add esp, 0x14
test eax, eax
je 0x48f9a3
nop dword [eax + eax]
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*8]
test dword [ebx + eax*8 + 0x30], 0x400
lea ebx, [ebx + eax*8]
je 0x48f91b
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x38]
call fcn.00473bc0
test eax, eax
js 0x48f91b
test esi, esi
jne 0x48f867
mov eax, dword [esp + 0x10]
mov edx, edi
mov ecx, dword [eax]
call fcn.0045a5f0
mov esi, eax
jmp 0x48f8a4
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
jmp 0x48f6c6
mov esi, dword [esp + 0x10]
jmp 0x48f6ca
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x48f886
mov eax, dword [esp + 0x10]
mov edx, esi
push edi
mov ecx, dword [eax]
call fcn.0045a660
add esp, 4
mov esi, eax
jmp 0x48f8a4
movups xmm0, xmmword [0x500078]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x500088]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edi
push dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
call fcn.004562e0
add esp, 8
mov edi, eax
test dword [ebx + 0x30], 0x2000
je 0x48f8d9
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
or dword [ecx + eax*4 + 0x14], 0x40
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov eax, dword [eax]
shr eax, 0xc
lea edx, [edx + 1]
and eax, 1
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x38]
push dword [esp + 0x2c]
call fcn.0048f360
add esp, 0x14
test eax, eax
jne 0x48f810
mov ebx, dword [esp + 0x10]
jmp 0x48f931
push dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
push str.ambiguous_reference_to__s_in_USING__
push ebx
call fcn.0041c910
add esp, 0xc
test esi, esi
je 0x48f99f
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x48f950
mov ecx, dword [ebx]
mov edx, esi
push edi
call fcn.0045a660
add esp, 4
mov esi, eax
jmp 0x48f96e
movups xmm0, xmmword [0x500078]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x500088]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edi
mov ebx, dword [ebx]
mov edx, 0xac
push 1
push 0x5048bc
mov ecx, ebx
call fcn.00458c70
mov edi, eax
add esp, 8
test edi, edi
jne 0x48fa23
test esi, esi
je 0x48f99d
mov edx, esi
mov ecx, ebx
call fcn.0045ab70
xor edi, edi
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov esi, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x34]
push esi
push eax
call fcn.004562e0
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x18]
test dword [eax], 0x2000
je 0x48f9d8
mov ecx, dword [eax - 0x14]
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + esi*4]
or dword [edx + ecx*4 + 0x14], 0x40
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00419010
mov esi, eax
add esp, 8
test esi, esi
je 0x48fad1
push 0x34
push 0
push esi
call fcn.004d4bd0
or eax, 0xffffffff
mov byte [esi], 0x35
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x48fa7a
mov dword [esi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov ecx, dword [ebx + 0x18]
inc ecx
jmp 0x48fa7f
mov ebx, dword [esp + 0x10]
mov eax, str.coalesce
sub eax, dword [ebx + 0xec]
mov dword [edi + 0x24], eax
test esi, esi
je 0x48fa5e
mov ecx, dword [ebx]
mov eax, dword [esi]
cmp eax, dword [ecx + 0x90]
jle 0x48fa5e
cmp byte [ebx + 0x12], 0
jne 0x48fa5e
push 0x5048bc
push str.too_many_arguments_on_function__T
push ebx
call fcn.0041c910
add esp, 0xc
or dword [edi + 4], 8
mov edx, edi
mov ecx, ebx
mov dword [edi + 0x14], esi
call fcn.00458ba0
jmp 0x48f99f
mov ebx, edx
jmp 0x48f9a3
mov ecx, 1
mov dword [esi + 0x18], ecx
mov edx, ecx
test edi, edi
je 0x48faa3
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
jl 0x48faa3
lea edx, [eax + 1]
mov dword [esi + 0x18], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
cmp edx, eax
jle 0x48fac2
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0041c910
add esp, 0xc
mov eax, dword [esp + 0x44]
or dword [esi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x24], eax
jmp 0x48faf5
test edi, edi
je 0x48fae4
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
call fcn.00459770
jmp 0x48fae8
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x48faf5
mov ecx, dword [edi]
mov edx, ebx
call fcn.00459770
mov ebx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [ebx + 0x24]
call fcn.00459130
mov ecx, dword [esp + 0x44]
add esp, 4
mov edx, dword [esp + 0x4c]
inc ecx
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], eax
cmp ecx, dword [edx]
jl 0x48f740
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jmp 0x48fb7c
test ecx, ecx
je 0x48fb7c
mov edx, dword [edx + 4]
push eax
call fcn.0048f400
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, esi
push dword [eax + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x24]
call fcn.00459130
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
or dword [edx], 0x800
mov dword [edx + 8], 0
mov eax, dword [edi]
inc ebx
add dword [esp + 0x3c], 0x48
add edx, 0x48
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
cmp ebx, eax
jge 0x48fbd4
mov ecx, dword [esp + 0x3c]
jmp 0x48f580
push 0
push str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
push esi
call fcn.0041c910
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push str.cannot_join_using_column__s___column_not_present_in_both_tables
push esi
call fcn.0041c910
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret