Function at 0x1009d970
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
mov dword [esp + 8], edx
push ebx
push esi
push edi
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], 0
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], ebx
mov edi, dword [esi + 0x48]
lea eax, [edi + 1]
mov dword [esi + 0x48], eax
lea eax, [edi - 1]
test edi, eax
jne 0x1009d9d3
mov edx, dword [esi + 0x4c]
lea eax, [edi*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.10044dc0
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1009d9e1
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [ebx + 0xc]
or ecx, 0xffffffff
mov eax, ecx
sub eax, edi
mov dword [esp + 0x2c], eax
mov edi, dword [esi + 0x48]
lea eax, [edi + 1]
mov dword [esi + 0x48], eax
lea eax, [edi - 1]
test edi, eax
jne 0x1009da1c
mov edx, dword [esi + 0x4c]
lea eax, [edi*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.10044dc0
add esp, 8
mov dword [esi + 0x4c], eax
or ecx, 0xffffffff
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1009da2a
mov dword [eax + edi*4], 0xffffffff
sub ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov esi, dword [edi + 0x2c]
movzx eax, byte [edi + 4]
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x44], eax
mov edx, dword [esi]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
cmp eax, 0x74
je 0x1009db43
mov eax, dword [esp + 0x40]
mov edi, 1
cmp byte [eax + 0x45], 0
jne 0x1009db3f
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp edi, dword [eax]
jg 0x1009db3f
mov eax, dword [esi + 4]
xor ecx, ecx
test edx, edx
jle 0x1009daab
mov esi, dword [esp + 0x3c]
lea edx, [eax + 0x14]
movzx eax, word [edx]
cmp eax, edi
je 0x1009daa3
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x1009da94
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jne 0x1009db30
mov ecx, dword [esp + 0x40]
push 0
push 0x31
call fcn.10044c10
mov esi, eax
add esp, 8
test esi, esi
je 0x1009dba4
push 0x30
push 0
push esi
call sub.MSVCR120.dll_memset
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
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.100786f0
mov edx, dword [esp + 0x40]
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
test esi, esi
je 0x1009db30
mov ecx, dword [esp + 0x20]
inc edx
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], edx
mov word [eax + ecx + 0x14], di
add ecx, 0x18
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x40]
inc edi
cmp byte [eax + 0x45], 0
je 0x1009da76
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.10044c10
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x1009dbb0
mov edi, dword [esp + 0x3c]
mov ecx, 1
mov dword [eax], edi
mov edx, dword [esi + 4]
cmp edi, ecx
jl 0x1009db8b
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 0x1009db78
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.1009c330
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x1009dbb8
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x10]
mov edx, esi
mov dword [edi + 0x2c], esi
push 0
mov ecx, dword [eax]
call fcn.10077fc0
mov ecx, dword [esp + 0x38]
add esp, 4
cmp dword [esp + 0x44], 0x74
mov dword [ecx + 0x2c], eax
jne 0x1009dbe6
xor esi, esi
mov dword [esp + 0x20], esi
jmp 0x1009dce2
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x5c], edi
lea esi, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x20], esi
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1009dc26
push 0
push esi
push 0
mov edx, 0x4d
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009dc58
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x4d
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 ecx, dword [esp + 0x40]
mov edx, edi
push 1
call fcn.1009ace0
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x1009dcde
xor esi, esi
test edi, edi
jle 0x1009dcde
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x1009dca1
mov ecx, dword [esp + 0x10]
push esi
call fcn.1009c2e0
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x1009dcbc
jmp 0x1009dca3
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x1009dcbc
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + edi]
call fcn.10076930
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x28]
add ecx, 4
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x5c]
jl 0x1009dc83
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, edi
mov esi, dword [esp + 0x10]
mov ecx, esi
mov dword [edi + 0x30], 0
push str.ORDER
mov dword [eax + 0x34], 0
push dword [edi + 0x2c]
call fcn.10075e10
mov eax, dword [esp + 0x3c]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x1009dd2a
push str.ORDER
push dword [eax + 0x2c]
mov edx, eax
mov ecx, esi
call fcn.10075e10
add esp, 8
push dword [esp + 0x2c]
mov edx, edi
mov ecx, esi
call fcn.1009c1b0
add esp, 4
cmp dword [edi + 0xc], 0
je 0x1009de1e
cmp dword [esp + 0x44], 0x74
jne 0x1009de1e
mov esi, dword [esi + 0x2c]
mov eax, dword [esp + 0x10]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x1009dd6f
inc edx
jmp 0x1009dd72
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1009dd95
push 0
push esi
push edx
mov edx, 0x55
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009ddc3
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x55
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 0x1009ddea
push 0
push edi
push esi
mov edx, 0x55
mov ecx, ebx
call fcn.10063540
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x1009de28
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009de28
mov dword [esp + 0x30], 0
xor esi, esi
mov edx, dword [edi + 0x38]
test edx, edx
je 0x1009de38
mov ecx, dword [esp + 0x40]
call fcn.100779f0
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x38], 0
test edx, edx
je 0x1009de4f
mov ecx, dword [esp + 0x40]
call fcn.100779f0
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x80], 0xd
mov dword [esp + 0x84], 0
inc dword [eax + 0x2c]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea edi, [edx + 1]
mov byte [esp + 0x68], 0xd
lea ecx, [edi + 2]
mov dword [esp + 0x70], edi
mov dword [eax + 0x2c], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [ebx + 0x88]
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], ecx
lea edx, [edi + 1]
cmp dword [eax + 0x30], edi
jg 0x1009def1
push edx
push 0
push dword [esp + 0x2c]
mov edx, 0xf
mov ecx, ebx
call fcn.10063540
add esp, 0xc
mov edi, eax
jmp 0x1009df24
mov eax, dword [ebx + 0x58]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x88], edx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
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 + 0x34]
mov eax, dword [esp + 0x10]
mov dword [edx + 0xc], esi
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.100a14b0
mov eax, dword [ebx + 0xc]
add esp, 4
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1009df72
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x4a
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009dfa8
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x4a
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 byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x88]
test edi, edi
jns 0x1009dfc6
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x1009dfd5
mov eax, 0x101576e4
jmp 0x1009dfde
mov eax, dword [ebx + 0x58]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x5c], ecx
lea esi, [ecx + 1]
cmp dword [eax + 0x30], ecx
jg 0x1009e012
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xf
mov ecx, ebx
call fcn.10063540
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x1009e041
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x1c]
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 ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [eax + 0x1a4]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x68]
push edx
mov edx, ecx
mov ecx, eax
call fcn.100a14b0
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 0x1009e0ab
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x4a
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009e0e1
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x4a
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 edx, edi
push dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push esi
push dword [esp + 0x28]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
push dword [ebp + 8]
lea eax, [esp + 0x94]
push eax
call fcn.1009d640
mov dword [esp + 0x30], eax
add esp, 0x18
mov eax, dword [esp + 0x44]
cmp eax, 0x74
je 0x1009e130
cmp eax, 0x73
jne 0x1009e157
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push esi
push dword [esp + 0x28]
mov edx, edi
push dword [esp + 0x60]
push dword [ebp + 8]
push eax
call fcn.1009d640
add esp, 0x18
mov dword [esp + 0x50], eax
test esi, esi
je 0x1009e201
dec dword [esi]
jne 0x1009e201
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1009e1a9
cmp dword [ecx + 0x1c8], 0
je 0x1009e183
mov edx, esi
call fcn.10044880
jmp 0x1009e201
cmp esi, dword [ecx + 0x120]
jb 0x1009e1a9
cmp esi, dword [ecx + 0x124]
jae 0x1009e1a9
mov eax, dword [ecx + 0x11c]
mov dword [esi], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], esi
jmp 0x1009e201
cmp dword [0x10152ce8], 0
je 0x1009e1f7
mov eax, dword [0x101570b8]
test eax, eax
je 0x1009e1c5
push eax
call dword [0x10152d40]
add esp, 4
push esi
call dword [0x10152d1c]
sub dword [0x101570f0], eax
add esp, 4
dec dword [0x10157114]
push esi
call dword [0x10152d14]
mov eax, dword [0x101570b8]
add esp, 4
test eax, eax
je 0x1009e201
push eax
call dword [0x10152d48]
jmp 0x1009e1fe
push esi
call dword [0x10152d14]
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, 0x75
je 0x1009e3fe
cmp eax, 0x76
je 0x1009e3fe
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x20], esi
cmp dword [eax + 0x30], esi
jg 0x1009e24a
push 0
push dword [esp + 0x54]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x5c]
call fcn.10063540
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x1009e280
mov edx, dword [esp + 0x54]
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
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 edx, dword [ebx + 0x88]
mov dword [esp + 0x30], edx
cmp dword [eax + 0x30], edx
jg 0x1009e2b1
push 0
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x24]
call fcn.10063540
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x1009e2e7
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x1c]
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 0x1009e30b
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009e33d
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
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 + 0x34]
movzx edx, word [edi + 6]
movzx ecx, word [eax + 6]
cmp dx, cx
jl 0x1009e3a9
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x1009e36e
mov esi, dword [esp + 0x20]
mov eax, edx
mov word [edi + 6], ax
mov eax, dword [esp + 0x44]
jmp 0x1009e408
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x1009e38c
mov esi, dword [esp + 0x20]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x44]
jmp 0x1009e408
sub ecx, esi
mov esi, dword [esp + 0x20]
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 + 0x44]
jmp 0x1009e408
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x1009e3c6
mov esi, dword [esp + 0x20]
mov eax, ecx
mov word [edi + 6], ax
mov eax, dword [esp + 0x44]
jmp 0x1009e408
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x1009e3e1
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x44]
jmp 0x1009e408
sub edx, esi
mov esi, dword [esp + 0x20]
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 + 0x44]
jmp 0x1009e408
mov ecx, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp + 0x30], ecx
cmp eax, 0x76
jne 0x1009e45b
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x1009e41f
mov word [edi + 6], ax
mov edi, esi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x28], edx
cmp dword [eax + 0x30], edx
jg 0x1009e580
mov eax, dword [esp + 0x1c]
mov edx, 0xe
push 0
push dword [esp + 0x1c]
inc eax
mov ecx, ebx
push eax
call fcn.10063540
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x1009e5bb
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x88]
cmp dword [eax + 0x30], edi
jg 0x1009e488
mov eax, dword [esp + 0x1c]
mov edx, 0xe
push 0
push dword [esp + 0x1c]
inc eax
mov ecx, ebx
push eax
call fcn.10063540
add esp, 0xc
mov edi, eax
jmp 0x1009e4c3
mov edx, dword [esp + 0x1c]
lea eax, [edi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x58]
inc edx
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 0x1009e4ec
push 0
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.10063540
add esp, 0xc
jmp 0x1009e522
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
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 0x1009e549
push 0
push edi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009e421
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0xd
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
jmp 0x1009e421
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 0x1009e5e1
push 0
push esi
push dword [esp + 0x2c]
mov edx, 0x10
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009e613
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
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 0x1009e63a
push 0
push dword [esp + 0x4c]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.10063540
add esp, 0xc
jmp 0x1009e670
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
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 + 0x44]
cmp eax, 0x74
jne 0x1009e686
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jmp 0x1009e75a
cmp eax, 0x76
jne 0x1009e69d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x28], eax
jmp 0x1009e75a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x18], edx
cmp dword [eax + 0x30], edx
jg 0x1009e6cb
push 0
push esi
push dword [esp + 0x2c]
mov edx, 0x10
mov ecx, ebx
call fcn.10063540
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x1009e6fd
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x24]
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 0x1009e724
push 0
push dword [esp + 0x4c]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.10063540
add esp, 0xc
jmp 0x1009e75a
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
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 + 0x44]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x20], ecx
cmp eax, 0x74
je 0x1009e772
cmp eax, 0x73
jne 0x1009e7cb
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x1009e795
push 0
push dword [esp + 0x54]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x5c]
call fcn.10063540
add esp, 0xc
jmp 0x1009e7cb
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
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 + 0x1c]
cmp dword [eax + 0x30], ecx
jg 0x1009e7f2
push 0
push edi
push esi
mov edx, 0x10
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009e820
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], esi
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 + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1009e847
push 0
push dword [esp + 0x4c]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.10063540
add esp, 0xc
jmp 0x1009e87d
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
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 + 0x5c]
mov edx, dword [ebx + 0x88]
test ecx, ecx
jns 0x1009e88e
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x1009e89d
mov eax, 0x101576e4
jmp 0x1009e8a6
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 0x1009e8d3
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x10
call fcn.10063540
add esp, 0xc
jmp 0x1009e909
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 0x1009e92c
push 0
push edi
push esi
mov edx, 0x10
mov ecx, ebx
call fcn.10063540
add esp, 0xc
jmp 0x1009e95a
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], esi
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 + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x1009e979
mov eax, dword [esp + 0x48]
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 0x1009e9a0
push 0
push 0
push 0
mov edx, 0x5f
mov ecx, ebx
call fcn.10063540
add esp, 0xc
mov edx, eax
jmp 0x1009e9d6
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x5f
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 + 0x45], 0
je 0x1009e9f1
push dword [esp + 0x58]
mov edx, 0xfffffff4
call fcn.10064090
add esp, 4
jmp 0x1009ea2f
test edx, edx
jns 0x1009e9fc
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 0x1009ea20
push 0xfffffffffffffff4
push dword [esp + 0x5c]
mov edx, eax
mov ecx, ebx
call fcn.10064250
add esp, 8
jmp 0x1009ea2f
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1009ea2f
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf4
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x8c]
cmp dword [eax + 0x30], edx
jg 0x1009ea61
push dword [esp + 0x3c]
mov edx, 0x60
mov ecx, ebx
push esi
push edi
call fcn.10063540
add esp, 0xc
mov edx, eax
jmp 0x1009ea93
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x1009eaaf
mov edx, dword [esp + 0x38]
push edx
mov edx, 0xfffffffb
call fcn.10064090
add esp, 4
jmp 0x1009eaea
test edx, edx
jns 0x1009eaba
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]
mov edx, dword [esp + 0x38]
je 0x1009eadf
push 0xfffffffffffffffb
push edx
mov edx, eax
mov ecx, ebx
call fcn.10064250
add esp, 8
jmp 0x1009eaea
test edx, edx
je 0x1009eaea
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfb
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x1009eb04
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1009eb31
mov edx, dword [esp + 0x20]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x1c]
push edx
push dword [esp + 0x30]
mov edx, 0x12
call fcn.10063540
add esp, 0xc
jmp 0x1009eb67
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
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 + 0x4c]
test ecx, ecx
je 0x1009eb86
mov eax, dword [esp + 0x2c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x34]
cmp byte [eax], 9
jne 0x1009ebba
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x1009eba9
jmp 0x1009eba0
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x1009eba0
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.1009b890
add esp, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x1009ebd3
mov ecx, dword [esp + 0x40]
push 1
call fcn.10099100
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x30], esi
mov dword [esi + 0x34], ebx
cmp byte [eax + 0x193], 2
jne 0x1009ed10
mov esi, dword [eax + 8]
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x1009ec11
dec eax
je 0x1009ec0a
dec eax
je 0x1009ec03
mov eax, str.UNION
jmp 0x1009ec16
mov eax, str.INTERSECT
jmp 0x1009ec16
mov eax, str.EXCEPT
jmp 0x1009ec16
mov eax, str.UNION_ALL
mov ebx, dword [esp + 0x10]
push eax
push 0x1013909c
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [ebx]
call fcn.10046890
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esi + 0x88]
mov edi, eax
mov ebx, dword [ebx + 0x1a0]
mov dword [esp + 0x60], edi
cmp dword [ecx + 0x30], edx
jg 0x1009ec69
push 0
push 0
push ebx
mov edx, 0xa3
mov ecx, esi
call fcn.10063540
add esp, 0xc
mov edx, eax
jmp 0x1009ec9f
mov edi, dword [esp + 0x60]
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xa3
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 + 0x45], 0
je 0x1009ecc8
or eax, 0xffffffff
push edi
mov edx, eax
call fcn.10064090
mov ecx, dword [esp + 0x14]
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 0x1009ecd3
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 0x1009ed05
push 0xffffffffffffffff
push edi
mov edx, eax
mov ecx, esi
call fcn.10064250
mov ecx, dword [esp + 0x18]
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 0x1009ed10
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xff
mov ecx, dword [esp + 0x10]
xor eax, eax
pop edi
pop esi
pop ebx
cmp dword [ecx + 0x24], eax
setne al
mov esp, ebp
pop ebp
ret