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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x56e00c]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esp + 0x24], eax
movups xmm0, xmmword [esi]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], eax
cmp dword [edx + 0x30], 0
mov dword [esp + 0x28], edi
mov dword [esp + 8], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], edx
je 0x472609
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x4725eb
sub eax, 1
je 0x4725e4
sub eax, 1
je 0x4725dd
mov eax, str.UNION
jmp 0x4725f0
mov eax, str.INTERSECT
jmp 0x4725f0
mov eax, str.EXCEPT
jmp 0x4725f0
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.00426ed0
add esp, 0xc
mov esi, 1
jmp 0x472e1c
cmp dword [edx + 0x3c], 0
je 0x472655
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x472637
sub eax, 1
je 0x472630
sub eax, 1
je 0x472629
mov eax, str.UNION
jmp 0x47263c
mov eax, str.INTERSECT
jmp 0x47263c
mov eax, str.EXCEPT
jmp 0x47263c
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
push ecx
call fcn.00426ed0
add esp, 0xc
mov esi, 1
jmp 0x472e1c
call fcn.00471b40
cmp byte [esp + 0x40], 0xc
mov esi, eax
mov dword [esp + 0x1c], esi
jne 0x472695
mov eax, dword [edi]
mov edx, 0x37
mov ecx, esi
push dword [eax]
push dword [esp + 0x48]
call fcn.00440520
mov ecx, dword [esi + 4]
add esp, 8
test ecx, ecx
je 0x472690
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov byte [esp + 0x40], 0xe
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, dword [edx]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x4726e9
test byte [edi + 6], 0x80
je 0x4726c4
push str.all_VALUES_must_have_the_same_number_of_terms
push dword [esp + 0xc]
call fcn.00426ed0
add esp, 8
mov esi, 1
jmp 0x472e1c
movzx ecx, byte [edi + 4]
call fcn.00470780
push eax
push str.SELECTs_to_the_left_and_right_of__s_do_not_have_the_same_number_of_result_columns
push dword [esp + 0x10]
call fcn.00426ed0
add esp, 0xc
mov esi, 1
jmp 0x472e1c
mov eax, 0x800
test word [edi + 6], ax
je 0x47270e
mov esi, dword [esp + 8]
lea eax, [esp + 0x40]
push eax
mov edx, edi
mov ecx, esi
call fcn.00471f00
add esp, 4
jmp 0x472cc2
cmp dword [edi + 0x30], 0
je 0x47273b
mov ecx, dword [esp + 0x38]
mov edx, edi
push ecx
mov ecx, dword [esp + 0xc]
call fcn.004732d0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x73
je 0x472aa8
sub eax, 1
je 0x4729a0
sub eax, 1
je 0x472aa8
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x37
mov dword [esp + 0x34], eax
inc eax
mov dword [ecx + 0x44], eax
mov ecx, esi
call fcn.00440520
mov ecx, edi
mov dword [edi + 0x10], eax
call fcn.0046f000
mov edx, dword [esp + 0x1c]
or word [eax + 6], 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
mov word [esp + 0x6c], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.00476370
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x472e18
push eax
push dword [esp + 0x30]
lea edx, [eax + 0x37]
mov ecx, esi
call fcn.00440520
mov dword [edi + 0x14], eax
mov edx, edi
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.00476370
mov edx, dword [edi + 0x34]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], eax
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [edi + 0x1c], eax
jb 0x472862
ja 0x47285c
cmp dword [edi + 0x18], ecx
jbe 0x472862
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x30]
call fcn.00451e60
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x40], eax
jne 0x4728a9
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x472899
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x472890
push dword [ecx]
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.004712b0
add esp, 4
mov ecx, esi
call fcn.00440720
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00440720
mov ecx, dword [esp + 8]
mov edx, edi
push esi
mov dword [esp + 0x18], eax
call fcn.00471b90
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, 0x69
push esi
push dword [esp + 0x10]
call fcn.00440520
mov ecx, dword [esp + 0x10]
call fcn.00456b60
mov ecx, dword [esp + 0x24]
mov esi, eax
push esi
push dword [esp + 0x18]
mov edx, 0x62
call fcn.00440520
mov ecx, dword [esp + 0x2c]
mov edx, 0x41
push 0
push esi
push dword [esp + 0x2c]
mov edi, eax
push dword [esp + 0x48]
call fcn.004406b0
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.00456b80
push dword [esp + 0x30]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
push esi
push eax
push 0
push 0
push dword [esp + 0x40]
push dword [edx]
call fcn.0046fb20
add esp, 0x3c
mov edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00440790
push edi
mov edi, dword [esp + 0x10]
mov edx, 9
push edi
call fcn.00440520
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00440790
lea eax, [edi + 1]
mov edx, 0x3a
push 0
push eax
call fcn.00440520
push 0
push edi
mov edx, 0x3a
mov ecx, esi
call fcn.00440520
add esp, 0x18
jmp 0x472cba
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00476370
mov ecx, eax
mov dword [edi + 0x3c], 0
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [edi + 0x40], 0
test ecx, ecx
jne 0x472e18
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x34], eax
mov edx, dword [ecx + 8]
mov dword [edi + 8], edx
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
test edx, edx
je 0x472a22
push edx
mov edx, 0x88
mov ecx, esi
call fcn.004404b0
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov edx, edi
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00476370
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [edi + 0x34]
mov dword [edi + 0x34], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
add dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edi + 0x1c], eax
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x472a8e
lea edx, [esp + 0x3c]
call fcn.00452cd0
test eax, eax
je 0x472a8e
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x472a8e
cdq
cmp dword [edi + 0x1c], edx
jb 0x472a8e
ja 0x472a88
cmp dword [edi + 0x18], eax
jbe 0x472a8e
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x472cbe
mov edx, eax
mov ecx, esi
call fcn.00440a30
jmp 0x472cbe
cmp byte [esp + 0x40], 1
jne 0x472ab9
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x472af3
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x37
mov dword [ecx + 0x44], eax
mov ecx, esi
call fcn.00440520
add esp, 8
mov dword [edi + 0x10], eax
mov ecx, edi
call fcn.0046f000
mov edx, dword [esp + 0x14]
or word [eax + 6], 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 8]
mov word [esp + 0x78], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.00476370
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x472e18
cmp byte [edi + 4], 0x75
mov edx, edi
mov dword [edi + 0x34], ecx
mov ecx, dword [edi + 0x3c]
sete al
inc al
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x40]
mov byte [esp + 0x78], al
mov eax, dword [esp + 8]
mov dword [esp + 0x10], ecx
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.00476370
mov edx, dword [edi + 0x30]
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.00452b00
cmp byte [edi + 4], 0x73
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], 0
jne 0x472bc1
mov eax, dword [ecx + 0x18]
add dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edi + 0x1c], eax
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x30]
call fcn.00451e60
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x40], eax
mov al, byte [esp + 0x40]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp al, 1
je 0x472cbe
cmp al, 9
jne 0x472c1b
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x472c0b
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x472c02
push dword [ecx]
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.004712b0
add esp, 4
mov ecx, esi
call fcn.00440720
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00440720
mov edx, dword [esp + 0x28]
mov edi, eax
mov ecx, dword [esp + 8]
push esi
call fcn.00471b90
add esp, 4
mov edx, 0x69
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00440520
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
mov esi, dword [esi + 0x20]
push edi
push eax
mov eax, dword [esp + 0x3c]
mov edx, eax
push 0
push 0
push dword [esp + 0x28]
push dword [eax]
call fcn.0046fb20
add esp, 0x24
mov edx, edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.00440790
push esi
mov esi, dword [esp + 0x10]
mov edx, 9
push esi
call fcn.00440520
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.00440790
push 0
push esi
mov edx, 0x3a
call fcn.00440520
add esp, 0x10
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 8]
movzx edx, byte [edi + 4]
xor eax, eax
cmp byte [edi + 4], 0x74
mov ecx, esi
setne al
push eax
push dword [esp + 0x24]
push dword [esp + 0x2c]
call fcn.00470800
add esp, 0xc
test byte [edi + 6], 8
je 0x472e18
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x10], eax
call fcn.00470650
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x472d14
lea esi, [eax + 7]
jmp 0x472e1c
xor ecx, ecx
lea edx, [eax + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0xc], ecx
jle 0x472da0
mov dword [esp + 0x2c], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x472d52
push ecx
mov edx, eax
mov ecx, esi
call fcn.00471d30
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x472d79
jmp 0x472d54
xor eax, eax
mov esi, dword [edi]
cmp ecx, dword [esi]
mov esi, dword [esp + 8]
jge 0x472d79
mov eax, dword [edi]
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + eax]
call fcn.00451220
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [edx], eax
test eax, eax
jne 0x472d88
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x2c], 0x18
inc ecx
add edx, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0xc]
jl 0x472d30
nop
lea esi, [edi + 0x10]
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x1c]
nop
mov edx, dword [esi]
test edx, edx
js 0x472df7
cmp dword [edi + 0x20], edx
jbe 0x472dcd
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, edi
push 0xfffffffffffffffa
push eax
inc dword [eax]
call fcn.00440c10
mov eax, dword [esp + 0x18]
add esp, 8
inc eax
mov dword [esi], 0xffffffff
add esi, 4
mov dword [esp + 0x10], eax
cmp eax, 2
jl 0x472db0
mov edi, dword [esp + 0x28]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x28], edi
test edi, edi
jne 0x472da0
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x472e18
mov edx, eax
xor ecx, ecx
call fcn.004246f0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x472e4e
mov ecx, dword [esp + 0x30]
mov edx, eax
call fcn.0046ee30
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
call fcn.004246f0
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret