Function at 0x100f4090
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov ebx, eax
mov ecx, dword [ebx + 0x30]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [esp + 0x3c], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x40], esi
mov esi, dword [eax + 8]
xor edx, edx
mov dword [esp + 0x44], esi
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x2c], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
je 0x100f4134
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x100f4112
sub eax, 1
je 0x100f410b
sub eax, 1
je 0x100f4104
mov eax, str.UNION
jmp 0x100f4117
mov eax, str.INTERSECT
jmp 0x100f4117
mov eax, str.EXCEPT
jmp 0x100f4117
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
mov esi, edi
call fcn.100a6920
add esp, 8
mov dword [esp + 0x14], 1
jmp 0x100f4946
cmp dword [ecx + 0x38], edx
je 0x100f4180
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x100f4173
sub eax, 1
je 0x100f4166
sub eax, 1
je 0x100f4159
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x100f411d
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x100f411d
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x100f411d
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x100f411d
mov esi, dword [edi + 8]
cmp esi, edx
je 0x100f418d
mov dword [esp + 0x20], esi
jmp 0x100f419a
call fcn.100f38e0
mov dword [esp + 0x20], eax
mov esi, eax
xor edx, edx
mov cl, byte [esp + 0x3c]
cmp cl, 0xc
jne 0x100f41c2
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [esp + 0x40]
push 0
push edx
push eax
push 0x69
push esi
call fcn.100c1540
mov cl, 0xe
add esp, 0x14
mov byte [esp + 0x3c], cl
xor edx, edx
mov eax, dword [ebx + 8]
test eax, 0x400
je 0x100f41e5
lea ecx, [esp + 0x3c]
push ecx
push edi
mov eax, ebx
call fcn.100f4030
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x100f4946
test eax, 0x2000
je 0x100f4202
lea edx, [esp + 0x3c]
push edx
push edi
call fcn.100f3c10
mov edi, dword [ebp + 8]
add esp, 8
jmp 0x100f47ca
cmp dword [ebx + 0x2c], edx
je 0x100f421c
mov eax, dword [ebp + 0xc]
push eax
push ebx
push edi
call fcn.100f4df0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 4]
sub eax, 0x73
je 0x100f45b2
sub eax, 1
je 0x100f447f
sub eax, 1
je 0x100f45b2
mov eax, dword [edi + 0x48]
push 0
push 0
push eax
lea ecx, [eax + 2]
push 0x69
push esi
mov dword [esp + 0x24], eax
mov dword [edi + 0x48], ecx
call fcn.100c1540
mov dword [ebx + 0x14], eax
mov ecx, dword [ebx + 0x34]
add esp, 0x14
test ecx, ecx
mov eax, ebx
je 0x100f426d
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x100f4264
or dword [eax + 8], 0x20
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x1d8]
push edx
push edi
mov byte [esp + 0x5c], 1
mov byte [esp + 0x5d], 0
mov dword [esp + 0x34], eax
call fcn.100f8150
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x100f4946
push eax
push eax
mov eax, dword [esp + 0x18]
add eax, 1
push eax
push 0x69
push esi
call fcn.100c1540
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x50]
add eax, 1
push ecx
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x1d8]
push ebx
push edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
call fcn.100f8150
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x30], eax
movzx eax, word [eax + 6]
add esp, 0xc
cmp word [ebx + 6], ax
mov dword [esp + 0x2c], edx
jle 0x100f432b
mov word [ebx + 6], ax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x38]
call fcn.100d4070
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
add esp, 4
cmp byte [esp + 0x3c], 9
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], edx
jne 0x100f4379
mov ecx, dword [ebx + 0x30]
test ecx, ecx
mov eax, ebx
je 0x100f4369
lea esp, [esp]
mov eax, ecx
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x100f4360
mov ecx, dword [eax]
mov edx, dword [eax + 0x1c]
push ecx
push edx
push edi
call fcn.100f2fb0
add esp, 0xc
mov eax, esi
call fcn.100c18c0
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.100c18c0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push eax
push ebx
mov eax, edi
call fcn.100f3950
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push 0
push ecx
push edx
push 0x37
push esi
call fcn.100c1540
add esp, 0x1c
mov eax, edi
call fcn.100d8660
push 0
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push eax
push 0x77
push esi
call fcn.100c1540
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
push 0
push 0x1e
add edx, 1
call fcn.100c1810
mov esi, dword [esp + 0x38]
mov edx, edi
call fcn.100d8680
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [ebx]
push esi
lea edx, [esp + 0x4c]
push edx
push 0
push 0
push eax
push ecx
push ebx
push edi
call fcn.100f1ba0
add esp, 0x2c
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.100c1930
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add esp, 4
push 0
push edx
push eax
push 7
push esi
call fcn.100c1540
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ecx
mov ecx, esi
call fcn.100c1930
mov eax, dword [esp + 0x14]
add esp, 4
push 0
push 0
add eax, 1
push eax
push 0x6d
push esi
call fcn.100c1540
mov edx, dword [esp + 0x24]
add esp, 0x14
push 0
push 0
push edx
push 0x6d
push esi
call fcn.100c1540
jmp 0x100f47c7
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 0x38]
mov dword [eax + 0x38], ecx
mov edx, dword [ebx + 0x3c]
mov dword [eax + 0x3c], edx
mov ecx, dword [edi + 0x1d8]
lea edx, [esp + 0x3c]
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], ecx
call fcn.100f8150
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
jne 0x100f4946
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x30], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [eax + 0x10]
mov eax, ecx
test eax, eax
mov dword [ebx + 0x10], edx
je 0x100f451b
push 0
push 0
push eax
push 0x16
push esi
call fcn.100c1540
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x10]
add esp, 0x14
test eax, eax
je 0x100f451b
push eax
add eax, 1
push eax
mov eax, dword [ebx + 0xc]
push eax
push 0x90
push esi
call fcn.100c1540
add esp, 0x14
mov ecx, dword [edi + 0x1d8]
lea edx, [esp + 0x3c]
push edx
push ebx
push edi
mov dword [esp + 0x30], ecx
call fcn.100f8150
mov cx, word [ebx + 6]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x30], eax
mov ax, word [eax + 6]
add esp, 0xc
call fcn.100a7b10
mov ecx, dword [esp + 0x18]
mov word [esp + 0x10], ax
mov word [ebx + 6], ax
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x100f4597
lea edx, [esp + 0x38]
push edx
push eax
call fcn.100d4f40
add esp, 8
test eax, eax
je 0x100f4597
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x100f4597
cdq
push edx
push eax
call fcn.100a7b60
add esp, 8
cmp word [esp + 0x10], ax
jle 0x100f4597
mov word [ebx + 6], ax
cmp dword [esp + 0x20], 0
je 0x100f47ca
mov ecx, dword [esp + 0x20]
mov eax, esi
call fcn.100c1c00
jmp 0x100f47ca
cmp cl, 1
jne 0x100f45c1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
jmp 0x100f45fd
mov eax, dword [edi + 0x48]
push 0
push 0
push eax
lea ecx, [eax + 1]
push 0x69
push esi
mov dword [esp + 0x24], eax
mov dword [edi + 0x48], ecx
call fcn.100c1540
mov dword [ebx + 0x14], eax
mov ecx, dword [ebx + 0x34]
add esp, 0x14
test ecx, ecx
mov eax, ebx
je 0x100f45f9
lea ebx, [ebx]
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x100f45f0
or dword [eax + 8], 0x20
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x1d8]
push edx
push edi
mov byte [esp + 0x70], 1
mov byte [esp + 0x71], 0
mov dword [esp + 0x34], eax
call fcn.100f8150
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x100f4946
cmp byte [ebx + 4], 0x75
mov edx, dword [ebx + 0x38]
sete al
xor ecx, ecx
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
lea ecx, [esp + 0x64]
add al, 1
push ecx
mov byte [esp + 0x68], al
mov eax, dword [edi + 0x1d8]
push ebx
push edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], eax
call fcn.100f8150
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2c]
push edx
call fcn.100d4da0
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp byte [ebx + 4], 0x73
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x2c], 0
jne 0x100f46c3
mov edx, ecx
mov ax, word [edx + 6]
mov cx, word [ebx + 6]
call fcn.100a7b10
mov word [ebx + 6], ax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x38]
call fcn.100d4070
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov al, byte [esp + 0x40]
add esp, 4
cmp al, 1
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], edx
je 0x100f47ca
cmp al, 9
jne 0x100f471b
mov ecx, dword [ebx + 0x30]
test ecx, ecx
mov eax, ebx
je 0x100f470b
mov eax, ecx
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x100f4702
mov ecx, dword [eax]
mov edx, dword [eax + 0x1c]
push ecx
push edx
push edi
call fcn.100f2fb0
add esp, 0xc
mov eax, esi
call fcn.100c18c0
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.100c18c0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
push eax
push ebx
mov eax, edi
call fcn.100f3950
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push 0
push ecx
push edx
push 0x37
push esi
call fcn.100c1540
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
add esp, 0x1c
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x44]
push eax
push 0
push 0
push ecx
push edx
push ebx
push edi
call fcn.100f1ba0
mov eax, dword [esp + 0x58]
add esp, 0x24
push eax
mov ecx, esi
call fcn.100c1930
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
add esp, 4
push 0
push ecx
push edx
push 7
push esi
call fcn.100c1540
mov eax, dword [esp + 0x34]
add esp, 0x14
push eax
mov ecx, esi
call fcn.100c1930
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
push 0
push ecx
push 0x6d
push esi
call fcn.100c1540
add esp, 0x14
mov al, byte [ebx + 4]
mov ecx, dword [esp + 0x24]
xor edx, edx
cmp al, 0x74
setne dl
movzx eax, al
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, edi
call fcn.100f2720
add esp, 0xc
test byte [ebx + 8], 0x20
je 0x100f4946
mov eax, dword [ebx]
mov eax, dword [eax]
mov edi, dword [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x2c], eax
call fcn.100f2530
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100f4822
mov dword [esp + 0x14], 7
jmp 0x100f4946
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], ecx
jle 0x100f487b
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
push edx
push ebx
push eax
call fcn.100f3a90
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
mov dword [ecx], eax
jne 0x100f4865
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x28], 4
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x100f4840
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x18], 0
add ebx, 0x14
mov edi, edi
mov eax, dword [ebx]
test eax, eax
jl 0x100f4921
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x100f48a9
mov ecx, 0x101725d8
jmp 0x100f48b2
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
add dword [edi], 1
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x100f48d6
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffa
mov edi, edx
call fcn.100c1c40
jmp 0x100f4900
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x100f48f9
push edi
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.100c1e20
add esp, 8
jmp 0x100f4900
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
add eax, 1
mov dword [ebx], 0xffffffff
add ebx, 4
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x100f4890
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x30]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x100f487f
add dword [edi], 0xffffffff
jne 0x100f4946
mov eax, dword [esp + 0x10]
push eax
call fcn.100a3e10
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100f496f
push 1
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.100f0f30
add esp, 0xc
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret