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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, ecx
mov dword [esp + 0x40], 0
mov ecx, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
push edi
mov edi, edx
mov dword [esp + 0x1c], 0
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1007b0f2
mov edx, dword [esi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.100203f0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1007b100
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [ebx + 0xc]
not ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x34], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1007b13b
mov edx, dword [esi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.100203f0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1007b149
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [edi + 0x2c]
not ecx
mov al, byte [edi + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x30]
mov edx, dword [esi]
mov byte [esp + 0x13], al
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], edx
cmp al, 0x74
je 0x1007b269
mov eax, dword [esp + 0x3c]
mov edi, 1
cmp byte [eax + 0x45], 0
jne 0x1007b265
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp edi, dword [eax]
jg 0x1007b265
xor ecx, ecx
test edx, edx
jle 0x1007b1c7
lea edx, [esi + 0x1c]
mov esi, dword [esp + 0x38]
nop word [eax + eax]
movzx eax, word [edx]
cmp eax, edi
je 0x1007b1bf
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x1007b1b0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jne 0x1007b252
mov ecx, dword [esp + 0x3c]
push 0
push 0x31
call fcn.10020250
mov esi, eax
add esp, 8
test esi, esi
je 0x1007b2cc
push 0x30
push 0
push esi
call fcn.102010e0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x20]
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.10055490
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x30], esi
mov dword [eax + 0x2c], esi
test esi, esi
je 0x1007b256
mov ecx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x38], edx
mov word [ecx + esi + 0x1c], di
add ecx, 0x18
mov dword [esp + 0x44], ecx
jmp 0x1007b256
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
inc edi
cmp byte [ecx + 0x45], 0
je 0x1007b193
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.10020250
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1007b2e6
mov edi, dword [esp + 0x38]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x1007b2b3
lea edx, [esi + 0x1c]
mov ebx, eax
nop dword [eax + eax]
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x1007b2a0
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x18]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10079a30
add esp, 4
mov dword [esp + 0x60], eax
jmp 0x1007b2ee
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x20]
mov edx, esi
mov dword [edi + 0x2c], esi
push 0
mov ecx, dword [eax]
call fcn.10054c90
mov ecx, dword [esp + 0x44]
add esp, 4
cmp byte [esp + 0x13], 0x74
mov dword [ecx + 0x2c], eax
jne 0x1007b31c
xor esi, esi
mov dword [esp + 0x30], esi
jmp 0x1007b41d
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x58], edi
lea esi, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x30], esi
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007b35c
push 0
push esi
push 0
mov edx, 0x38
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007b38e
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x38
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 + 0x3c]
mov edx, edi
push 1
call fcn.100783c0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1007b419
xor esi, esi
test edi, edi
jle 0x1007b419
mov ebx, dword [esp + 0x18]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x14], ecx
nop dword [eax]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x1007b3de
mov ecx, dword [esp + 0x20]
push esi
call fcn.100799f0
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x1007b3f7
jmp 0x1007b3e0
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x1007b3f7
mov edx, dword [edx + edi + 8]
mov ecx, dword [esp + 0x20]
call fcn.100535d0
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x58]
jl 0x1007b3c0
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov edx, edi
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [edi + 0x30], 0
push str.ORDER
mov dword [eax + 0x34], 0
push dword [edi + 0x2c]
call fcn.10052b60
mov eax, dword [esp + 0x48]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x1007b465
push str.ORDER
push dword [eax + 0x2c]
mov edx, eax
mov ecx, esi
call fcn.10052b60
add esp, 8
push dword [esp + 0x2c]
mov edx, edi
mov ecx, esi
call fcn.100798b0
add esp, 4
cmp dword [edi + 0xc], 0
je 0x1007b558
cmp byte [esp + 0x13], 0x74
jne 0x1007b558
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0x20]
inc esi
lea eax, [esi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [edi + 0x10]
mov dword [esp + 0x14], eax
test edx, edx
je 0x1007b4a6
inc edx
jmp 0x1007b4a9
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007b4cc
push 0
push esi
push edx
mov edx, 0x40
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007b4fe
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x40
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 0x1007b524
push 0
push dword [esp + 0x18]
mov edx, 0x40
mov ecx, ebx
push esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007b562
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x40
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 0x1007b562
mov dword [esp + 0x14], 0
xor esi, esi
mov edx, dword [edi + 0x38]
test edx, edx
je 0x1007b572
mov ecx, dword [esp + 0x3c]
call fcn.100547e0
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x38], 0
test edx, edx
je 0x1007b589
mov ecx, dword [esp + 0x3c]
call fcn.100547e0
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x84], 0xd
mov dword [esp + 0x94], 0
mov edx, dword [ecx + 0x2c]
inc edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], 0
mov byte [esp + 0x6c], 0xd
lea edi, [edx + 1]
mov dword [esp + 0x7c], 0
lea eax, [edi + 2]
mov dword [esp + 0x70], edi
mov dword [ecx + 0x2c], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], edi
mov edi, dword [ebx + 0x88]
mov dword [esp + 0x28], edx
lea edx, [edi + 1]
cmp dword [eax + 0x30], edi
jg 0x1007b629
push edx
push 0
push dword [esp + 0x30]
mov edx, 0xf
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
mov edi, eax
jmp 0x1007b65c
mov eax, dword [ebx + 0x58]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x88], edx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x54]
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 + 0x40]
mov eax, dword [esp + 0x20]
mov dword [edx + 0xc], esi
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.1007e540
mov eax, dword [ebx + 0xc]
add esp, 4
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007b6aa
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x35
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007b6e0
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], 0x35
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 eax, dword [ebx]
mov edx, dword [ebx + 0x88]
cmp byte [eax + 0x45], 0
je 0x1007b706
mov eax, 0x102c70c4
jmp 0x1007b717
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
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 0x1007b74b
push esi
push 0
push dword [esp + 0x2c]
mov edx, 0xf
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x1007b77a
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x24]
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 + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], 0
mov edx, dword [ecx + 0x1a0]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x6c]
push edx
mov edx, eax
call fcn.1007e540
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 + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007b7e2
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x35
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007b818
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], 0x35
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 + 0x34]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push esi
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x30]
inc eax
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x98]
push eax
call fcn.1007ac60
mov dword [esp + 0x2c], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x74
je 0x1007b866
cmp al, 0x73
jne 0x1007b88e
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push dword [esp + 0x20]
mov edx, edi
push esi
push dword [esp + 0x54]
push dword [esp + 0x60]
push eax
call fcn.1007ac60
add esp, 0x18
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1007b8e1
add dword [edx], 0xffffffff
jne 0x1007b8e1
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x1007b8d8
cmp dword [ecx + 0x1c8], 0
je 0x1007b8b2
call fcn.1001fef0
jmp 0x1007b8e1
cmp edx, dword [ecx + 0x120]
jb 0x1007b8d8
cmp edx, dword [ecx + 0x124]
jae 0x1007b8d8
mov eax, dword [ecx + 0x11c]
mov dword [edx], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edx
jmp 0x1007b8e1
push edx
call fcn.1001fe80
add esp, 4
mov al, byte [esp + 0x13]
cmp al, 0x75
je 0x1007bad3
cmp al, 0x76
je 0x1007bad3
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x1c], esi
cmp dword [eax + 0x30], esi
jg 0x1007b928
push 0
push dword [esp + 0x50]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x50]
call fcn.1003e6a0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x1c], esi
jmp 0x1007b95e
mov edx, dword [esp + 0x48]
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 + 0x4c]
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 0x1007b98f
push 0
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.1003e6a0
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x1007b9c5
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 + 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 0x1007b9e9
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007ba1b
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 + 0x40]
movzx edi, word [edi + 6]
movsx ecx, di
movzx esi, word [eax + 6]
movsx edx, si
cmp di, si
jl 0x1007ba84
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x1007ba4c
mov eax, edi
mov edi, dword [esp + 0x18]
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x1007bae1
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x1007ba67
lea eax, [edi + 1]
mov edi, dword [esp + 0x18]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x1007bae1
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
mov eax, dword [esp + 0x1c]
jmp 0x1007bae1
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x1007ba9b
mov edi, dword [esp + 0x18]
mov eax, esi
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x1007bae1
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x1007bab6
mov edi, dword [esp + 0x18]
lea eax, [esi + 1]
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x1007bae1
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
movzx eax, ax
mov word [edi + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x1007bae1
mov ecx, dword [esp + 0x2c]
mov eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp byte [esp + 0x13], 0x76
jne 0x1007bb3b
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x1007bafe
mov word [edi + 6], ax
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x14], esi
cmp dword [eax + 0x30], esi
jg 0x1007bc61
mov eax, dword [esp + 0x24]
mov edx, 0xe
push 0
inc eax
mov ecx, ebx
push edi
push eax
call fcn.1003e6a0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
jmp 0x1007bc98
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x44], esi
cmp dword [eax + 0x30], esi
jg 0x1007bb71
mov eax, dword [esp + 0x24]
mov edx, 0xe
push 0
inc eax
mov ecx, ebx
push edi
push eax
call fcn.1003e6a0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x44], esi
jmp 0x1007bba4
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x58]
inc edx
mov dword [eax + ecx*4], 0xe
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 + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007bbcd
push 0
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x30]
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bc03
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 + 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 0x1007bc2a
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bb02
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
jmp 0x1007bb02
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [ebx + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x58]
inc edx
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xe
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 + 0xc]
mov ecx, dword [ebx + 0x88]
mov edi, dword [esp + 0x1c]
cmp dword [eax + 0x30], ecx
jg 0x1007bcc2
push 0
push edi
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bcf4
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], 0x10
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 + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007bd1b
push 0
push dword [esp + 0x38]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bd51
mov edx, dword [esp + 0x34]
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 al, byte [esp + 0x13]
cmp al, 0x74
jne 0x1007bd62
mov dword [esp + 0x1c], esi
jmp 0x1007be35
cmp al, 0x76
jne 0x1007bd74
mov dword [esp + 0x1c], esi
inc esi
mov dword [esp + 0x14], esi
jmp 0x1007be35
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x30], edx
jg 0x1007bda2
push 0
push edi
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x1007bdd4
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x10
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 + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007bdfb
push 0
push dword [esp + 0x38]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007be31
mov edx, dword [esp + 0x34]
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 al, byte [esp + 0x13]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x50], ecx
cmp al, 0x74
je 0x1007be47
cmp al, 0x73
jne 0x1007bea0
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x1007be6a
push 0
push dword [esp + 0x50]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x50]
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bea0
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 + 4], edx
mov edx, dword [esp + 0x4c]
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 + 0x44]
mov edi, dword [esp + 0x24]
cmp dword [eax + 0x30], ecx
jg 0x1007becb
push 0
push esi
push edi
mov edx, 0x10
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bef9
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], 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 + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007bf20
push 0
push dword [esp + 0x38]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bf56
mov edx, dword [esp + 0x34]
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 [ebx]
mov edx, dword [ebx + 0x88]
cmp byte [eax + 0x45], 0
je 0x1007bf6b
mov eax, 0x102c70c4
jmp 0x1007bf80
mov ecx, dword [esp + 0x58]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
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 0x1007bfad
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x10
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007bfe3
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 + 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 0x1007c006
push 0
push esi
push edi
mov edx, 0x10
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007c034
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], 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 + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1007c056
mov eax, dword [esp + 0x34]
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 0x1007c07a
push 0
push 0
push 0
mov edx, 0x4a
mov ecx, ebx
call fcn.1003e6a0
add esp, 0xc
mov edx, eax
jmp 0x1007c0b0
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov dword [eax + ecx*4], 0x4a
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 + 0x60]
mov ecx, ebx
call fcn.1003f4e0
mov eax, dword [ebx + 0xc]
add esp, 8
mov edx, dword [ebx + 0x88]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x8c]
cmp dword [eax + 0x30], edx
jg 0x1007c0f2
push dword [esp + 0x38]
mov edx, 0x5e
mov ecx, ebx
push esi
push edi
call fcn.1003e6a0
add esp, 0xc
mov edx, eax
jmp 0x1007c124
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x64]
mov ecx, ebx
call fcn.1003f4e0
mov ecx, dword [ebx + 0x88]
add esp, 8
test ecx, ecx
jle 0x1007c154
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x1007c17c
mov edx, dword [esp + 0x50]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, 0x12
call fcn.1003e6a0
add esp, 0xc
jmp 0x1007c1b2
mov edx, dword [esp + 0x14]
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 + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
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 0x1007c1d1
mov eax, dword [esp + 0x2c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x1007c1ea
mov ecx, dword [esp + 0x3c]
push 1
call fcn.10076810
add esp, 4
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
mov dword [ebx + 0x30], eax
mov dword [eax + 0x34], ebx
cmp byte [edi + 0x18f], 2
jne 0x1007c267
movzx eax, byte [ebx + 4]
mov esi, dword [edi + 8]
sub eax, 0x74
je 0x1007c22c
sub eax, 1
je 0x1007c225
sub eax, 1
je 0x1007c21e
mov eax, str.UNION
jmp 0x1007c231
mov eax, str.INTERSECT
jmp 0x1007c231
mov eax, str.EXCEPT
jmp 0x1007c231
mov eax, str.UNION_ALL
push eax
push 0x102a4392
push dword [esp + 0x6c]
push dword [esp + 0x74]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [edi]
call fcn.100220d0
push 0xfffffffffffffff9
push eax
push 0
push 0
push dword [edi + 0x19c]
mov edx, 0xa7
mov ecx, esi
call fcn.1003eae0
add esp, 0x2c
mov ecx, dword [esp + 0x9c]
xor eax, eax
cmp dword [edi + 0x24], eax
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret