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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, ecx
push ebx
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, dword [esi + 0x44]
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
lea eax, [edi - 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebx
test edi, eax
jne 0x10087ce3
mov edx, dword [esi + 0x48]
mov ecx, dword [esi]
lea eax, [edi*8 + 4]
push 0
push eax
call fcn.100ec600
add esp, 8
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10087cf1
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [ebx + 0xc]
or ecx, 0xffffffff
mov eax, ecx
sub eax, edi
mov edi, dword [esi + 0x44]
mov dword [esp + 0x2c], eax
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x10087d2c
mov edx, dword [esi + 0x48]
mov ecx, dword [esi]
lea eax, [edi*8 + 4]
push 0
push eax
call fcn.100ec600
add esp, 8
mov dword [esi + 0x48], eax
or ecx, 0xffffffff
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10087d3a
mov dword [eax + edi*4], 0xffffffff
sub ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
movzx eax, byte [edi + 4]
mov esi, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov edx, dword [esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edx
cmp eax, 0x74
je 0x10087e60
mov eax, dword [esp + 0x44]
mov edi, 1
cmp byte [eax + 0x49], 0
jne 0x10087e5c
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
lea ebx, [ebx]
mov eax, dword [eax]
cmp edi, dword [eax]
jg 0x10087e5c
xor ecx, ecx
test edx, edx
jle 0x10087dbe
lea edx, [esi + 0x18]
mov esi, dword [esp + 0x38]
movzx eax, word [edx]
cmp eax, edi
je 0x10087db6
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x10087da7
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jne 0x10087e49
mov ecx, dword [esp + 0x44]
push 0
push 0x31
call fcn.100ec7e0
mov esi, eax
add esp, 8
test esi, esi
je 0x10087ebe
push 0x30
push 0
push esi
call fcn.10003750
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
add esp, 0xc
mov byte [esi], 0x86
mov word [esi + 0x22], ax
mov byte [esi + 0x30], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.100b2950
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [eax + 0x2c], esi
test esi, esi
je 0x10087e4d
mov ecx, dword [esp + 0x50]
inc edx
mov word [ecx + esi + 0x18], di
add ecx, 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ecx
jmp 0x10087e4d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
inc edi
cmp byte [ecx + 0x49], 0
je 0x10087d90
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.100ec7e0
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x10087eca
mov edi, dword [esp + 0x38]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x10087ea5
lea edx, [esi + 0x18]
mov ebx, eax
movzx eax, word [edx]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
lea edx, [edx + 0x18]
cmp ecx, edi
jle 0x10087e92
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.1008a5a0
add esp, 4
mov dword [esp + 0x3c], eax
jmp 0x10087ed2
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
mov dword [edi + 0x2c], esi
mov ecx, dword [eax]
push 0
mov edx, esi
call fcn.100b2ed0
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
add esp, 4
mov dword [ecx + 0x2c], eax
cmp esi, 0x74
jne 0x10087f04
mov dword [esp + 0x40], 0
jmp 0x10088009
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x34], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x40], edx
cmp dword [eax + 0x30], ecx
jg 0x10087f44
push 0
push edx
push 0
mov edx, 0x43
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10087f7a
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], 0
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 + 0x44]
push 1
mov edx, esi
call fcn.1008c080
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10088005
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x10088005
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x10], ecx
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x10087fc5
mov ecx, dword [esp + 0x18]
push esi
call fcn.1008a6b0
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x10087fde
jmp 0x10087fc7
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x10087fde
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x18]
call fcn.100b48d0
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
inc esi
mov eax, dword [eax + 0x10]
add ecx, 4
mov byte [esi + eax - 1], 0
add edi, 0x18
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x34]
jl 0x10087fa7
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x30], 0
mov dword [eax + 0x34], 0
push str.ORDER
push dword [edi + 0x2c]
mov edx, edi
call fcn.100b5480
mov eax, dword [esp + 0x50]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x10088051
mov ecx, dword [esp + 0x18]
push str.ORDER
push dword [eax + 0x2c]
mov edx, eax
call fcn.100b5480
add esp, 8
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.1008a6f0
add esp, 4
cmp dword [edi + 0xc], 0
je 0x10088144
cmp esi, 0x74
jne 0x10088144
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [edi + 0x10]
mov dword [esp + 0x10], eax
test edx, edx
je 0x10088092
inc edx
jmp 0x10088095
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x100880b8
push 0
push esi
push edx
mov edx, 0x4b
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x100880ea
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088110
push 0
push dword [esp + 0x14]
mov edx, 0x4b
push esi
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x1008814e
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1008814e
mov dword [esp + 0x10], 0
xor esi, esi
mov edx, dword [edi + 0x38]
test edx, edx
je 0x1008815e
mov ecx, dword [esp + 0x44]
call fcn.100b3630
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x38], 0
test edx, edx
je 0x10088175
mov ecx, dword [esp + 0x44]
call fcn.100b3630
mov eax, dword [esp + 0x18]
mov dword [edi + 0x3c], 0
inc dword [eax + 0x2c]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x84], edx
lea ecx, [edx + 1]
mov dword [esp + 0x20], ecx
add ecx, 2
mov dword [eax + 0x2c], ecx
lea eax, [edx + 1]
mov byte [esp + 0x80], 0xd
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x68], 0xd
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
lea edx, [ecx + 1]
cmp dword [eax + 0x30], ecx
jg 0x10088220
push edx
push 0
push dword [esp + 0x30]
mov edx, 0xf
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x10088253
mov eax, dword [ebx + 0x58]
mov edi, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x88], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov dword [edx + 0xc], esi
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.10082b70
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
add esp, 4
cmp dword [eax + 0x30], ecx
jg 0x100882a1
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x40
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x100882d7
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x40
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 [ebx + 0xc]
mov ecx, dword [esp + 0x24]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x88]
test ecx, ecx
jns 0x100882f9
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x10088308
mov eax, 0x1012875c
jmp 0x10088311
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x58], ecx
lea esi, [ecx + 1]
cmp dword [eax + 0x30], ecx
jg 0x10088345
push esi
push 0
push dword [esp + 0x28]
mov edx, 0xf
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x10088374
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x88], esi
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0xc]
mov esi, dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], 0
mov edx, dword [ecx + 0x1a0]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x68]
push edx
mov edx, eax
call fcn.10082b70
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0xc], edi
mov edi, eax
mov dword [edi + 0x10], esi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x100883dc
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x40
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088412
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x40
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 [ebx + 0xc]
push dword [esp + 0x2c]
mov esi, dword [ebp + 8]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x48]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov edx, edi
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x2c]
inc eax
push eax
lea eax, [esp + 0x90]
push esi
push eax
call fcn.10089040
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
add esp, 0x18
cmp eax, 0x74
je 0x10088461
cmp eax, 0x73
jne 0x10088489
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x20]
lea eax, [esp + 0x70]
push dword [esp + 0x48]
mov edx, edi
push dword [esp + 0x40]
push esi
push eax
call fcn.10089040
add esp, 0x18
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1008852e
dec dword [esi]
jne 0x1008852e
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100884d6
cmp dword [ecx + 0x1d8], 0
je 0x100884b6
mov edx, esi
call fcn.100ecc10
jmp 0x1008852e
cmp esi, dword [ecx + 0x130]
jb 0x100884d6
cmp esi, dword [ecx + 0x134]
jae 0x100884d6
mov eax, dword [ecx + 0x12c]
mov dword [esi], eax
mov dword [ecx + 0x12c], esi
jmp 0x1008852e
cmp dword [0x101272c0], 0
je 0x10088524
mov eax, dword [0x10128368]
test eax, eax
je 0x100884f2
push eax
call dword [0x1012731c]
add esp, 4
push esi
call dword [0x101272f8]
sub dword [0x10128398], eax
dec dword [0x101283bc]
add esp, 4
push esi
call dword [0x101272f0]
mov eax, dword [0x10128368]
add esp, 4
test eax, eax
je 0x1008852e
push eax
call dword [0x10127324]
jmp 0x1008852b
push esi
call dword [0x101272f0]
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, 0x75
je 0x10088728
cmp eax, 0x76
je 0x10088728
mov esi, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], esi
cmp dword [eax + 0x30], esi
jg 0x10088577
push 0
push dword [esp + 0x58]
mov edx, 0xe
push dword [esp + 0x3c]
mov ecx, ebx
call fcn.100c9070
mov esi, eax
add esp, 0xc
mov dword [esp + 0x1c], esi
jmp 0x100885ad
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x40], edx
cmp dword [eax + 0x30], edx
jg 0x100885de
push 0
push dword [esp + 0x30]
mov edx, 0x10
push dword [esp + 0x28]
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x10088614
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088638
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x1008866a
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
movzx edx, word [edi + 6]
movzx ecx, word [eax + 6]
cmp dx, cx
jl 0x100886d3
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x1008869b
mov esi, dword [esp + 0x1c]
mov eax, edx
mov word [edi + 6], ax
mov eax, dword [esp + 0x30]
jmp 0x10088732
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x100886b6
mov esi, dword [esp + 0x1c]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x30]
jmp 0x10088732
sub ecx, esi
mov esi, dword [esp + 0x1c]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x30]
jmp 0x10088732
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x100886f0
mov esi, dword [esp + 0x1c]
mov eax, ecx
mov word [edi + 6], ax
mov eax, dword [esp + 0x30]
jmp 0x10088732
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x1008870b
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x30]
jmp 0x10088732
sub edx, esi
mov esi, dword [esp + 0x1c]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x30]
jmp 0x10088732
mov ecx, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp + 0x40], ecx
cmp eax, 0x76
jne 0x10088756
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], esi
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x10088879
mov word [edi + 6], ax
jmp 0x10088879
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
cmp dword [eax + 0x30], edx
jg 0x10088789
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x14]
inc eax
push eax
mov edx, 0xe
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x100887c0
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x100887e9
push 0
push dword [esp + 0x30]
mov edx, 0x10
push dword [esp + 0x30]
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x1008881f
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov edx, dword [esp + 0x24]
cmp dword [eax + 0x30], ecx
jg 0x10088847
push 0
push edx
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088879
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x30], edx
jg 0x100888ac
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x14]
inc eax
push eax
mov edx, 0xe
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x100888e7
mov edi, dword [esp + 0x14]
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1008890d
push 0
push esi
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x1008893f
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088966
push 0
push dword [esp + 0x50]
mov edx, 0xd
push 0
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x1008899c
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x74
jne 0x100889b2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jmp 0x10088a86
cmp eax, 0x76
jne 0x100889c9
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x1c], eax
jmp 0x10088a86
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x30], edx
jg 0x100889f7
push 0
push esi
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x10088a29
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088a50
push 0
push dword [esp + 0x50]
mov edx, 0xd
push 0
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088a86
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x60], ecx
cmp eax, 0x74
je 0x10088a9e
cmp eax, 0x73
jne 0x10088af7
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x10088ac1
push 0
push dword [esp + 0x58]
mov edx, 0xe
push dword [esp + 0x3c]
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088af7
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
mov esi, dword [esp + 0x24]
cmp dword [eax + 0x30], ecx
jg 0x10088b21
push 0
push esi
push dword [esp + 0x28]
mov edx, 0x10
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088b53
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088b7a
push 0
push dword [esp + 0x50]
mov edx, 0xd
push 0
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088bb0
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
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 + 0x58]
mov edx, dword [ebx + 0x88]
test ecx, ecx
jns 0x10088bc1
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x10088bd0
mov eax, 0x1012875c
jmp 0x10088bd9
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088c06
mov edx, dword [esp + 0x40]
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088c3c
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088c62
push 0
push esi
push dword [esp + 0x28]
mov edx, 0x10
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088c94
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x10088cb3
mov eax, dword [esp + 0x4c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x10088cda
push 0
push 0
push 0
mov edx, 0x53
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov edx, eax
jmp 0x10088d10
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x10088d2b
push dword [esp + 0x50]
mov edx, 0xfffffff1
call fcn.100c8350
add esp, 4
jmp 0x10088d69
test edx, edx
jns 0x10088d36
mov edx, dword [ebx + 0x88]
dec edx
mov eax, dword [ebx + 0x58]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10088d5a
push 0xfffffffffffffff1
push dword [esp + 0x54]
mov edx, eax
mov ecx, ebx
call fcn.100c8130
add esp, 8
jmp 0x10088d69
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x10088d69
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
cmp dword [eax + 0x30], edx
jg 0x10088d9f
push dword [esp + 0x38]
mov edx, 0x5e
push esi
push ecx
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
mov edx, eax
jmp 0x10088dd5
mov edi, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x10088df1
mov edx, dword [esp + 0x3c]
push edx
mov edx, 0xfffffff7
call fcn.100c8350
add esp, 4
jmp 0x10088e2c
test edx, edx
jns 0x10088dfc
mov edx, dword [ebx + 0x88]
dec edx
mov eax, dword [ebx + 0x58]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x3c]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10088e21
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, ebx
call fcn.100c8130
add esp, 8
jmp 0x10088e2c
test edx, edx
je 0x10088e2c
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x10088e46
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x10088e73
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x24]
mov edx, 0x12
mov ecx, ebx
call fcn.100c9070
add esp, 0xc
jmp 0x10088ea9
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x10088ec8
mov eax, dword [esp + 0x2c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov edx, dword [edi + 0x30]
test edx, edx
je 0x10088edd
mov ecx, dword [esp + 0x44]
push 1
call fcn.1008dce0
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [edi + 0x30], eax
mov dword [eax + 0x34], edi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x18f], 2
jne 0x1008901e
mov esi, dword [eax + 8]
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x10088f1f
dec eax
je 0x10088f18
dec eax
je 0x10088f11
mov eax, str.UNION
jmp 0x10088f24
mov eax, str.INTERSECT
jmp 0x10088f24
mov eax, str.EXCEPT
jmp 0x10088f24
mov eax, str.UNION_ALL
mov ebx, dword [esp + 0x18]
push eax
push 0x100fb600
push dword [esp + 0x6c]
push dword [esp + 0x68]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [ebx]
call fcn.100eaab0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov ebx, dword [ebx + 0x19c]
add esp, 0x18
mov edi, eax
mov dword [esp + 0x5c], edi
cmp dword [ecx + 0x30], edx
jg 0x10088f77
push 0
push 0
push ebx
mov edx, 0xa7
mov ecx, esi
call fcn.100c9070
add esp, 0xc
mov edx, eax
jmp 0x10088fad
mov edi, dword [esp + 0x5c]
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4], 0xa7
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x10088fd6
push edi
mov edx, 0xfffffff9
call fcn.100c8350
mov ecx, dword [esp + 0x1c]
xor eax, eax
add esp, 4
cmp dword [ecx + 0x24], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x10088fe1
mov edx, dword [esi + 0x88]
dec edx
mov eax, dword [esi + 0x58]
lea edx, [edx + edx*4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x10089013
push 0xfffffffffffffff9
push edi
mov edx, eax
mov ecx, esi
call fcn.100c8130
mov ecx, dword [esp + 0x20]
xor eax, eax
add esp, 8
cmp dword [ecx + 0x24], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x1008901e
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf9
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [ecx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret