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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x38], eax
xor esi, esi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
dec eax
test eax, eax
jle 0x482773
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 0x482718
test eax, eax
je 0x482718
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 0x48235b
xor ecx, ecx
test dword [edx], 0x400
mov dword [esp + 0x28], ecx
jne 0x482739
cmp dword [edx + 8], ecx
jne 0x482739
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x34], esi
cmp si, word [eax + 0x22]
jge 0x482349
xor edx, edx
mov dword [esp + 0x2c], edx
jmp 0x482244
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
test byte [eax + edx + 0xe], 2
jne 0x48231b
mov eax, dword [eax + edx]
xor esi, esi
mov dword [esp + 0x40], eax
cmp dword [esp + 0x1c], esi
jl 0x48231b
add edi, 0x18
mov ebx, dword [edi]
mov edx, eax
mov ecx, ebx
call fcn.00481f20
test eax, eax
js 0x482283
mov ecx, dword [ebx + 4]
add eax, eax
test byte [ecx + eax*8 + 0xe], 2
je 0x482293
inc esi
add edi, 0x48
cmp esi, dword [esp + 0x1c]
jg 0x48230b
mov eax, dword [esp + 0x40]
jmp 0x482268
mov ebx, dword [esp + 0x10]
mov ecx, ebx
mov edx, dword [esp + 0x28]
push 0
call fcn.00467640
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x482313
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x4822c2
mov eax, dword [ecx]
xor esi, esi
mov dword [ecx + eax*8], esi
jmp 0x48230f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4822c7
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x14]
push edi
mov ecx, dword [ecx]
test ecx, ecx
je 0x4822e7
call fcn.00413890
jmp 0x4822ec
call fcn.00413230
mov esi, eax
add esp, 8
test esi, esi
je 0x482300
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov dword [ecx + eax*8], esi
jmp 0x48230f
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
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 0x482240
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x482349
or dword [edx], 0x1400
mov dword [edx + 8], ecx
cmp dword [ebx + 0x24], 0
jne 0x482749
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
test dword [edx], 0x400
mov ecx, dword [edx + 8]
je 0x4826d8
cmp dword [ecx], 0
mov eax, dword [ebx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0
jle 0x482718
lea eax, [ecx + 8]
mov dword [esp + 0x48], eax
nop dword [eax]
mov ebx, dword [eax]
mov edx, ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.00481f20
mov dword [esp + 0x40], eax
test eax, eax
js 0x482755
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 esi
call fcn.00481fc0
add esp, 0x14
test eax, eax
je 0x482755
mov esi, dword [esp + 0x24]
mov edx, edi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push esi
push ebx
call fcn.0044b970
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + ebx*8]
add esp, 8
mov edi, eax
test dword [edx + ecx*8 + 0x30], 0x2000
je 0x482414
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 0x4826cf
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.00481fc0
add esp, 0x14
test eax, eax
je 0x4825d9
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 0x482555
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x38]
call fcn.00467820
test eax, eax
js 0x482555
test esi, esi
jne 0x4824a1
mov eax, dword [esp + 0x10]
mov edx, edi
mov ecx, dword [eax]
call fcn.0044fb40
mov esi, eax
jmp 0x4824de
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x4824c0
mov eax, dword [esp + 0x10]
mov edx, esi
push edi
mov ecx, dword [eax]
call fcn.0044fbb0
add esp, 4
mov esi, eax
jmp 0x4824de
movups xmm0, xmmword [0x4f940c]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x4f941c]
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.0044b970
add esp, 8
mov edi, eax
test dword [ebx + 0x30], 0x2000
je 0x482513
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.00481fc0
add esp, 0x14
test eax, eax
jne 0x482460
mov ebx, dword [esp + 0x10]
jmp 0x48256b
push dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
push str.ambiguous_reference_to__s_in_USING__
push ebx
call fcn.00417860
add esp, 0xc
test esi, esi
je 0x4825d9
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x48258a
mov ecx, dword [ebx]
mov edx, esi
push edi
call fcn.0044fbb0
add esp, 4
mov esi, eax
jmp 0x4825a8
movups xmm0, xmmword [0x4f940c]
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x4f941c]
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 0x4fdc5c
mov ecx, ebx
call fcn.0044e450
mov edi, eax
add esp, 8
test edi, edi
jne 0x48267f
test esi, esi
je 0x4825d7
mov edx, esi
mov ecx, ebx
call fcn.00450000
xor edi, edi
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
inc eax
push eax
call fcn.0044b970
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x18]
test dword [eax], 0x2000
je 0x482617
mov ecx, dword [eax - 0x14]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx + 0x1c]
lea ecx, [eax + eax*4]
or dword [edx + ecx*4 + 0x14], 0x40
push esi
push edi
mov edx, 0x35
mov ecx, ebx
call fcn.0044e6e0
add esp, 8
test eax, eax
je 0x482639
mov ecx, dword [esp + 0x44]
or dword [eax + 4], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x24], ecx
mov esi, dword [esp + 0x38]
mov ecx, ebx
push eax
mov edx, dword [esi + 0x24]
call fcn.0044e8d0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x4c]
inc ecx
mov edi, dword [esp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
cmp ecx, dword [edx]
jl 0x482390
mov edx, dword [esp + 0x18]
jmp 0x482718
mov ebx, dword [esp + 0x10]
mov eax, dword [str.coalesce]
sub eax, dword [ebx + 0xf0]
mov dword [edi + 0x24], eax
test esi, esi
je 0x4826ba
mov ecx, dword [ebx]
mov eax, dword [esi]
cmp eax, dword [ecx + 0x90]
jle 0x4826ba
cmp byte [ebx + 0x12], 0
jne 0x4826ba
push 0x4fdc5c
push str.too_many_arguments_on_function__T
push ebx
call fcn.00417860
add esp, 0xc
or dword [edi + 4], 8
mov edx, edi
mov ecx, ebx
mov dword [edi + 0x14], esi
call fcn.0044e380
jmp 0x4825dd
mov ebx, dword [esp + 0x10]
jmp 0x4825e1
test ecx, ecx
je 0x482718
mov edx, dword [edx + 4]
push eax
call fcn.00482060
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, ebx
push dword [eax + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x24]
call fcn.0044e8d0
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 esi
add dword [esp + 0x3c], 0x48
add edx, 0x48
dec eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
cmp esi, eax
jge 0x482773
mov ecx, dword [esp + 0x3c]
jmp 0x4821d0
push 0
push str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
push ebx
call fcn.00417860
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 dword [esp + 0x18]
call fcn.00417860
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