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

Disassembly:
sub esp, 0x80
push ebx
mov ebx, eax
xor eax, eax
push ebp
push esi
mov esi, dword [ebx + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
push esi
mov dword [esp + 0x1c], eax
call fcn.00457f10
push esi
mov dword [esp + 0x2c], eax
call fcn.00457f10
mov ecx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x38]
mov dword [esp + 0x38], eax
movzx eax, byte [edi + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp]
add esp, 8
cmp eax, 0x74
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
je 0x464a9c
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x40], 0
mov dword [esp + 0x14], 1
jne 0x464a9c
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x40], eax
lea ebx, [ebx]
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
cmp edx, dword [eax]
jg 0x464a9c
mov edx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
jle 0x464a29
add edx, 0x14
mov dword [esp + 0x34], edx
mov edi, edi
mov edx, dword [esp + 0x34]
movzx edx, word [edx]
cmp edx, dword [esp + 0x14]
je 0x464a29
add dword [esp + 0x34], 0x18
add eax, 1
cmp eax, ecx
jl 0x464a10
cmp eax, ecx
jne 0x464a89
mov eax, dword [esp + 0x18]
push 0
push 0x84
push eax
call fcn.00478280
add esp, 0xc
test eax, eax
je 0x464b00
mov ecx, dword [esp + 0x14]
or dword [eax + 4], 0x400
push eax
push ebp
push ebx
mov dword [eax + 8], ecx
call fcn.00479d00
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x464a85
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 8]
mov cx, word [esp + 0x14]
add dword [esp + 0x20], 1
mov word [edx + eax + 0x14], cx
add eax, 0x18
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add dword [esp + 0x14], 1
cmp byte [edx + 0x40], 0
je 0x4649f0
lea eax, [ecx*4]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0043fd50
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [esp + 0x58], eax
je 0x464b0f
cmp dword [esp + 0x20], ecx
mov edx, dword [ebp + 8]
jle 0x464aeb
add edx, 0x14
mov dword [esp + 0x34], edx
jmp 0x464ad0
mov edx, dword [esp + 0x34]
movzx edx, word [edx]
add dword [esp + 0x34], 0x18
sub edx, 1
mov dword [eax + ecx*4], edx
add ecx, 1
cmp ecx, dword [esp + 0x20]
jl 0x464ad0
push edi
push ebx
mov edx, 1
call fcn.00464260
add esp, 8
mov dword [esp + 0x44], eax
jmp 0x464b13
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x80
ret
mov dword [esp + 0x44], ecx
push 0
mov dword [edi + 0x38], ebp
mov eax, dword [ebx]
push ebp
push eax
call fcn.004785a0
mov ebp, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x10], 0x74
mov dword [ebp + 0x38], eax
jne 0x464b3f
mov dword [esp + 0x38], 0
jmp 0x464c32
mov ecx, dword [edi]
mov ebp, dword [ecx]
mov eax, dword [ebx + 0x4c]
lea ecx, [eax + 1]
push ecx
push 0
lea edx, [eax + ebp + 1]
push 0x17
push esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], ecx
mov dword [ebx + 0x4c], edx
call fcn.00457ef0
lea eax, [ebp + ebp*4 + 0x1d]
push eax
push 0
call fcn.0043ff50
mov ecx, eax
add esp, 0x18
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x464ba8
mov word [ecx + 6], bp
lea edx, [ecx + ebp*4 + 0x18]
mov ebp, dword [esp + 0x18]
mov dword [ecx + 0x10], edx
mov word [ecx + 8], 1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0xc]
mov al, byte [edx + 0x4d]
mov byte [ecx + 4], al
mov dword [ecx + 0xc], ebp
mov dword [ecx], 1
jmp 0x464bb0
mov edx, dword [esp + 0x18]
mov byte [edx + 0x40], 1
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x464c2e
xor ebp, ebp
cmp dword [esp + 0x14], ebp
jle 0x464c2e
lea eax, [ecx + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], eax
jmp 0x464bd0
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x464ca3
push ebp
push eax
push ebx
call fcn.00464210
mov ecx, dword [esp + 0x40]
add esp, 0xc
test eax, eax
jne 0x464c0c
mov edx, dword [edi]
cmp ebp, dword [edx]
jge 0x464c0c
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx]
push eax
push ebx
call fcn.00477eb0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, dword [esp + 0x40]
add dword [esp + 0x2c], 0x18
mov dword [edx], eax
mov eax, dword [ecx + 0x10]
mov byte [eax + ebp], 0
add ebp, 1
add edx, 4
cmp ebp, dword [esp + 0x14]
mov dword [esp + 0x40], edx
jl 0x464bd0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [edi + 0x38]
push str.ORDER
push ecx
push edi
push ebx
mov dword [edi + 0x3c], 0
call fcn.0048c030
add esp, 0x10
cmp dword [ebp + 0x3c], 0
jne 0x464c65
mov edx, dword [ebp + 0x38]
push str.ORDER
push edx
push ebp
push ebx
call fcn.0048c030
add esp, 0x10
mov eax, dword [esp + 0x24]
push eax
push edi
mov eax, ebx
call fcn.004640a0
xor eax, eax
add esp, 8
cmp dword [edi + 8], eax
je 0x464cca
cmp dword [esp + 0x10], 0x74
jne 0x464cca
mov ebp, dword [ebx + 0x4c]
add ebp, 1
lea eax, [ebp + 1]
mov dword [ebx + 0x4c], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x2c], ebp
je 0x464caa
add eax, 1
jmp 0x464cad
xor eax, eax
jmp 0x464bee
mov eax, dword [edi + 8]
push ebp
push eax
push 0x1e
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x44]
push ecx
push ebp
push 0x1e
push esi
call fcn.00457ef0
add esp, 0x20
jmp 0x464cd2
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov edx, dword [edi + 0x48]
mov ebp, dword [esp + 0x18]
push edx
push ebp
call fcn.00479930
mov eax, dword [edi + 0x4c]
push eax
push ebp
mov dword [edi + 0x48], 0
call fcn.00479930
mov dword [edi + 0x4c], 0
mov ebp, dword [ebx + 0x4c]
add ebp, 1
lea eax, [ebp + 1]
mov dword [esp + 0x1c], eax
add eax, 1
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
add ecx, 2
mov dword [esp + 0x50], ecx
mov dword [ebx + 0x4c], ecx
xor ecx, ecx
mov dl, 9
push 0x10
push esi
mov byte [esp + 0x90], dl
mov dword [esp + 0x94], ebp
mov byte [esp + 0x91], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov byte [esp + 0x7c], dl
mov dword [esp + 0x80], eax
mov byte [esp + 0x7d], cl
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
call fcn.00457e40
push esi
mov dword [esp + 0x68], eax
call fcn.004580e0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x204]
lea ecx, [esp + 0x94]
push ecx
push eax
push ebx
mov dword [esp + 0x88], edx
call fcn.00467550
mov edx, dword [esp + 0x34]
push edx
push 1
push 0x17
push esi
call fcn.00457ef0
push ebp
push 0x14
push esi
call fcn.00457e90
add esp, 0x44
push esi
call fcn.004580e0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x34], eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], 0
mov eax, dword [ebx + 0x204]
push edi
push ebx
mov dword [esp + 0x6c], eax
call fcn.00467550
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x24]
push ecx
push 1
push 0x17
push esi
mov dword [edi + 0xc], eax
call fcn.00457ef0
mov eax, dword [esp + 0x2c]
add eax, 1
push eax
push 0x14
push esi
call fcn.00457e90
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0x48]
push ecx
add eax, 1
push eax
push edx
push edi
lea eax, [esp + 0xbc]
call fcn.00464690
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
add esp, 0x44
cmp eax, 0x74
je 0x464e60
cmp eax, 0x73
jne 0x464e91
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x98]
push edx
push eax
push ecx
push edi
lea eax, [esp + 0x7c]
call fcn.00464690
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
add esp, 0x18
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x464ead
add dword [ecx], 0xffffffff
jne 0x464ead
push ecx
push 0
call fcn.0043f760
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 0x75
je 0x464f13
cmp eax, 0x76
je 0x464f13
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push eax
push 0x29
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push ecx
push edx
push 0x11
push esi
mov dword [esp + 0x48], eax
call fcn.00457ef0
mov eax, dword [esp + 0x2c]
add eax, 1
push eax
push 0x14
push esi
call fcn.00457e90
mov eax, dword [esp + 0x54]
push eax
push 0
push 0x10
push esi
call fcn.00457ef0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
add esp, 0x3c
add dword [edi + 0x20], ecx
mov edx, dword [eax + 0x24]
adc dword [edi + 0x24], edx
jmp 0x464f2d
mov eax, dword [esp + 0x24]
push eax
push 0
push 0x10
push esi
call fcn.00457ef0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp dword [esp + 0x10], 0x76
jne 0x464f5a
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
cmp edx, eax
jb 0x464fa0
ja 0x464f52
mov edx, dword [edi + 0x20]
cmp edx, ecx
jbe 0x464fa0
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
jmp 0x464fa0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0x29
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
push edx
add eax, 1
push eax
push 0x11
push esi
call fcn.00457ef0
push ebp
push 0x14
push esi
call fcn.00457e90
mov eax, dword [esp + 0x58]
push eax
push 0
push 0x10
push esi
call fcn.00457ef0
add esp, 0x3c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push ecx
add eax, 1
push eax
push 0x11
push esi
call fcn.00457ef0
push ebp
push 0x14
push esi
mov dword [esp + 0x50], eax
call fcn.00457e90
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
push edx
push eax
push 0x29
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x5c]
push ecx
push 0
push 0x10
push esi
call fcn.00457ef0
mov eax, dword [esp + 0x4c]
add esp, 0x3c
cmp eax, 0x74
jne 0x464ff9
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], edx
jmp 0x465040
cmp eax, 0x76
jne 0x46500f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
add eax, 1
mov dword [esp + 0x34], eax
jmp 0x465040
push ebp
push 0x14
push esi
call fcn.00457e90
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push 0x29
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x4c]
push edx
push 0
push 0x10
push esi
call fcn.00457ef0
add esp, 0x2c
push esi
call fcn.004580e0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, 0x74
je 0x46505b
cmp eax, 0x73
jne 0x465070
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push 0x11
push esi
call fcn.00457ef0
add esp, 0x10
mov eax, dword [esp + 0xc]
add eax, 1
push eax
push 0x14
push esi
call fcn.00457e90
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x29
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x4c]
push ecx
push 0
push 0x10
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x78]
push edx
push esi
call fcn.00458250
mov eax, dword [esp + 0x40]
push eax
push 0
push 0x17
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x58]
add esp, 0x44
push ecx
push 0
push 0x17
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x60]
push edx
push ebp
push 0x11
push esi
call fcn.00457ef0
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x30]
add eax, 1
push eax
push 0x11
push esi
call fcn.00457ef0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push 0x29
push esi
call fcn.00457ef0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
add esp, 0x40
push eax
push ecx
push 0x29
push esi
call fcn.00457ef0
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.00457f60
mov eax, dword [esp + 0x70]
push 0xfffffffffffffff1
push eax
push 0
push 0
push 0
push 0x25
push esi
call fcn.0045a660
mov ecx, dword [esp + 0x78]
push 0xfffffffffffffffa
push ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
push 0x26
push esi
call fcn.0045a660
add esp, 0x50
push 1
push esi
call fcn.00458230
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
push 0x27
push esi
call fcn.00457de0
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.00457f60
mov eax, dword [esp + 0xb4]
add esp, 0x24
cmp byte [eax], 5
jne 0x4651b9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4651ab
mov ecx, eax
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x4651a2
mov ecx, dword [ecx]
push ecx
push 0
push ebx
call fcn.00463b20
add esp, 0xc
mov esi, dword [edi + 0x3c]
test esi, esi
je 0x4651d5
mov ebp, dword [esp + 0x18]
push esi
push ebp
call fcn.00462460
push esi
push ebp
call fcn.0043f760
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x3c], edx
cmp byte [ebx + 0x1f1], 2
jne 0x46524e
movzx eax, byte [edi + 4]
sub eax, 0x74
mov esi, dword [ebx + 8]
je 0x465210
sub eax, 1
je 0x465209
sub eax, 1
je 0x465202
mov eax, str.UNION
jmp 0x465215
mov eax, str.INTERSECT
jmp 0x465215
mov eax, str.EXCEPT
jmp 0x465215
mov eax, str.UNION_ALL
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x60]
push 0x5476a1
push eax
push ecx
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push edx
call fcn.0043f200
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 0x200]
push 0
push 0
push eax
push 0x98
push esi
call fcn.0045a660
add esp, 0x34
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret