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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, ecx
mov dword [esp + 0x30], 0
push ebx
push esi
mov dword [esp + 0xc], eax
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
push edi
mov esi, dword [ebx + 0x18]
mov edi, edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ebx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4708da
mov edx, dword [esi + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4708e8
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [ebx + 0x18]
not ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x470923
mov edx, dword [esi + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x470931
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [edi + 0x2c]
not ecx
movzx eax, byte [edi + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x30]
mov edx, dword [esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], edx
cmp eax, 0x74
je 0x470a4b
mov eax, dword [esp + 0x2c]
mov edi, 1
cmp byte [eax + 0x45], 0
jne 0x470a47
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x4c], eax
nop dword [eax]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
cmp edi, dword [eax]
jg 0x470a47
mov edx, dword [esi + 4]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
jle 0x4709b3
mov esi, dword [esp + 0x24]
add edx, 0x14
movzx eax, word [edx]
cmp eax, edi
je 0x4709af
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x4709a0
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jne 0x470a38
mov ecx, dword [esp + 0x2c]
push 0
push 0x31
call fcn.00418890
mov esi, eax
add esp, 8
test esi, esi
je 0x470aac
push 0x30
push 0
push esi
call fcn.004a35f0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
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.0044cdd0
mov edx, dword [esp + 0x28]
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
test esi, esi
je 0x470a38
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [esi + 4]
mov dword [esp + 0x24], edx
mov word [eax + ecx + 0x14], di
add ecx, 0x18
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x2c]
inc edi
cmp byte [eax + 0x45], 0
je 0x470980
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00418890
add esp, 8
mov dword [esp + 0x4c], eax
test eax, eax
je 0x470ab8
mov edi, dword [esp + 0x24]
mov ecx, 1
mov dword [eax], edi
mov edx, dword [esi + 4]
cmp edi, ecx
jl 0x470a93
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 0x470a80
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0046f1b0
add esp, 4
mov dword [esp + 0x50], eax
jmp 0x470ac0
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x10]
mov edx, esi
mov dword [edi + 0x2c], esi
push 0
mov ecx, dword [eax]
call fcn.0044c690
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp dword [esp + 0x30], 0x74
mov dword [ecx + 0x2c], eax
jne 0x470aee
xor esi, esi
mov dword [esp + 0x40], esi
jmp 0x470bef
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edi, dword [eax]
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x54], edi
lea esi, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x40], esi
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x470b2b
push 0
push esi
push 0
mov edx, 0x4a
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x470b5e
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x4a
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 ecx, dword [esp + 0x2c]
mov edx, edi
push 1
call fcn.0046dbb0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x470beb
xor esi, esi
test edi, edi
jle 0x470beb
mov ebx, dword [esp + 0xc]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x18], ecx
nop dword [eax]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x470bae
mov ecx, dword [esp + 0x10]
push esi
call fcn.0046f160
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x470bc9
jmp 0x470bb0
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x470bc9
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + edi]
call fcn.0044b470
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x34]
add ecx, 4
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x54]
jl 0x470b90
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
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.0044a960
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x470c37
push str.ORDER
push dword [eax + 0x2c]
mov edx, eax
mov ecx, esi
call fcn.0044a960
add esp, 8
push dword [esp + 0x1c]
mov edx, edi
mov ecx, esi
call fcn.0046f030
add esp, 4
cmp dword [edi + 0xc], 0
je 0x470d27
cmp dword [esp + 0x30], 0x74
jne 0x470d27
mov esi, dword [esi + 0x4c]
mov eax, dword [esp + 0x10]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x4c], edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], edi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x470c7c
inc edx
jmp 0x470c7f
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x470c9f
push 0
push esi
push edx
mov edx, 0x52
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x470cce
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x52
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 0x470cf2
push 0
push edi
push esi
mov edx, 0x52
mov ecx, ebx
call fcn.004376e0
mov edi, dword [esp + 0x18]
add esp, 0xc
jmp 0x470d31
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov word [eax + ecx*4], 0x52
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x470d31
mov dword [esp + 0x48], 0
xor esi, esi
mov edx, dword [edi + 0x38]
test edx, edx
je 0x470d41
mov ecx, dword [esp + 0x2c]
call fcn.0044c120
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x38], 0
test edx, edx
je 0x470d58
mov ecx, dword [esp + 0x2c]
call fcn.0044c120
mov dword [edi + 0x3c], 0
mov edi, dword [esp + 0x10]
mov word [esp + 0x74], 0xd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x78], ecx
mov word [esp + 0x60], 0xd
mov dword [esp + 0x68], 0
lea edx, [ecx + 1]
mov dword [esp + 0x6c], 0
lea eax, [edx + 2]
mov dword [esp + 0x64], edx
mov dword [edi + 0x4c], eax
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
lea edx, [edi + 1]
cmp dword [eax + 0x58], edi
jg 0x470ddc
push edx
push 0
push ecx
mov edx, 0xf
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
mov edi, eax
jmp 0x470e10
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x20], edx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov word [eax + ecx*4], 0xf
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 + 0x28]
mov eax, dword [esp + 0x10]
mov dword [edx + 0xc], esi
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.00474420
mov eax, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x470e58
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x47
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x470e8f
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x47
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 ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [ebx + 0x20]
test edi, edi
jns 0x470eb4
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x470ec3
mov eax, 0x520b44
jmp 0x470ecc
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x54], ecx
lea esi, [ecx + 1]
cmp dword [eax + 0x58], ecx
jg 0x470efd
push esi
push 0
push dword [esp + 0x1c]
mov edx, 0xf
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x470f2d
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x20], esi
mov word [eax + ecx*4], 0xf
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 ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
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 + 0x1d8]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x60]
push edx
mov edx, ecx
mov ecx, eax
call fcn.00474420
mov eax, dword [esp + 0x10]
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 0x470f94
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x47
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x470fcb
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x47
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 + 0x1c]
mov esi, dword [esp + 0x44]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0x18]
push esi
mov dword [eax + 0x3c], 0
mov eax, dword [esp + 0x20]
inc eax
push eax
push dword [ebp + 8]
lea eax, [esp + 0x88]
push eax
call fcn.00470440
mov dword [esp + 0x58], eax
add esp, 0x18
mov eax, dword [esp + 0x30]
cmp eax, 0x74
je 0x47101a
cmp eax, 0x73
jne 0x471044
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push dword [esp + 0x38]
mov edx, edi
push esi
mov esi, dword [esp + 0x50]
push esi
push dword [ebp + 8]
push eax
call fcn.00470440
add esp, 0x18
mov dword [esp + 0x3c], eax
jmp 0x471048
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4710ad
add dword [edi], 0xffffffff
jne 0x4710ad
cmp dword [0x51bfe0], 0
je 0x4710a3
mov eax, dword [0x51f900]
test eax, eax
je 0x471071
push eax
call dword [0x51c038]
add esp, 4
push edi
call dword [0x51c014]
sub dword [0x51f930], eax
add esp, 4
dec dword [0x51f954]
push edi
call dword [0x51c00c]
mov eax, dword [0x51f900]
add esp, 4
test eax, eax
je 0x4710ad
push eax
call dword [0x51c040]
jmp 0x4710aa
push edi
call dword [0x51c00c]
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, 0x75
je 0x47127e
cmp eax, 0x76
je 0x47127e
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
cmp dword [eax + 0x58], edi
jg 0x4710e8
push 0
push dword [esp + 0x40]
mov edx, 0xe
mov ecx, ebx
push esi
call fcn.004376e0
add esp, 0xc
mov edi, eax
jmp 0x47111b
mov edx, dword [esp + 0x3c]
lea eax, [edi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
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
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x48], edx
cmp dword [eax + 0x58], edx
jg 0x471149
push 0
push dword [esp + 0x20]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x471180
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x10
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 0x4711a1
push 0
push edi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x4711d4
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 [esp + 0x28]
movzx ecx, word [eax + 6]
mov eax, dword [esp + 0xc]
movzx edx, word [eax + 6]
cmp dx, cx
jl 0x471235
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x471205
mov ecx, dword [esp + 0xc]
mov eax, edx
mov word [ecx + 6], ax
jmp 0x47128c
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x47121c
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
movzx eax, ax
mov word [ecx + 6], ax
jmp 0x47128c
sub ecx, esi
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
mov ecx, dword [esp + 0xc]
add ax, dx
movzx eax, ax
mov word [ecx + 6], ax
jmp 0x47128c
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x47124e
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov word [ecx + 6], ax
jmp 0x47128c
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x471265
lea eax, [ecx + 1]
mov ecx, dword [esp + 0xc]
movzx eax, ax
mov word [ecx + 6], ax
jmp 0x47128c
sub edx, esi
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
mov ecx, dword [esp + 0xc]
movzx eax, ax
mov word [ecx + 6], ax
jmp 0x47128c
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x30], 0x76
jne 0x4712b0
mov eax, dword [esp + 0x28]
mov esi, edi
movzx eax, word [eax + 6]
cmp word [ecx + 6], ax
jle 0x4713c7
mov word [ecx + 6], ax
jmp 0x4713c7
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x58], esi
jg 0x4712da
mov eax, dword [esp + 0x14]
mov edx, 0xe
push 0
push dword [esp + 0x44]
inc eax
mov ecx, ebx
push eax
call fcn.004376e0
add esp, 0xc
mov esi, eax
jmp 0x471316
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [ebx + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 4]
inc edx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
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 0x47133c
push 0
push dword [esp + 0x20]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x20]
call fcn.004376e0
add esp, 0xc
jmp 0x471373
mov edx, dword [esp + 0x18]
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 + 0x1c]
mov word [eax + ecx*4], 0x10
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 0x471394
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x4713c7
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 [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x34], edx
cmp dword [eax + 0x58], edx
jg 0x4713f7
mov eax, dword [esp + 0x14]
mov edx, 0xe
push 0
push dword [esp + 0x44]
inc eax
mov ecx, ebx
push eax
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x471433
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x20], eax
inc edx
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
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 0x471456
push 0
push edi
push dword [esp + 0x20]
mov edx, 0x10
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x471489
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
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], 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 0x4714ad
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004376e0
add esp, 0xc
jmp 0x4714e4
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], 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 [esp + 0x30]
cmp eax, 0x74
jne 0x4714fa
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
jmp 0x4715ca
cmp eax, 0x76
jne 0x471511
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
inc eax
mov dword [esp + 0x34], eax
jmp 0x4715ca
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x38], edx
cmp dword [eax + 0x58], edx
jg 0x47153c
push 0
push edi
push dword [esp + 0x20]
mov edx, 0x10
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x47156f
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x18]
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], 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 0x471593
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004376e0
add esp, 0xc
jmp 0x4715ca
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], 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 [esp + 0x30]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x40], ecx
cmp eax, 0x74
je 0x4715df
cmp eax, 0x73
jne 0x471636
mov eax, dword [ebx + 0x18]
mov edi, dword [esp + 0x44]
cmp dword [eax + 0x58], ecx
jg 0x471603
push 0
push dword [esp + 0x40]
mov edx, 0xe
mov ecx, ebx
push edi
call fcn.004376e0
add esp, 0xc
jmp 0x471636
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
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 edi, dword [esp + 0x14]
cmp dword [eax + 0x58], ecx
jg 0x47165a
push 0
push esi
push edi
mov edx, 0x10
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x471689
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
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 0x4716ad
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004376e0
add esp, 0xc
jmp 0x4716e4
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], 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 ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx + 0x20]
test ecx, ecx
jns 0x4716fc
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x47170b
mov eax, 0x520b44
jmp 0x471714
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*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 0x47173e
mov edx, dword [esp + 0x48]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x10
call fcn.004376e0
add esp, 0xc
jmp 0x471775
mov edx, dword [esp + 0x18]
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 word [eax + ecx*4], 0x10
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 0x471795
push 0
push esi
push edi
mov edx, 0x10
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
jmp 0x4717c4
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
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 0x4717e0
mov eax, dword [esp + 0x20]
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 0x47180b
push 0
push 0
push 0
mov edx, 0x5c
mov ecx, ebx
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x471842
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x5c
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
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x47185d
push dword [esp + 0x4c]
mov edx, 0xfffffff1
call fcn.004381b0
add esp, 4
jmp 0x471898
test edx, edx
jns 0x471865
mov edx, dword [ebx + 0x20]
dec edx
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x471889
push 0xfffffffffffffff1
push dword [esp + 0x50]
mov edx, eax
mov ecx, ebx
call fcn.004383e0
add esp, 8
jmp 0x471898
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x471898
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
cmp dword [eax + 0x58], edx
jg 0x4718c4
push dword [esp + 0x24]
mov edx, 0x5d
mov ecx, ebx
push esi
push edi
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x4718f3
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x5d
mov byte [eax + ecx*4 + 3], 0
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 0x47190f
mov edx, dword [esp + 0x50]
push edx
mov edx, 0xfffffffa
call fcn.004381b0
add esp, 4
jmp 0x471947
test edx, edx
jns 0x471917
mov edx, dword [ebx + 0x20]
dec edx
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x50]
je 0x47193c
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, ebx
call fcn.004383e0
add esp, 8
jmp 0x471947
test edx, edx
je 0x471947
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x47195d
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 0x471987
mov edx, dword [esp + 0x40]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x3c]
push edx
push dword [esp + 0x3c]
mov edx, 0x12
call fcn.004376e0
add esp, 0xc
jmp 0x4719be
mov edx, dword [esp + 0x34]
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 + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x12
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 0x4719da
mov eax, dword [esp + 0x1c]
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 + 0x28]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x471a10
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x4719ff
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4719f6
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.0046e7a0
add esp, 4
mov ebx, dword [esp + 0xc]
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x471a29
mov ecx, dword [esp + 0x2c]
push 1
call fcn.0046bfb0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x30], esi
mov dword [esi + 0x34], ebx
cmp byte [eax + 0x1c5], 2
jne 0x471b5d
mov esi, dword [eax + 8]
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x471a6b
sub eax, 1
je 0x471a64
sub eax, 1
je 0x471a5d
mov eax, str.UNION
jmp 0x471a70
mov eax, str.INTERSECT
jmp 0x471a70
mov eax, str.EXCEPT
jmp 0x471a70
mov eax, str.UNION_ALL
mov ebx, dword [esp + 0x10]
push eax
push 0x4fb85d
push dword [esp + 0x60]
push dword [esp + 0x68]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [ebx]
call fcn.0041a4a0
mov ecx, dword [esi + 0x18]
add esp, 0x18
mov edx, dword [esi + 0x20]
mov edi, eax
mov ebx, dword [ebx + 0x1d4]
cmp dword [ecx + 0x58], edx
jg 0x471abc
push 0
push 0
push ebx
mov edx, 0xa0
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x471aef
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xa0
mov byte [eax + ecx*4 + 3], 0
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 0x471b18
or eax, 0xffffffff
push edi
mov edx, eax
call fcn.004381b0
mov ecx, dword [esp + 0x14]
xor eax, eax
add esp, 4
cmp dword [ecx + 0x44], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jns 0x471b20
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea edx, [edx + edx*4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x471b52
push 0xffffffffffffffff
push edi
mov edx, eax
mov ecx, esi
call fcn.004383e0
mov ecx, dword [esp + 0x18]
xor eax, eax
add esp, 8
cmp dword [ecx + 0x44], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x471b5d
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 + 0x44], eax
setne al
mov esp, ebp
pop ebp
ret