Function at 0x4cba70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
mov ebx, eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push edi
mov edi, dword [esi + 0x34]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x4cc1ed
cmp dword [edi + 0x3c], eax
jne 0x4cc1e9
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4cbaef
cmp dword [ebx + 0x74], eax
jne 0x4cbaea
test byte [ecx + 0x44], 8
jne 0x4cbaea
mov byte [ebx + 0x17], 1
call fcn.00493d60
cmp byte [esp + 0x38], 0xc
mov dword [esp + 0x14], eax
jne 0x4cbb1a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push 0
push edx
push eax
push 0x71
push ecx
call fcn.00493fe0
add esp, 0x14
mov byte [esp + 0x38], 0xe
mov eax, dword [esi + 8]
test eax, 0x400
je 0x4cbb3e
lea edx, [esp + 0x38]
push edx
mov eax, esi
mov ecx, ebx
call fcn.004cb9f0
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x4cc23f
test eax, 0x2000
je 0x4cbb5a
lea eax, [esp + 0x38]
push eax
push esi
mov eax, ebx
call fcn.004cb5c0
add esp, 8
jmp 0x4cc0a5
cmp dword [esi + 0x30], 0
je 0x4cbb75
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push ebx
call fcn.004cc640
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x34], 0
jne 0x4cbb96
push str.COMPOUND_QUERY
push 1
call fcn.00494270
push str.LEFT_MOST_SUBQUERY
push 1
call fcn.00494270
add esp, 0x10
movzx eax, byte [esi + 4]
sub eax, 0x7b
je 0x4cbeba
sub eax, 1
je 0x4cbda0
sub eax, 1
je 0x4cbeba
mov eax, dword [ebx + 0x28]
push 0
push 0
push eax
lea edx, [eax + 2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push 0x71
push eax
mov dword [ebx + 0x28], edx
call fcn.00493fe0
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x38]
add esp, 0x14
mov eax, esi
test ecx, ecx
je 0x4cbbeb
mov eax, ecx
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x4cbbe2
or dword [eax + 8], 0x20
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
xor eax, eax
push edi
push ebx
mov byte [esp + 0x5c], 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.004cffe0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4cc23f
push eax
push eax
mov eax, dword [esp + 0x18]
inc eax
push eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
push 0x71
push eax
call fcn.00493fe0
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
movzx eax, byte [esi + 4]
add esp, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], edx
call fcn.004ca260
push eax
push str._s_USING_TEMP_B_TREE
push 1
call fcn.00494270
add esp, 0xc
lea eax, [esp + 0x50]
push eax
push esi
push ebx
call fcn.004cffe0
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov dword [esi + 0x34], edi
movzx eax, word [edi + 6]
add esp, 0xc
cmp word [esi + 6], ax
mov dword [esp + 0x24], ecx
jle 0x4cbc9e
mov word [esi + 6], ax
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x3c]
push edx
call fcn.004a80d0
mov eax, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x18]
add esp, 4
call fcn.004944a0
mov edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], edi
call fcn.004944a0
push edi
push esi
mov esi, ebx
mov dword [esp + 0x28], eax
call fcn.004cb320
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push 0
push edi
push ecx
push 0x24
push esi
call fcn.00493fe0
add esp, 0x1c
mov eax, ebx
call fcn.004adc60
mov edx, dword [esp + 0x10]
push 0
mov edi, eax
push edi
push edx
push 0x80
push esi
mov dword [esp + 0x44], edi
call fcn.00493fe0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0x34], eax
push 0
push 0x1c
mov eax, edi
call fcn.00494440
mov edx, edi
mov eax, ebx
call fcn.004adc80
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
push 0
push edi
push eax
mov ecx, ebx
call fcn.004c9610
mov edx, dword [esp + 0x44]
add esp, 0x24
mov ecx, esi
call fcn.004944f0
mov ecx, dword [esp + 0x34]
push 0
push ecx
push edi
push 5
push esi
call fcn.00493fe0
mov edx, dword [esp + 0x40]
add esp, 0x14
mov ecx, esi
call fcn.004944f0
push 0
push 0
lea eax, [edi + 1]
push eax
push 0x75
push esi
call fcn.00493fe0
add esp, 0x14
push 0
push 0
push edi
jmp 0x4cc08a
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x38]
push edx
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x3c]
push edi
push ebx
mov dword [esp + 0x38], 0
mov dword [edi + 0x3c], ecx
call fcn.004cffe0
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esi + 0x3c], 0
test eax, eax
jne 0x4cc23f
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
test eax, eax
je 0x4cbe27
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
push 0x14
push edx
call fcn.00493fe0
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x10]
add esp, 0x14
test eax, eax
je 0x4cbe27
mov ecx, dword [esp + 0x14]
push eax
inc eax
push eax
mov eax, dword [esi + 0xc]
push eax
push 0x99
push ecx
call fcn.00493fe0
add esp, 0x14
push str.UNION_ALL
push 1
call fcn.00494270
lea edx, [esp + 0x40]
push edx
push esi
push ebx
call fcn.004cffe0
mov cx, word [esi + 6]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x38], eax
mov dword [esi + 0x34], edi
mov ax, word [edi + 6]
add esp, 0x14
call fcn.00479310
mov word [esi + 6], ax
mov edi, dword [edi + 0x3c]
mov word [esp + 0x10], ax
test edi, edi
je 0x4cbea0
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.004a91f0
add esp, 8
test eax, eax
je 0x4cbea0
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4cbea0
cdq
push edx
push eax
call fcn.00479360
add esp, 8
cmp word [esp + 0x10], ax
jle 0x4cbea0
mov word [esi + 6], ax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4cc098
mov edx, dword [esp + 0x14]
call fcn.00494810
jmp 0x4cc098
cmp byte [esp + 0x38], 1
jne 0x4cbecb
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
jmp 0x4cbf05
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
lea ecx, [eax + 1]
push 0x71
push edx
mov dword [esp + 0x24], eax
mov dword [ebx + 0x28], ecx
call fcn.00493fe0
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x38]
add esp, 0x14
mov eax, esi
test ecx, ecx
je 0x4cbf01
mov eax, ecx
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x4cbef8
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x70], eax
xor eax, eax
push edi
push ebx
mov byte [esp + 0x74], 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call fcn.004cffe0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4cc23f
mov cl, byte [esi + 4]
mov edx, dword [esi + 0x3c]
cmp cl, 0x7d
sete al
inc al
mov byte [esp + 0x68], al
movzx eax, cl
mov dword [esi + 0x34], 0
mov dword [esp + 0x34], edx
mov dword [esi + 0x3c], 0
call fcn.004ca260
push eax
push str._s_USING_TEMP_B_TREE
push 1
call fcn.00494270
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push esi
push ebx
call fcn.004cffe0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x30]
push ecx
call fcn.004a8e70
mov edx, dword [esi + 0x34]
add esp, 4
cmp byte [esi + 4], 0x7b
mov dword [esp + 0x24], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], 0
jne 0x4cbfc8
mov ax, word [edi + 6]
mov cx, word [esi + 6]
call fcn.00479310
mov word [esi + 6], ax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x3c]
call fcn.004a80d0
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 4
cmp byte [esp + 0x38], 1
mov dword [esi + 0x3c], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
je 0x4cc098
mov eax, dword [esp + 0x14]
call fcn.004944a0
mov edi, eax
mov eax, dword [esp + 0x14]
call fcn.004944a0
push edi
push esi
mov esi, ebx
mov dword [esp + 0x34], eax
call fcn.004cb320
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push 0
push edi
push edx
push 0x24
push esi
call fcn.00493fe0
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x88]
add esp, 0x1c
push edi
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x40]
push edx
push 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
push 0
push eax
push ecx
mov ecx, ebx
call fcn.004c9610
mov edx, dword [esp + 0x48]
add esp, 0x1c
mov ecx, esi
call fcn.004944f0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push 5
push esi
call fcn.00493fe0
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.004944f0
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push 0x75
push esi
call fcn.00493fe0
mov esi, dword [ebp + 8]
add esp, 0x14
cmp dword [esi + 0x38], 0
jne 0x4cc0a5
mov edx, ebx
call fcn.00494330
test byte [esi + 8], 0x20
je 0x4cc23f
mov edx, dword [esi]
mov eax, dword [edx]
mov edi, dword [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x30], eax
call fcn.004ca110
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cc0d9
mov dword [esp + 0x18], 7
jmp 0x4cc23f
cmp dword [esp + 0x28], 0
lea eax, [edi + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
jle 0x4cc126
nop
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
call fcn.004cb470
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov dword [edx], eax
test eax, eax
jne 0x4cc112
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
add dword [esp + 0x20], 4
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
jl 0x4cc0f0
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
mov edi, edi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], 0
add ebx, 0x18
mov eax, dword [ebx]
test eax, eax
jl 0x4cc1c5
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x4cc158
mov ecx, 0x539e70
jmp 0x4cc161
mov ecx, dword [esi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x4cc180
mov eax, edi
mov edx, 0xfffffff7
call fcn.004949a0
jmp 0x4cc1aa
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x4cc1a3
push edi
push eax
mov eax, 0xfffffff7
mov ecx, esi
call fcn.00494b00
add esp, 8
jmp 0x4cc1aa
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x10]
inc eax
mov dword [ebx], 0xffffffff
add ebx, 4
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x4cc13f
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x34]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4cc130
add dword [edi], 0xffffffff
jne 0x4cc23f
mov ecx, dword [edi + 0xc]
mov eax, edi
call fcn.00475160
jmp 0x4cc23f
test eax, eax
je 0x4cc1f4
mov ecx, str.ORDER_BY
jmp 0x4cc1f9
mov ecx, str.LIMIT
movzx eax, byte [esi + 4]
sub eax, 0x7c
je 0x4cc221
sub eax, 1
je 0x4cc21a
sub eax, 1
je 0x4cc213
mov eax, str.UNION
jmp 0x4cc226
mov eax, str.INTERSECT
jmp 0x4cc226
mov eax, str.EXCEPT
jmp 0x4cc226
mov eax, str.UNION_ALL
push eax
push ecx
push str._s_clause_should_come_after__s_not_before
mov esi, ebx
call fcn.00478120
add esp, 0xc
mov dword [esp + 0x18], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4cc268
push 1
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004c8710
add esp, 0xc
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret