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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0x30], 0
push ebx
push esi
mov dword [esp + 0x18], eax
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
push edi
mov esi, dword [ebx + 0x18]
mov edi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1008adbd
mov edx, dword [esi + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1008adcb
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [ebx + 0x18]
not ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1008ae06
mov edx, dword [esi + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1008ae14
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [edi + 0x2c]
not ecx
mov al, byte [edi + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi]
mov byte [esp + 0x13], al
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2c], ecx
cmp al, 0x74
je 0x1008af3d
mov eax, dword [esp + 0x14]
mov edi, 1
cmp byte [eax + 0x45], 0
jne 0x1008af39
lea eax, [ecx + ecx*2]
shl eax, 3
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp edi, dword [eax]
jg 0x1008af39
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [esi + 4]
test eax, eax
jle 0x1008ae97
add edx, 0x14
mov esi, eax
movzx eax, word [edx]
cmp eax, edi
je 0x1008ae8f
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x1008ae80
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jne 0x1008af26
mov ecx, dword [esp + 0x14]
push 0
push 0x31
mov dword [esp + 0x6c], 0
call fcn.10033be0
mov esi, eax
add esp, 8
test esi, esi
je 0x1008af9e
push 0x30
push 0
push esi
call fcn.100b7060
mov edx, dword [esp + 0x58]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
mov byte [esi], 0x84
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.100674b0
mov ecx, dword [esp + 0x30]
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
je 0x1008af2a
mov edx, dword [esp + 0x48]
inc ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], ecx
mov word [eax + edx + 0x14], di
add edx, 0x18
mov dword [esp + 0x48], edx
jmp 0x1008af2a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
inc edi
cmp byte [eax + 0x45], 0
je 0x1008ae60
mov edi, dword [esp + 0x18]
lea eax, [ecx*4 + 4]
mov ecx, dword [esp + 0x14]
push 0
push eax
call fcn.10033be0
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x1008afaa
mov edi, dword [esp + 0x2c]
mov ecx, 1
mov dword [eax], edi
mov edx, dword [esi + 4]
cmp edi, ecx
jl 0x1008af85
add edx, 0x14
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x1008af72
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x20]
call fcn.10089670
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x1008afb2
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x58], 0
mov dword [edi + 0x2c], esi
mov edx, esi
mov esi, dword [esp + 0x1c]
push 0
mov ecx, dword [esi]
call fcn.10066cb0
mov ecx, dword [esp + 0x38]
add esp, 4
cmp byte [esp + 0x13], 0x74
mov dword [ecx + 0x2c], eax
jne 0x1008afe2
mov dword [esp + 0x4c], 0
jmp 0x1008b153
mov eax, dword [edi]
mov edi, dword [eax]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x5c], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x4c], edx
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b01b
push 0
push edx
push 0
mov edx, 0x16
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b04e
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
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
lea esi, [edi + 1]
lea esi, [esi + esi*4]
lea eax, [esi + 0x18]
push 0
push eax
call fcn.10033440
mov ecx, eax
add esp, 8
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x1008b0aa
mov edx, dword [esp + 0x14]
lea eax, [ecx + 0x18]
lea eax, [eax + edi*4]
mov word [ecx + 6], di
mov dword [ecx + 0x10], eax
mov eax, 1
mov word [ecx + 8], ax
mov al, byte [edx + 0x42]
push esi
mov byte [ecx + 4], al
lea eax, [ecx + 0x18]
push 0
push eax
mov dword [ecx + 0xc], edx
mov dword [ecx], 1
call fcn.100b7060
mov ecx, dword [esp + 0x50]
add esp, 0xc
jmp 0x1008b0d7
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x1008b0d7
cmp byte [eax + 0x46], 0
jne 0x1008b0d7
cmp dword [eax + 0xa4], 0
mov byte [eax + 0x45], 1
jle 0x1008b0d1
mov dword [eax + 0xf8], 1
inc dword [eax + 0x100]
test ecx, ecx
je 0x1008b14b
xor esi, esi
test edi, edi
jle 0x1008b14b
mov ebx, dword [esp + 0x18]
xor edi, edi
add ecx, 0x14
mov dword [esp + 0x48], ecx
nop
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x1008b10e
mov ecx, dword [esp + 0x1c]
push esi
call fcn.10089620
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x1008b129
jmp 0x1008b110
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x1008b129
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + edi]
call fcn.10065c50
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x44]
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x5c]
jl 0x1008b0f0
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov edx, edi
mov dword [edi + 0x30], 0
mov ecx, esi
push str.ORDER
mov dword [eax + 0x34], 0
push dword [edi + 0x2c]
call fcn.10065200
mov eax, dword [esp + 0x3c]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x1008b197
push str.ORDER
push dword [eax + 0x2c]
mov edx, eax
mov ecx, esi
call fcn.10065200
add esp, 8
push dword [esp + 0x28]
mov edx, edi
mov ecx, esi
call fcn.10089500
add esp, 4
cmp dword [edi + 0xc], 0
je 0x1008b27f
cmp byte [esp + 0x13], 0x74
jne 0x1008b27f
mov edi, dword [esi + 0x4c]
mov eax, dword [esp + 0x1c]
inc edi
lea esi, [edi + 1]
mov dword [eax + 0x4c], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], esi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x1008b1dc
inc edx
jmp 0x1008b1df
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b1ff
push 0
push edi
push edx
mov edx, 0x1e
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b22e
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b24e
push 0
push esi
push edi
mov edx, 0x1e
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b289
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1008b289
mov dword [esp + 0x48], 0
xor edi, edi
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x38]
test esi, esi
je 0x1008b301
test dword [esi + 4], 0x4000
jne 0x1008b2ed
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.10066910
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.10066910
mov eax, dword [esi + 4]
test eax, 0x10000
je 0x1008b2ce
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
call fcn.100338e0
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
test eax, 0x800
je 0x1008b2e8
push 1
call fcn.10086480
add esp, 4
jmp 0x1008b2ed
call fcn.10067700
test dword [esi + 4], 0x8000
jne 0x1008b301
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.100338e0
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x38], 0
test esi, esi
je 0x1008b380
test dword [esi + 4], 0x4000
jne 0x1008b36c
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.10066910
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.10066910
mov eax, dword [esi + 4]
test eax, 0x10000
je 0x1008b34d
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
call fcn.100338e0
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
test eax, 0x800
je 0x1008b367
push 1
call fcn.10086480
add esp, 4
jmp 0x1008b36c
call fcn.10067700
test dword [esi + 4], 0x8000
jne 0x1008b380
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.100338e0
mov eax, dword [esp + 0x18]
mov word [esp + 0x7c], 0xd
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [eax + 0x3c], 0
mov eax, dword [esp + 0x1c]
mov word [esp + 0x68], 0xd
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [eax + 0x4c]
inc edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x24], edx
lea esi, [edx + 1]
lea ecx, [esi + 2]
mov dword [esp + 0x6c], esi
mov dword [eax + 0x4c], ecx
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x38], ecx
lea edx, [esi + 1]
cmp dword [eax + 0x58], esi
jg 0x1008b40f
push edx
push 0
push dword [esp + 0x2c]
mov edx, 0x10
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
mov esi, eax
jmp 0x1008b443
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x20], edx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [edx + 0xc], edi
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.1008e160
mov eax, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b48b
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x11
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b4c2
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x3c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 0x20]
cmp byte [eax + 0x45], 0
je 0x1008b4ef
mov eax, 0x100fe494
jmp 0x1008b500
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x50], ecx
lea esi, [ecx + 1]
cmp dword [eax + 0x58], ecx
jg 0x1008b531
push esi
push 0
push dword [esp + 0x28]
mov edx, 0x10
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x1008b561
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x20], esi
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov ecx, dword [esp + 0x48]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], 0
mov edx, dword [ecx + 0x1d8]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x68]
push edx
mov edx, eax
call fcn.1008e160
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax + 0xc], edi
mov edi, eax
mov dword [edi + 0x10], esi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b5c6
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x11
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b5fd
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov edx, edi
push dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0x18]
push esi
push dword [esp + 0x54]
mov dword [eax + 0x3c], 0
mov eax, dword [esp + 0x2c]
inc eax
push eax
push dword [ebp + 8]
lea eax, [esp + 0x90]
push eax
call fcn.1008a890
mov dword [esp + 0x60], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x74
je 0x1008b64a
cmp al, 0x73
jne 0x1008b671
push dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push esi
push dword [esp + 0x54]
mov edx, edi
push dword [esp + 0x44]
push dword [ebp + 8]
push eax
call fcn.1008a890
add esp, 0x18
mov dword [esp + 0x3c], eax
test esi, esi
je 0x1008b683
add dword [esi], 0xffffffff
jne 0x1008b683
push esi
call fcn.10033830
add esp, 4
mov al, byte [esp + 0x13]
cmp al, 0x75
je 0x1008b86f
cmp al, 0x76
je 0x1008b86f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x44], esi
cmp dword [eax + 0x58], esi
jg 0x1008b6c7
push 0
push dword [esp + 0x40]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x40]
call fcn.10051a30
mov esi, eax
add esp, 0xc
mov dword [esp + 0x44], esi
jmp 0x1008b6fe
mov edx, dword [esp + 0x38]
lea eax, [esi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x4c], edx
cmp dword [eax + 0x58], edx
jg 0x1008b72c
push 0
push dword [esp + 0x2c]
mov edx, 0x12
mov ecx, ebx
push dword [esp + 0x28]
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x1008b763
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b784
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b7b7
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 + 0x34]
movzx edi, word [edi + 6]
movsx ecx, di
movzx esi, word [eax + 6]
movsx edx, si
cmp di, si
jl 0x1008b820
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x1008b7e8
mov esi, dword [esp + 0x44]
mov eax, edi
mov edi, dword [esp + 0x18]
mov word [edi + 6], ax
jmp 0x1008b879
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x1008b803
mov esi, dword [esp + 0x44]
lea eax, [edi + 1]
mov edi, dword [esp + 0x18]
movzx eax, ax
mov word [edi + 6], ax
jmp 0x1008b879
mov esi, dword [esp + 0x44]
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
mov edi, dword [esp + 0x18]
movzx eax, ax
mov word [edi + 6], ax
jmp 0x1008b879
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x1008b837
mov edi, dword [esp + 0x18]
mov eax, esi
mov esi, dword [esp + 0x44]
mov word [edi + 6], ax
jmp 0x1008b879
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x1008b852
mov edi, dword [esp + 0x18]
lea eax, [esi + 1]
mov esi, dword [esp + 0x44]
movzx eax, ax
mov word [edi + 6], ax
jmp 0x1008b879
mov edi, dword [esp + 0x18]
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
mov esi, dword [esp + 0x44]
movzx eax, ax
mov word [edi + 6], ax
jmp 0x1008b879
mov eax, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x4c], eax
cmp byte [esp + 0x13], 0x76
jne 0x1008b89f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], esi
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x1008b9be
mov word [edi + 6], ax
jmp 0x1008b9be
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x40], edi
cmp dword [eax + 0x58], edi
jg 0x1008b8d1
mov eax, dword [esp + 0x20]
mov edx, 0xe
push 0
push dword [esp + 0x4c]
inc eax
mov ecx, ebx
push eax
call fcn.10051a30
mov edi, eax
add esp, 0xc
mov dword [esp + 0x40], edi
jmp 0x1008b90d
mov edx, dword [esp + 0x20]
lea eax, [edi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 4]
inc edx
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b933
push 0
push dword [esp + 0x2c]
mov edx, 0x12
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.10051a30
add esp, 0xc
jmp 0x1008b96a
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008b98b
push 0
push edi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008b9be
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x44], edi
cmp dword [eax + 0x58], edi
jg 0x1008b9f0
mov eax, dword [esp + 0x20]
mov edx, 0xe
push 0
push dword [esp + 0x4c]
inc eax
mov ecx, ebx
push eax
call fcn.10051a30
mov edi, eax
add esp, 0xc
mov dword [esp + 0x44], edi
jmp 0x1008ba2c
mov edx, dword [esp + 0x20]
lea eax, [edi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 4]
inc edx
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008ba4f
push 0
push esi
push dword [esp + 0x2c]
mov edx, 0x12
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008ba82
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008baa6
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008badd
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 al, byte [esp + 0x13]
cmp al, 0x74
jne 0x1008baee
mov dword [esp + 0x48], edi
jmp 0x1008bbbd
cmp al, 0x76
jne 0x1008bb00
mov dword [esp + 0x48], edi
inc edi
mov dword [esp + 0x44], edi
jmp 0x1008bbbd
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x48], edx
cmp dword [eax + 0x58], edx
jg 0x1008bb2b
push 0
push esi
push dword [esp + 0x2c]
mov edx, 0x12
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x1008bb5e
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008bb82
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008bbb9
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 al, byte [esp + 0x13]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x5c], ecx
cmp al, 0x74
je 0x1008bbcc
cmp al, 0x73
jne 0x1008bc26
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1008bbef
push 0
push dword [esp + 0x40]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x40]
call fcn.10051a30
add esp, 0xc
jmp 0x1008bc26
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008bc4e
push 0
push esi
push edi
mov edx, 0x12
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008bc7d
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
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 + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008bca1
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008bcd8
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 0x20]
cmp byte [eax + 0x45], 0
je 0x1008bcf4
mov eax, 0x100fe494
jmp 0x1008bd09
mov ecx, dword [esp + 0x50]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008bd33
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x12
call fcn.10051a30
add esp, 0xc
jmp 0x1008bd6a
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 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 [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008bd8a
push 0
push esi
push edi
mov edx, 0x12
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
jmp 0x1008bdb9
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1008bdd5
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x1008be00
push 0
push 0
push 0
mov edx, 0x29
mov ecx, ebx
call fcn.10051a30
add esp, 0xc
mov edx, eax
jmp 0x1008be37
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
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
push 0xfffffffffffffff1
push dword [esp + 0x58]
mov ecx, ebx
call fcn.10052770
mov eax, dword [ebx + 0x18]
add esp, 8
mov esi, dword [ebx + 0x20]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x84]
cmp dword [eax + 0x58], esi
jg 0x1008be76
push dword [esp + 0x2c]
mov ecx, ebx
push edx
push edi
mov edx, 0x2a
call fcn.10051a30
add esp, 0xc
mov esi, eax
jmp 0x1008bea5
lea eax, [esi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x5c]
mov edx, esi
mov ecx, ebx
call fcn.10052770
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x45], 0
jne 0x1008becd
mov eax, dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + ecx*4 - 0x11], 1
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008bef8
mov edx, dword [esp + 0x5c]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, 0x2b
call fcn.10051a30
add esp, 0xc
jmp 0x1008bf2f
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1008bf4b
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov eax, dword [ebx + 0x20]
mov esi, dword [esp + 0x34]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x1008bf85
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x1008bf70
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x1008bf67
push dword [edx]
mov edi, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call fcn.10088c20
add esp, 4
jmp 0x1008bf89
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x1008bfa2
mov ecx, dword [esp + 0x14]
push 1
call fcn.10086480
add esp, 4
mov dword [ebx + 0x30], esi
mov dword [esi + 0x34], ebx
cmp byte [edi + 0x1c5], 2
jne 0x1008c017
movzx eax, byte [ebx + 4]
mov esi, dword [edi + 8]
sub eax, 0x74
je 0x1008bfdc
sub eax, 1
je 0x1008bfd5
sub eax, 1
je 0x1008bfce
mov eax, str.UNION
jmp 0x1008bfe1
mov eax, str.INTERSECT
jmp 0x1008bfe1
mov eax, str.EXCEPT
jmp 0x1008bfe1
mov eax, str.UNION_ALL
push eax
push 0x100e86f4
push dword [esp + 0x68]
push dword [esp + 0x70]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [edi]
call fcn.10035920
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [edi + 0x1d4]
mov edx, 0xa1
mov ecx, esi
call fcn.10051e60
add esp, 0x2c
xor eax, eax
cmp dword [edi + 0x44], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret