Function at 0x10063916
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edx, ecx
mov dword [esp + 0x14], ebx
xor eax, eax
mov dword [esp + 0x18], edx
push 6
mov dword [esp + 0x14], eax
lea edi, [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x34]
mov esi, eax
cmp dword [esi + 0x30], 0
jne 0x10064006
cmp dword [esi + 0x3c], 0
jne 0x10063fff
mov edi, edx
mov ecx, edi
call fcn.10063338
mov dl, byte [esp + 0x30]
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp dl, 0xc
jne 0x10063996
mov eax, dword [ebx]
push 0
push dword [eax]
push dword [esp + 0x3c]
push 0x71
pop edx
call fcn.1003b08d
mov dl, 0xe
add esp, 0xc
mov byte [esp + 0x30], dl
test dword [ebx + 8], 0x400
je 0x100639b5
lea eax, [esp + 0x30]
mov edx, ebx
push eax
mov ecx, edi
call fcn.10063897
pop ecx
mov ebx, eax
jmp 0x10063fcf
test dword [ebx + 8], 0x2000
je 0x100639d2
lea eax, [esp + 0x30]
mov edx, ebx
push eax
mov ecx, edi
call fcn.10063581
pop ecx
jmp 0x10063ef0
cmp dword [ebx + 0x30], 0
je 0x100639ea
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.10064298
pop ecx
jmp 0x10063ff8
cmp dword [esi + 0x34], 0
jne 0x10063a14
push str.COMPOUND_QUERY
push 1
push edi
call fcn.1003b239
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push edi
call fcn.1003b239
mov dl, byte [esp + 0x3c]
add esp, 0xc
movzx eax, byte [ebx + 4]
sub eax, 0x7f
je 0x10063d26
sub eax, 1
je 0x10063c0a
sub eax, 1
je 0x10063d26
mov ecx, dword [edi + 0x28]
push 0
push 0
push ecx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
inc eax
push 0x71
pop edx
mov dword [edi + 0x28], eax
call fcn.1003b08d
mov dword [ebx + 0x18], eax
add esp, 0xc
mov ecx, dword [ebx + 0x38]
mov eax, ebx
jmp 0x10063a68
mov eax, ecx
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x10063a63
or dword [eax + 8], 0x20
mov edx, esi
mov eax, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x4c], 1
call fcn.1006671d
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10063fcb
mov ecx, dword [esp + 0xc]
push eax
push eax
push dword [esp + 0x30]
push 0x71
pop edx
call fcn.1003b08d
movzx ecx, byte [ebx + 4]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x3c]
and dword [ebx + 0x34], 0
and dword [ebx + 0x3c], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
call fcn.1006292d
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.1003b239
lea eax, [esp + 0x58]
mov edx, ebx
push eax
mov ecx, edi
call fcn.1006671d
mov dword [esp + 0x24], eax
add esp, 0x14
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x24], eax
mov dword [ebx + 0x34], esi
movzx eax, word [esi + 6]
cmp word [ebx + 6], ax
jle 0x10063b1b
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x10063b2b
mov ecx, dword [esp + 0x1c]
call fcn.10049d39
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x3c], eax
mov esi, dword [edi + 0x38]
dec esi
push esi
mov dword [esp + 0x30], esi
lea ebx, [esi - 1]
mov dword [edi + 0x38], ebx
call fcn.10063358
pop ecx
mov ecx, dword [esp + 0xc]
push 0
push esi
push dword [esp + 0x28]
push 0x24
pop edx
call fcn.1003b08d
add esp, 0xc
mov ecx, edi
call fcn.1004e35a
mov ecx, dword [esp + 0xc]
mov esi, eax
push 0
push esi
push dword [esp + 0x28]
push 0x7f
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edi, eax
push 0
push esi
push ebx
push dword [esp + 0x34]
push 0x1c
pop edx
call fcn.1003b2f2
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1004e379
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x24]
push esi
push ebx
push eax
push 0
push 0
push dword [esp + 0x44]
call fcn.10062076
mov ecx, dword [esp + 0x34]
mov edx, ebx
call fcn.1003b38b
mov ecx, dword [esp + 0x34]
push 0
push edi
mov edi, dword [esp + 0x50]
push edi
push 5
pop edx
call fcn.1003b08d
add esp, 0x34
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.1003b38b
xor ebx, ebx
lea eax, [edi + 1]
push ebx
push ebx
push eax
push 0x75
pop edx
mov ecx, esi
call fcn.1003b08d
add esp, 0xc
push ebx
push ebx
jmp 0x10063ecd
xor eax, eax
mov edx, esi
mov dword [esp + 0x28], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [esp + 0x30]
push eax
call fcn.1006671d
pop ecx
mov ecx, eax
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x3c], edx
test ecx, ecx
jne 0x10063fcb
mov dword [ebx + 0x34], edx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
test ecx, ecx
je 0x10063c8b
push edx
push edx
push ecx
mov ecx, dword [esp + 0x18]
push 0x14
pop edx
call fcn.1003b08d
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x10063c8b
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.1003b08d
add esp, 0xc
push str.UNION_ALL
push 1
push edi
call fcn.1003b239
add esp, 0xc
lea eax, [esp + 0x30]
mov edx, ebx
mov ecx, edi
push eax
call fcn.1006671d
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x34]
pop ecx
mov cx, word [ebx + 6]
mov dword [ebx + 0x34], esi
mov dx, word [esi + 6]
mov dword [esp + 0x24], eax
call fcn.100272e0
movzx eax, ax
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x10063d04
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x2c]
call fcn.1004ab76
test eax, eax
je 0x10063d04
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x10063d04
cdq
push edx
push eax
call fcn.1002733e
pop ecx
pop ecx
cmp word [esp + 0x20], ax
jle 0x10063d04
mov word [ebx + 6], ax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10063ee3
mov ecx, dword [esp + 0xc]
mov edx, eax
call fcn.1003b7e1
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
jmp 0x10063ee3
cmp dl, 1
jne 0x10063d35
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
jmp 0x10063d71
mov ecx, dword [edi + 0x28]
push 0
push 0
push ecx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
push 0x71
pop edx
mov dword [edi + 0x28], eax
call fcn.1003b08d
mov dword [ebx + 0x18], eax
add esp, 0xc
mov ecx, dword [ebx + 0x38]
mov eax, ebx
jmp 0x10063d65
mov eax, ecx
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x10063d60
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov edx, esi
xor eax, eax
mov byte [esp + 0x60], 1
mov dword [esp + 0x70], eax
mov ecx, edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
call fcn.1006671d
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10063fcb
and dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x3c]
and dword [ebx + 0x3c], ecx
cmp byte [ebx + 4], 0x81
movzx ecx, byte [ebx + 4]
mov dword [esp + 0x2c], eax
sete al
inc al
mov byte [esp + 0x60], al
call fcn.1006292d
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.1003b239
lea eax, [esp + 0x70]
mov edx, ebx
push eax
mov ecx, edi
call fcn.1006671d
mov edx, dword [ebx + 0x30]
add esp, 0x14
mov dword [esp + 0x10], eax
test edx, edx
je 0x10063dfb
mov ecx, dword [esp + 0x1c]
call fcn.1004a8e4
mov eax, dword [ebx + 0x34]
and dword [ebx + 0x30], 0
cmp byte [ebx + 4], 0x7f
mov dword [esp + 0x24], eax
mov dword [ebx + 0x34], esi
jne 0x10063e20
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.100272e0
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x10063e30
mov ecx, dword [esp + 0x1c]
call fcn.10049d39
and dword [ebx + 0xc], 0
and dword [ebx + 0x10], 0
cmp byte [esp + 0x30], 1
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x3c], eax
je 0x10063ee3
mov ebx, dword [edi + 0x38]
mov eax, dword [esp + 0x18]
dec ebx
mov edx, dword [esp + 0x14]
mov ecx, eax
push ebx
lea edi, [ebx - 1]
mov dword [eax + 0x38], edi
call fcn.10063358
mov esi, dword [esp + 0x10]
pop ecx
push 0
push ebx
push dword [esp + 0x28]
mov ecx, esi
push 0x24
pop edx
call fcn.1003b08d
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov esi, dword [esi + 0x6c]
push ebx
push edi
push eax
push 0
push 0
push dword [esp + 0x34]
call fcn.10062076
mov ecx, dword [esp + 0x24]
mov edx, edi
call fcn.1003b38b
mov edi, dword [esp + 0x38]
push 0
push esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
push edi
push 5
pop edx
call fcn.1003b08d
add esp, 0x24
mov edx, ebx
mov ecx, esi
call fcn.1003b38b
push 0
push 0
push edi
push 0x75
pop edx
mov ecx, esi
call fcn.1003b08d
mov edi, dword [esp + 0x24]
add esp, 0xc
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x38], 0
jne 0x10063ef0
mov ecx, edi
call fcn.1003b288
test byte [ebx + 8], 0x20
je 0x10063fcb
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x2c], eax
call fcn.10062812
mov esi, eax
mov dword [esp + 0x1c], esi
pop ecx
test esi, esi
jne 0x10063f22
push 7
pop ebx
jmp 0x10063fcf
lea eax, [esi + 0x14]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], eax
jle 0x10063f69
mov esi, dword [esp + 0x2c]
push eax
mov edx, ebx
mov ecx, edi
call fcn.10063479
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x10063f53
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
add esi, 4
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x28]
jl 0x10063f39
mov esi, dword [esp + 0x18]
and dword [esp + 0x20], 0
lea edi, [ebx + 0x18]
mov ebx, dword [esp + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
test eax, eax
js 0x10063fb5
mov edx, eax
mov ecx, ebx
call fcn.1003b7e1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 0xfffffffffffffff7
mov dword [eax + 8], ecx
mov ecx, ebx
inc dword [esi]
push esi
call fcn.1003b725
or dword [edi], 0xffffffff
add edi, 4
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 2
jl 0x10063f75
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x10063f69
mov ecx, esi
call fcn.1006288b
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10063ff6
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 1
call fcn.100615cf
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.LIMIT
jmp 0x1006400b
mov esi, str.ORDER_BY
movzx ecx, byte [ebx + 4]
call fcn.1006292d
push eax
push esi
push str._s_clause_should_come_after__s_not_before
push edx
call fcn.100261f3
xor ebx, ebx
add esp, 0x10
inc ebx
jmp 0x10063fcf