Function at 0x100f4630
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x10310644]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
movups xmm0, xmmword [edx]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x38], edx
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], eax
test edx, edx
jne 0x100f4f31
cmp dword [eax + 0x3c], edx
jne 0x100f4f31
mov esi, dword [ecx + 8]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x100f46c4
cmp dword [ecx + 0x74], esi
jne 0x100f46b9
mov eax, dword [esp + 0x30]
test byte [eax + 0x4c], 8
jne 0x100f46b9
mov byte [ecx + 0x17], 1
call fcn.100b6f90
mov esi, eax
mov dword [esp + 0x28], eax
mov dl, byte [esp + 0x40]
cmp dl, 0xc
jne 0x100f46ea
mov eax, dword [edi]
mov edx, 0x70
mov ecx, esi
push dword [eax]
push dword [esp + 0x48]
call fcn.100b7340
mov dl, 0xe
add esp, 8
mov byte [esp + 0x40], dl
mov eax, dword [edi + 8]
test eax, 0x400
je 0x100f4788
mov eax, dword [edi + 0x3c]
xor edx, edx
test eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x34]
mov ecx, 1
sete dl
mov dword [esp + 0x20], ecx
test eax, eax
je 0x100f4725
mov edi, eax
add ecx, edx
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x100f4716
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x14]
cmp ecx, 1
mov edx, 0x102e90fc
mov eax, 0x102e3b6c
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push esi
call fcn.100b7650
add esp, 0x14
nop dword [eax + eax]
push 1
push 1
lea eax, [esp + 0x48]
mov edx, edi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.100f1da0
add esp, 0x18
cmp dword [esp + 0x1c], 0
jne 0x100f4781
mov eax, dword [esp + 0x20]
mov word [edi + 6], ax
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x100f4750
xor esi, esi
jmp 0x100f4ef1
test eax, 0x2000
je 0x100f47a9
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
mov edx, edi
mov ecx, esi
call fcn.100f4080
add esp, 4
jmp 0x100f4d9d
cmp dword [edi + 0x30], 0
je 0x100f47d6
mov ecx, dword [esp + 0x38]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.100f5360
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x34], 0
jne 0x100f480e
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x1c]
call fcn.100b7650
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x1c]
call fcn.100b7650
mov dl, byte [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
movzx eax, byte [edi + 4]
sub eax, 0x82
je 0x100f4b5b
sub eax, 1
je 0x100f4a39
sub eax, 1
je 0x100f4b5b
mov ecx, dword [esp + 0x14]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x70
mov dword [esp + 0x28], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, esi
call fcn.100b7340
mov dword [edi + 0x18], eax
add esp, 8
mov eax, dword [edi + 0x38]
mov ecx, edi
test eax, eax
je 0x100f486c
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100f4863
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x70], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.100f8940
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x100f4eed
push eax
push dword [esp + 0x24]
lea edx, [eax + 0x70]
mov ecx, esi
call fcn.100b7340
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x3c]
movzx ecx, byte [edi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
mov dword [esp + 0x78], eax
call fcn.100f2b70
mov esi, dword [esp + 0x1c]
push eax
push str._s_USING_TEMP_B_TREE
push 1
push esi
call fcn.100b7650
lea eax, [esp + 0x84]
mov edx, edi
push eax
mov ecx, esi
call fcn.100f8940
mov dword [esp + 0x40], eax
add esp, 0x1c
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x100f4939
mov word [edi + 6], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x100f4949
mov ecx, dword [esp + 0x30]
call fcn.100ccdc0
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [edi + 0x3c], eax
mov edx, edi
mov esi, dword [ecx + 0x38]
dec esi
push esi
mov dword [esp + 0x1c], esi
lea eax, [esi - 1]
mov dword [ecx + 0x38], eax
call fcn.100f3da0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, 0x24
push esi
push dword [esp + 0x20]
call fcn.100b7340
mov ecx, dword [esp + 0x1c]
call fcn.100d3d50
mov ecx, dword [esp + 0x30]
mov esi, eax
push esi
push dword [esp + 0x28]
mov edx, 0x7f
call fcn.100b7340
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x28]
mov edx, 0x1c
push 0
push esi
dec eax
push eax
push dword [esp + 0x3c]
call fcn.100b7720
mov ecx, dword [esp + 0x34]
mov edx, esi
call fcn.100d3d70
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
push eax
lea esi, [eax - 1]
push esi
lea eax, [esp + 0x68]
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.100f1da0
mov edx, esi
mov esi, dword [esp + 0x60]
mov ecx, esi
call fcn.100b7870
push edi
mov edi, dword [esp + 0x58]
mov edx, 5
push edi
mov ecx, esi
call fcn.100b7340
mov edx, dword [esp + 0x58]
add esp, 0x40
mov ecx, esi
call fcn.100b7870
lea eax, [edi + 1]
mov edx, 0x75
push 0
push eax
mov ecx, esi
call fcn.100b7340
push 0
push edi
mov edx, 0x75
mov ecx, esi
call fcn.100b7340
add esp, 0x10
jmp 0x100f4d55
xor eax, eax
mov edx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x14]
push eax
call fcn.100f8940
mov ecx, eax
mov dword [edi + 0x3c], 0
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x100f4eed
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x100f4ac0
push ecx
mov edx, 0x14
mov ecx, esi
call fcn.100b72e0
mov ecx, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x100f4ac0
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [edi + 0xc]
mov ecx, esi
call fcn.100b7210
add esp, 0xc
push str.UNION_ALL
push 1
push dword [esp + 0x1c]
call fcn.100b7650
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.100f8940
mov cx, word [edi + 6]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dx, word [eax + 6]
call fcn.1009a600
mov edx, dword [esp + 0x18]
mov word [edi + 6], ax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x100f4b41
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.100ce490
test eax, eax
je 0x100f4b41
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100f4b41
cdq
push edx
push eax
call fcn.1009a670
add esp, 8
cmp word [edi + 6], ax
jle 0x100f4b41
mov word [edi + 6], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100f4d59
mov edx, eax
mov ecx, esi
call fcn.100b7bb0
jmp 0x100f4d59
cmp dl, 1
jne 0x100f4b6a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jmp 0x100f4bb1
mov ecx, dword [esp + 0x14]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x70
mov dword [ecx + 0x28], eax
mov ecx, esi
call fcn.100b7340
mov dword [edi + 0x18], eax
add esp, 8
mov eax, dword [edi + 0x38]
mov ecx, edi
test eax, eax
je 0x100f4ba9
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100f4ba0
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x88], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.100f8940
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x100f4eed
cmp byte [edi + 4], 0x84
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x3c], eax
sete al
mov dword [edi + 0x3c], ecx
inc al
movzx ecx, byte [edi + 4]
mov byte [esp + 0x84], al
call fcn.100f2b70
push eax
push str._s_USING_TEMP_B_TREE
push 1
push esi
call fcn.100b7650
lea eax, [esp + 0x94]
mov edx, edi
push eax
mov ecx, esi
call fcn.100f8940
mov edx, dword [edi + 0x30]
add esp, 0x14
mov dword [esp + 0x24], eax
test edx, edx
je 0x100f4c65
mov ecx, dword [esp + 0x30]
call fcn.100ce060
cmp byte [edi + 4], 0x82
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x100f4c91
mov dx, word [eax + 6]
mov cx, word [edi + 6]
call fcn.1009a600
mov word [edi + 6], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x100f4ca1
mov ecx, dword [esp + 0x30]
call fcn.100ccdc0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
je 0x100f4d5d
mov esi, dword [esi + 0x38]
mov eax, dword [esp + 0x14]
dec esi
mov edx, dword [esp + 0x2c]
mov ecx, eax
push esi
mov dword [esp + 0x24], esi
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.100f3da0
add esp, 4
mov edx, 0x24
push esi
push dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.100b7340
push dword [esp + 0x28]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esi + 0x6c]
push edi
push eax
push 0
push 0
push dword [esp + 0x38]
call fcn.100f1da0
mov edx, edi
mov edi, dword [esp + 0x48]
mov ecx, edi
call fcn.100b7870
push esi
mov esi, dword [esp + 0x40]
mov edx, 5
push esi
mov ecx, edi
call fcn.100b7340
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.100b7870
push 0
push esi
mov edx, 0x75
mov ecx, edi
call fcn.100b7340
add esp, 0x30
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
cmp dword [edi + 0x38], 0
jne 0x100f4d9d
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x100f4d71
xor eax, eax
jmp 0x100f4d97
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x100f4d7c
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x100f4d8b
mov eax, 0x1031e818
jmp 0x100f4d94
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
test byte [edi + 8], 0x20
je 0x100f4eed
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
push 1
mov edx, dword [eax]
mov dword [esp + 0x20], edx
call fcn.100f29e0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100f4dcd
lea esi, [eax + 7]
jmp 0x100f4ef1
mov edx, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], eax
test edx, edx
jle 0x100f4e20
push eax
mov edx, edi
mov ecx, esi
call fcn.100f3ef0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x100f4e02
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add ecx, 4
mov edx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
cmp eax, edx
jl 0x100f4de2
nop word [eax + eax]
mov esi, dword [esp + 0x28]
lea eax, [edi + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov eax, dword [eax]
test eax, eax
js 0x100f4ed1
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x100f4e5f
mov eax, 0x1031e818
jmp 0x100f4e64
mov eax, dword [esi + 0x68]
add eax, ecx
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x100f4e87
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.100b7d60
mov edx, dword [esp + 0x20]
add esp, 4
jmp 0x100f4eae
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x100f4ea7
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.100b7ef0
mov edx, dword [esp + 0x24]
add esp, 8
jmp 0x100f4eae
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x18], eax
cmp ecx, 2
jl 0x100f4e40
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x100f4e20
mov ecx, dword [esp + 0x14]
call fcn.100f2aa0
mov esi, dword [esp + 0x24]
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 0x100f4f1b
mov ecx, dword [esp + 0x30]
mov edx, eax
push 1
call fcn.100f0f20
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x83
je 0x100f4f5b
sub eax, 1
je 0x100f4f54
sub eax, 1
je 0x100f4f4d
mov eax, str.UNION
jmp 0x100f4f60
mov eax, str.INTERSECT
jmp 0x100f4f60
mov eax, str.EXCEPT
jmp 0x100f4f60
mov eax, str.UNION_ALL
push eax
test edx, edx
mov eax, str.ORDER_BY
mov esi, str.LIMIT
cmove eax, esi
push eax
push str._s_clause_should_come_after__s_not_before
push ecx
call fcn.10099290
add esp, 0x10
mov esi, 1
jmp 0x100f4ef1