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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x513040]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
movups xmm0, xmmword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov edx, dword [edi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x38], esi
movq xmm0, qword [esi + 0x10]
mov esi, dword [ecx + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], edx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], esi
test esi, esi
jne 0x4af8a6
cmp dword [ecx + 0x84], esi
jne 0x4af89b
mov eax, dword [esp + 0x2c]
test byte [eax + 0x50], 8
jne 0x4af89b
mov byte [ecx + 0x17], 1
call fcn.00457d00
mov esi, eax
mov dword [esp + 0x34], eax
cmp byte [esp + 0x40], 0xc
jne 0x4af90f
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4af8d7
push 0
push edx
push eax
mov edx, 0x75
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4af90a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esp + 0x40], 0xe
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
test eax, 0x400
je 0x4af9ff
mov eax, edi
mov dword [esp + 0x10], 0
mov ecx, 1
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x3c]
test edx, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
sete dl
cmp dword [eax + 0x44], 0
jne 0x4af9f9
nop
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4af96e
mov edi, eax
add ecx, edx
mov dword [esp + 0x3c], ecx
cmp dword [edi + 0x44], 0
je 0x4af950
mov edi, dword [esp + 0x28]
jmp 0x4af9fb
cmp ecx, 1
mov edx, 0x50332c
mov eax, 0x4fb681
cmovne eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x14]
push str.SCAN__d_CONSTANT_ROW_s
push 0
push ecx
call fcn.004585c0
mov esi, dword [esp + 0x50]
add esp, 0x14
nop dword [eax + eax]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push 1
push 1
push eax
push 0
push 0
push 0xffffffffffffffff
mov edx, edi
call fcn.004abda0
add esp, 0x18
cmp dword [esp + 0x24], 0
jne 0x4af9cf
mov word [edi + 2], si
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x4af9a0
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, 0x2000
je 0x4afa20
mov eax, edi
nop dword [eax + eax]
test dword [eax + 4], 0x2000
je 0x4afa4d
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x4afa10
cmp dword [edi + 0x30], 0
je 0x4afa6b
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
push edx
mov edx, edi
call fcn.004b1320
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.004af080
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x4b06cf
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x34], 0
jne 0x4afa9f
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.004585c0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.004585c0
mov ecx, dword [esp + 0x28]
add esp, 0xc
movzx eax, byte [edi]
sub eax, 0x87
je 0x4b02a1
sub eax, 1
je 0x4aff37
sub eax, 1
je 0x4b02a1
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
inc eax
mov dword [edx + 0x2c], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4afaf5
push 0
push 0
push ecx
mov edx, 0x75
mov ecx, esi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x4afb2c
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4afb41
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4afb38
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x68], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.004b6e00
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x4b08d4
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4afbb4
push eax
push eax
push dword [esp + 0x2c]
lea edx, [eax + 0x75]
mov ecx, esi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x4afbeb
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x18], edx
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
movzx eax, byte [edi]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x88
je 0x4afc34
sub eax, 1
je 0x4afc2d
sub eax, 1
je 0x4afc26
mov eax, str.UNION
jmp 0x4afc39
mov eax, str.INTERSECT
jmp 0x4afc39
mov eax, str.EXCEPT
jmp 0x4afc39
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.004585c0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
push eax
mov edx, edi
call fcn.004b6e00
mov dword [esp + 0x34], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x4afc7d
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4afc8d
mov ecx, dword [esp + 0x2c]
call fcn.00472a80
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
jne 0x4b068f
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x3c]
dec eax
push eax
mov dword [esp + 0x14], eax
lea ecx, [eax - 1]
mov dword [edx + 0x3c], ecx
mov edx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
call fcn.004aeb20
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4afce8
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x24
call fcn.00457f50
add esp, 0xc
jmp 0x4afd1b
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4afd2e
inc dword [ecx + 0x30]
mov edx, dword [ecx + 0x30]
jmp 0x4afd3d
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0xa8]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4afd6d
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x86
mov ecx, esi
call fcn.00457f50
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x4afda0
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4afdc8
push 0
push edx
push dword [esp + 0x24]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x30]
call fcn.00457f90
mov edx, dword [esp + 0x28]
add esp, 0x10
jmp 0x4afdfb
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x4afe17
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4afe17
movzx eax, al
mov dword [ecx + eax*4 + 0xa8], edx
inc byte [ecx + 0x13]
push dword [esp + 0x10]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x20]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.004abda0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x3c]
jns 0x4afe54
push edx
mov edx, esi
call fcn.00458810
add esp, 4
jmp 0x4afe5d
mov ecx, dword [ecx + 0x44]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4afe81
mov edx, dword [esp + 0x3c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x27
call fcn.00457f50
add esp, 0xc
jmp 0x4afeb4
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x3c]
jns 0x4afed2
push edx
mov edx, esi
call fcn.00458810
add esp, 4
jmp 0x4afedb
mov ecx, dword [ecx + 0x44]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4afeff
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x7a
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4b063b
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b063b
xor eax, eax
mov edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b6e00
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x4b08d4
mov dword [edi + 0x34], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
test edx, edx
je 0x4b0051
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x70], ecx
jg 0x4affbc
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.00457f50
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x4affef
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4b0051
mov ecx, dword [edi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b001f
push edx
push eax
push dword [esp + 0x38]
mov edx, 0xa0
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4b0051
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], esi
lea esi, [edx + 1]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xa0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.004585c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.004b6e00
movzx ecx, word [edi + 2]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x34], eax
mov dword [esp + 0x10], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x10], ax
jl 0x4b00cc
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4b00af
movzx eax, word [edi + 2]
jmp 0x4b0106
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4b00bd
movzx eax, word [edi + 2]
inc eax
jmp 0x4b0103
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x4b0100
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4b00dd
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
jmp 0x4b0106
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4b00ef
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
inc eax
jmp 0x4b0103
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x1c]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov ecx, dword [edi + 0x3c]
mov word [edi + 2], ax
test ecx, ecx
je 0x4b026b
push dword [esp + 0xc]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x40]
call fcn.004744d0
add esp, 4
test eax, eax
je 0x4b026b
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4b026b
cdq
mov ecx, 0x28
mov dword [esp + 0x10], ecx
test edx, edx
ja 0x4b0180
jb 0x4b015c
cmp eax, 8
jae 0x4b0174
test edx, edx
ja 0x4b0160
jb 0x4b015c
cmp eax, 2
jae 0x4b0160
xor eax, eax
jmp 0x4b01d1
shld edx, eax, 1
sub ecx, 0xa
add eax, eax
test edx, edx
jne 0x4b01b6
cmp eax, 8
jb 0x4b0160
jmp 0x4b01b6
test edx, edx
jne 0x4b0180
cmp eax, 0xff
jbe 0x4b019b
nop
shrd eax, edx, 4
add ecx, 0x28
shr edx, 4
test edx, edx
ja 0x4b0180
jb 0x4b0197
cmp eax, 0xff
ja 0x4b0180
mov dword [esp + 0x10], ecx
test edx, edx
jne 0x4b01a4
cmp eax, 0xf
jbe 0x4b01ba
shrd eax, edx, 1
add ecx, 0xa
shr edx, 1
jne 0x4b01a4
jb 0x4b01b6
cmp eax, 0xf
ja 0x4b01a4
mov dword [esp + 0x10], ecx
and eax, 7
mov cx, word [eax*2 + 0x506dac]
sub cx, 0xa
add cx, word [esp + 0x10]
movzx eax, cx
cmp word [edi + 2], ax
jle 0x4b026b
mov eax, dword [esp + 0x3c]
mov ecx, 0x28
cdq
test edx, edx
ja 0x4b0220
jb 0x4b01fb
cmp eax, 8
jae 0x4b0214
test edx, edx
ja 0x4b0200
jb 0x4b01fb
cmp eax, 2
jae 0x4b0200
xor eax, eax
jmp 0x4b0267
shld edx, eax, 1
sub ecx, 0xa
add eax, eax
test edx, edx
jne 0x4b0252
cmp eax, 8
jb 0x4b0200
jmp 0x4b0252
test edx, edx
jne 0x4b0220
cmp eax, 0xff
jbe 0x4b0237
nop
shrd eax, edx, 4
add ecx, 0x28
shr edx, 4
test edx, edx
ja 0x4b0220
jb 0x4b0240
cmp eax, 0xff
ja 0x4b0220
test edx, edx
jne 0x4b0240
cmp eax, 0xf
jbe 0x4b0252
shrd eax, edx, 1
add ecx, 0xa
shr edx, 1
jne 0x4b0240
jb 0x4b0252
cmp eax, 0xf
ja 0x4b0240
and eax, 7
mov ax, word [eax*2 + 0x506dac]
sub ax, 0xa
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b068f
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4b028f
mov eax, 0x515db8
mov dword [eax + 8], edx
jmp 0x4b068f
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4b068f
cmp byte [esp + 0x40], 1
jne 0x4b02b5
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x4b033d
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4b02ec
push 0
push 0
push edx
mov edx, 0x75
mov ecx, esi
call fcn.00457f50
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4b0323
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4b0339
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4b0330
or dword [ecx + 4], 0x20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x80]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x1c]
push eax
mov byte [esp + 0x84], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.004b6e00
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x4b08d4
cmp byte [edi], 0x89
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x18], eax
sete al
inc al
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x80], al
movzx eax, byte [edi]
sub eax, 0x88
je 0x4b03e3
sub eax, 1
je 0x4b03dc
sub eax, 1
je 0x4b03d5
mov eax, str.UNION
jmp 0x4b03e8
mov eax, str.INTERSECT
jmp 0x4b03e8
mov eax, str.EXCEPT
jmp 0x4b03e8
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.004585c0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
push eax
mov edx, edi
call fcn.004b6e00
mov dword [esp + 0x34], eax
add esp, 0x14
cmp byte [edi], 0x87
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x4b04b2
movzx ecx, word [edi + 2]
movzx eax, word [eax + 2]
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x4b0474
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4b0457
movzx eax, word [edi + 2]
jmp 0x4b04ae
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4b0465
movzx eax, word [edi + 2]
inc eax
jmp 0x4b04ab
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x4b04a8
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4b0485
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
jmp 0x4b04ae
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4b0497
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
inc eax
jmp 0x4b04ab
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x1c]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4b04c2
mov ecx, dword [esp + 0x2c]
call fcn.00472a80
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x4b068f
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x57], 0
jne 0x4b068f
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x3c]
dec eax
push eax
mov dword [esp + 0x14], eax
lea ecx, [eax - 1]
mov dword [edx + 0x3c], ecx
mov edx, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
call fcn.004aeb20
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4b0539
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x24
call fcn.00457f50
add esp, 0xc
jmp 0x4b056c
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x10]
mov eax, dword [esi + 0x6c]
mov edx, edi
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.004abda0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x3c]
jns 0x4b05b4
push edx
mov edx, esi
call fcn.00458810
add esp, 4
jmp 0x4b05bd
mov ecx, dword [ecx + 0x44]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b05e1
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x27
call fcn.00457f50
add esp, 0xc
jmp 0x4b0614
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x3c]
jns 0x4b0632
push edx
mov edx, esi
call fcn.00458810
add esp, 4
jmp 0x4b063b
mov ecx, dword [ecx + 0x44]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b065c
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x7a
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4b068f
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4], 0x7a
cmp dword [edi + 0x38], 0
jne 0x4b06cf
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xec]
test ecx, ecx
jne 0x4b06a7
xor eax, eax
jmp 0x4b06c5
mov edx, dword [eax + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4b06b9
mov eax, 0x515db8
jmp 0x4b06c2
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0xec], eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x28], 0
jne 0x4b08d0
test byte [edi + 4], 0x20
je 0x4b08d0
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [eax + eax*4]
add eax, 0x19
push eax
call fcn.0042f570
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x4b0795
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 6]
lea eax, [edi + eax*4]
mov dword [edi + 0x10], eax
movzx eax, cx
mov word [edi + 6], ax
inc eax
mov word [edi + 8], ax
mov al, byte [edx + 0x54]
mov byte [edi + 4], al
lea eax, [ecx*4 + 1]
add eax, ecx
mov dword [edi + 0xc], edx
push eax
lea eax, [edi + 0x18]
mov dword [edi], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esp + 0x24], 0
lea ecx, [edi + 0x14]
mov dword [esp + 0x10], ecx
jle 0x4b07fe
mov edi, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x18], 0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x4b07b6
mov ecx, dword [esp + 0xc]
push esi
call fcn.004aee30
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x4b07d4
jmp 0x4b07b8
mov ecx, dword [esp + 0x2c]
call fcn.0042f840
mov edi, eax
mov dword [esp + 0x14], eax
test edi, edi
jne 0x4b0757
mov ecx, 7
mov dword [esp + 0x20], ecx
jmp 0x4b08d4
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp esi, dword [edx]
jge 0x4b07d4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + eax + 8]
call fcn.00471190
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x4b07e3
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0x18], 0x14
inc esi
add ecx, 4
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x24]
jl 0x4b0777
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
nop dword [eax]
nop word [eax + eax]
add eax, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
nop
mov edx, dword [eax]
test edx, edx
js 0x4b08ae
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4b0839
mov eax, 0x515db8
jmp 0x4b0842
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b0863
push edi
mov edx, 0xfffffff8
call fcn.00458ba0
add esp, 4
jmp 0x4b088b
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b0884
push 0xfffffffffffffff8
push edi
mov edx, eax
mov ecx, esi
call fcn.00458cf0
add esp, 8
jmp 0x4b088b
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 2
jl 0x4b0820
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4b0810
add dword [edi], 0xffffffff
jne 0x4b08d0
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.0042f190
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
test edi, edi
je 0x4b0922
mov eax, dword [0x513290]
test eax, eax
je 0x4b0938
push 0x12c
call eax
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esi]
test eax, eax
je 0x4b093e
call fcn.0042f840
mov ecx, dword [esi]
mov edx, edi
push 1
call fcn.004aa1f0
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
push 0
push 0xc
test ecx, ecx
je 0x4b094d
call fcn.0042f570
jmp 0x4b0952
call fcn.0042ee10
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b0910
mov eax, dword [esi + 0x90]
mov dword [ecx], eax
mov dword [esi + 0x90], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x4aa5e0
jmp 0x4b091e