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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x570400]
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 + 0x34], 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 + 0x20], edx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], esi
test esi, esi
jne 0x498db6
cmp dword [ecx + 0x80], esi
jne 0x498dab
mov eax, dword [esp + 0x2c]
test byte [eax + 0x50], 8
jne 0x498dab
mov byte [ecx + 0x17], 1
call fcn.00441d60
mov esi, eax
mov dword [esp + 0x30], eax
cmp byte [esp + 0x40], 0xc
jne 0x498e1f
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x498de7
push 0
push edx
push eax
mov edx, 0x76
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x498e1a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x76
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
test dword [edi + 4], 0x400
je 0x498f0b
mov eax, edi
mov dword [esp + 0x18], 0
mov ecx, 1
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0x3c]
test edx, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
sete dl
cmp dword [eax + 0x44], 0
jne 0x498f09
nop dword [eax]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x498e7e
mov edi, eax
add ecx, edx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x44], 0
je 0x498e60
mov edi, dword [esp + 0x28]
jmp 0x498f0b
cmp ecx, 1
mov edx, 0x565cc8
mov eax, 0x5590e3
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.004425b0
mov esi, dword [esp + 0x24]
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.004954f0
add esp, 0x18
cmp dword [esp + 0x14], 0
jne 0x498edf
mov word [edi + 2], si
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x498eb0
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.0054507b
mov esp, ebp
pop ebp
ret
mov edi, eax
test dword [edi + 4], 0x2000
je 0x498f26
mov eax, edi
test dword [eax + 4], 0x2000
je 0x498f53
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x498f16
cmp dword [edi + 0x30], 0
je 0x498f71
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
push edx
mov edx, edi
call fcn.0049a7a0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.00498590
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x499bef
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x34], 0
jne 0x498fa5
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.004425b0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.004425b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
movzx eax, byte [edi]
sub eax, 0x86
je 0x4997bc
sub eax, 1
je 0x49943f
sub eax, 1
je 0x4997bc
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x70], ecx
jg 0x499001
push 0
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00441fb0
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x499038
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], 0x76
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 + 0x10]
mov dword [edi + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x49904d
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x499044
or dword [ecx + 4], 0x20
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
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.004a0310
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x499df4
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4990bc
push eax
push eax
push dword [esp + 0x24]
lea edx, [eax + 0x76]
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x4990f3
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x76
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 + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
movzx eax, byte [edi]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x87
je 0x49913c
sub eax, 1
je 0x499135
sub eax, 1
je 0x49912e
mov eax, str.UNION
jmp 0x499141
mov eax, str.INTERSECT
jmp 0x499141
mov eax, str.EXCEPT
jmp 0x499141
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.004425b0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
push eax
mov edx, edi
call fcn.004a0310
mov dword [esp + 0x38], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x499185
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x499195
mov ecx, dword [esp + 0x2c]
call fcn.0045c540
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], eax
jne 0x499baf
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x38]
dec eax
push eax
mov dword [esp + 0x18], eax
lea ecx, [eax - 1]
mov dword [edx + 0x38], ecx
mov edx, edi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
call fcn.00498030
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4991f0
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x24
call fcn.00441fb0
add esp, 0xc
jmp 0x499223
mov edx, dword [esp + 0x3c]
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 + 0x14]
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 0x499236
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x499245
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0xa4]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x70], ecx
jg 0x499275
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x86
mov ecx, esi
call fcn.00441fb0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4992a8
mov edi, dword [esp + 0x3c]
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 0x4992d0
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x28]
call fcn.00441ff0
mov edx, dword [esp + 0x28]
add esp, 0x10
jmp 0x499303
mov edi, dword [esp + 0x1c]
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 + 0x20]
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 0x49931f
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x49931f
movzx eax, al
mov dword [ecx + eax*4 + 0xa4], edx
inc byte [ecx + 0x13]
push dword [esp + 0x14]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x24]
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.004954f0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49935c
push edx
mov edx, esi
call fcn.00442800
add esp, 4
jmp 0x499365
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499389
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x27
call fcn.00441fb0
add esp, 0xc
jmp 0x4993bc
mov edx, dword [esp + 0x3c]
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], 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 + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4993da
push edx
mov edx, esi
call fcn.00442800
add esp, 4
jmp 0x4993e3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499407
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x7a
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x499b5b
mov edx, dword [esp + 0x1c]
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 0x499b5b
xor eax, eax
mov edx, ecx
mov dword [esp + 0x10], 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.004a0310
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x499df4
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 0x499559
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x70], ecx
jg 0x4994c4
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4994f7
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 0x499559
mov ecx, dword [edi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499527
push edx
push eax
push dword [esp + 0x20]
mov edx, 0xa0
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x499559
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
lea esi, [edx + 1]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
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.004425b0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.004a0310
movzx ecx, word [edi + 2]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [esp + 0x18], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x18], ax
jl 0x4995d4
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4995b7
movzx eax, word [edi + 2]
jmp 0x49960e
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4995c5
movzx eax, word [edi + 2]
inc eax
jmp 0x49960b
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x499608
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4995e5
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
jmp 0x49960e
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4995f7
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
inc eax
jmp 0x49960b
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x20]
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 0x499786
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.0045dfa0
test eax, eax
je 0x499786
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x499786
cdq
mov edi, edx
mov dword [esp + 0x1c], 0x28
mov ecx, eax
test edi, edi
ja 0x499690
jb 0x499660
cmp eax, 8
jae 0x49967a
test edi, edi
ja 0x499664
jb 0x499660
cmp eax, 2
jae 0x499664
xor eax, eax
jmp 0x4996dd
sub dword [esp + 0x1c], 0xa
shld edi, eax, 1
add eax, eax
test edi, edi
jne 0x4996c6
cmp eax, 8
jb 0x499664
jmp 0x4996c6
test edi, edi
jne 0x499690
cmp eax, 0xff
jbe 0x4996a9
nop word [eax + eax]
add dword [esp + 0x1c], 0x28
shrd eax, edi, 4
shr edi, 4
test edi, edi
ja 0x499690
jb 0x4996b2
cmp eax, 0xff
ja 0x499690
test edi, edi
jne 0x4996b2
cmp eax, 0xf
jbe 0x4996c6
add dword [esp + 0x1c], 0xa
shrd eax, edi, 1
shr edi, 1
jne 0x4996b2
jb 0x4996c6
cmp eax, 0xf
ja 0x4996b2
and eax, 7
mov ax, word [eax*2 + 0x55c244]
sub ax, 0xa
add ax, word [esp + 0x1c]
movzx eax, ax
mov edi, dword [esp + 0x28]
cmp word [edi + 2], ax
jle 0x499786
mov eax, 0x28
mov dword [esp + 0x14], eax
test edx, edx
ja 0x499730
jb 0x49970a
cmp ecx, 8
jae 0x499724
test edx, edx
ja 0x499710
jb 0x49970a
cmp ecx, 2
jae 0x499710
xor eax, eax
jmp 0x499782
shld edx, ecx, 1
sub eax, 0xa
add ecx, ecx
test edx, edx
jne 0x499767
cmp ecx, 8
jb 0x499710
jmp 0x499767
test edx, edx
jne 0x499730
cmp ecx, 0xff
jbe 0x49974c
shrd ecx, edx, 4
add eax, 0x28
shr edx, 4
test edx, edx
ja 0x499730
jb 0x499748
cmp ecx, 0xff
ja 0x499730
mov dword [esp + 0x14], eax
test edx, edx
jne 0x499755
cmp ecx, 0xf
jbe 0x49976b
shrd ecx, edx, 1
add eax, 0xa
shr edx, 1
jne 0x499755
jb 0x499767
cmp ecx, 0xf
ja 0x499755
mov dword [esp + 0x14], eax
and ecx, 7
mov ax, word [ecx*2 + 0x55c244]
sub ax, 0xa
add ax, word [esp + 0x14]
movzx eax, ax
mov word [edi + 2], ax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x499baf
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4997aa
mov eax, 0x5732c0
mov dword [eax + 8], edx
jmp 0x499baf
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x499baf
cmp byte [esp + 0x40], 1
jne 0x4997d0
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
jmp 0x49985d
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x70], ecx
jg 0x499807
push 0
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00441fb0
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x49983e
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], 0x76
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 + 0x10]
mov dword [edi + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x499859
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x499850
or dword [ecx + 4], 0x20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x80]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x20]
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.004a0310
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x499df4
cmp byte [edi], 0x88
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, 0x87
je 0x499903
sub eax, 1
je 0x4998fc
sub eax, 1
je 0x4998f5
mov eax, str.UNION
jmp 0x499908
mov eax, str.INTERSECT
jmp 0x499908
mov eax, str.EXCEPT
jmp 0x499908
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.004425b0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
push eax
mov edx, edi
call fcn.004a0310
mov dword [esp + 0x38], eax
add esp, 0x14
cmp byte [edi], 0x86
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x4999d2
movzx ecx, word [edi + 2]
movzx eax, word [eax + 2]
mov dword [esp + 0x10], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x10], ax
jl 0x499994
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x499977
movzx eax, word [edi + 2]
jmp 0x4999ce
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x499985
movzx eax, word [edi + 2]
inc eax
jmp 0x4999cb
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x4999c8
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4999a5
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
jmp 0x4999ce
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4999b7
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
inc eax
jmp 0x4999cb
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x20]
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 0x4999e2
mov ecx, dword [esp + 0x2c]
call fcn.0045c540
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 0x499baf
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x57], 0
jne 0x499baf
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x38]
dec eax
push eax
mov dword [esp + 0x18], eax
lea ecx, [eax - 1]
mov dword [edx + 0x38], ecx
mov edx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
call fcn.00498030
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x499a59
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x24
call fcn.00441fb0
add esp, 0xc
jmp 0x499a8c
mov edx, dword [esp + 0x3c]
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 + 0x14]
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 + 0x14]
mov eax, dword [esi + 0x6c]
mov edx, edi
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.004954f0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499ad4
push edx
mov edx, esi
call fcn.00442800
add esp, 4
jmp 0x499add
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499b01
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x27
call fcn.00441fb0
add esp, 0xc
jmp 0x499b34
mov edx, dword [esp + 0x3c]
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 + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499b52
push edx
mov edx, esi
call fcn.00442800
add esp, 4
jmp 0x499b5b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x499b7c
push 0
push 0
push dword [esp + 0x44]
mov edx, 0x7a
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x499baf
mov edx, dword [esp + 0x3c]
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 0x499bef
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xe8]
test ecx, ecx
jne 0x499bc7
xor eax, eax
jmp 0x499be5
mov edx, dword [eax + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x499bd9
mov eax, 0x5732c0
jmp 0x499be2
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 + 0xe8], eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x499df0
test byte [edi + 4], 0x20
je 0x499df0
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [eax + eax*4]
add eax, 0x19
push eax
call fcn.004190c0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x499cb5
mov ecx, dword [esp + 0x1c]
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 + 0x1c], 0
lea ecx, [edi + 0x14]
mov dword [esp + 0x14], ecx
jle 0x499d1e
mov edi, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x10], 0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x499cd6
mov ecx, dword [esp + 0xc]
push esi
call fcn.00498340
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x499cf4
jmp 0x499cd8
mov ecx, dword [esp + 0x2c]
call fcn.00419390
mov edi, eax
mov dword [esp + 0x18], eax
test edi, edi
jne 0x499c77
mov ecx, 7
mov dword [esp + 0x24], ecx
jmp 0x499df4
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp esi, dword [edx]
jge 0x499cf4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + eax + 8]
call fcn.0045aca0
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
test eax, eax
jne 0x499d03
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0x10], 0x14
inc esi
add ecx, 4
mov dword [esp + 0x14], ecx
cmp esi, dword [esp + 0x1c]
jl 0x499c97
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
nop dword [eax]
nop word [eax + eax]
add eax, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
nop
mov edx, dword [eax]
test edx, edx
js 0x499dce
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x499d59
mov eax, 0x5732c0
jmp 0x499d62
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x499d83
push edi
mov edx, 0xfffffff8
call fcn.00442b90
add esp, 4
jmp 0x499dab
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x499da4
push 0xfffffffffffffff8
push edi
mov edx, eax
mov ecx, esi
call fcn.00442ca0
add esp, 8
jmp 0x499dab
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x18], eax
cmp ecx, 2
jl 0x499d40
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x499d30
add dword [edi], 0xffffffff
jne 0x499df0
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.00418ce0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
test edi, edi
je 0x499e42
mov eax, dword [0x570670]
test eax, eax
je 0x499e58
push 0x12c
call eax
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esi]
test eax, eax
je 0x499e5e
call fcn.00419390
mov ecx, dword [esi]
mov edx, edi
push 1
call fcn.00493930
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, ecx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
push 0
push 0xc
test ecx, ecx
je 0x499e6d
call fcn.004190c0
jmp 0x499e72
call fcn.00418960
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x499e30
mov eax, dword [esi + 0x8c]
mov dword [ecx], eax
mov dword [esi + 0x8c], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x493d20
jmp 0x499e3e