Function at 0x510630
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 [0x65e374]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, ecx
mov dword [esp + 0x3c], 0
mov ecx, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
push edi
mov edi, edx
mov dword [esp + 0x2c], 0
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x5106b2
mov edx, dword [esi + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004b81f0
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x5106c0
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [ebx + 0xc]
not ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x38], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x5106fb
mov edx, dword [esi + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004b81f0
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x510709
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [edi + 0x2c]
not ecx
mov al, byte [edi + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x30]
mov esi, dword [edx]
mov byte [esp + 0x13], al
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], esi
cmp al, 0x74
je 0x510817
mov eax, dword [esp + 0x40]
mov edi, 1
cmp byte [eax + 0x45], 0
jne 0x510813
lea eax, [esi + esi*2]
shl eax, 3
mov dword [esp + 0x34], eax
nop
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp edi, dword [eax]
jg 0x510813
mov eax, dword [edx + 4]
xor ecx, ecx
test esi, esi
jle 0x510783
lea edx, [eax + 0x14]
nop word [eax + eax]
movzx eax, word [edx]
cmp eax, edi
je 0x51077f
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x510770
mov edx, dword [esp + 0x18]
cmp ecx, esi
jne 0x510804
mov ecx, dword [esp + 0x40]
push 0
push 0x31
call fcn.004b8080
mov esi, eax
add esp, 8
test esi, esi
je 0x510878
push 0x30
push 0
push esi
call fcn.005d05b0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
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.004ebbe0
mov esi, dword [esp + 0x50]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
test edx, edx
je 0x510804
mov ecx, dword [esp + 0x34]
inc esi
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], esi
mov word [eax + ecx + 0x14], di
add ecx, 0x18
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x40]
inc edi
cmp byte [eax + 0x45], 0
je 0x510750
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
lea eax, [esi*4 + 4]
push 0
push eax
call fcn.004b8080
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x510892
mov dword [eax], esi
mov ecx, 1
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
cmp esi, ecx
jl 0x510863
mov ebx, dword [esp + 0x54]
add edx, 0x14
nop
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x510850
mov ebx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.0050f190
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x51089a
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
mov edx, eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax]
call fcn.004eb370
mov ecx, dword [esp + 0x40]
add esp, 4
cmp byte [esp + 0x13], 0x74
mov dword [ecx + 0x2c], eax
jne 0x5108ce
mov dword [esp + 0x34], 0
jmp 0x5109d0
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x44], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x34], edx
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x51090e
push 0
push edx
push 0
mov edx, 0x4d
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x510944
mov edi, dword [esp + 0x20]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
mov edx, esi
push 1
call fcn.0050dad0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5109d0
xor esi, esi
cmp dword [esp + 0x44], esi
jle 0x5109d0
mov ebx, dword [esp + 0x20]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x51098f
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0050f140
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x5109aa
jmp 0x510991
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x5109aa
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + edi]
call fcn.004e9df0
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x2c]
add ecx, 4
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x44]
jl 0x510971
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov edx, edi
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x30], 0
push str.ORDER
mov dword [eax + 0x34], 0
push dword [edi + 0x2c]
call fcn.004e92f0
mov eax, dword [esp + 0x44]
add esp, 8
cmp dword [eax + 0x30], 0
jne 0x510a18
mov ecx, dword [esp + 0x1c]
mov edx, eax
push str.ORDER
push dword [eax + 0x2c]
call fcn.004e92f0
add esp, 8
push dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.0050f000
add esp, 4
cmp dword [edi + 0xc], 0
je 0x510b0d
cmp byte [esp + 0x13], 0x74
jne 0x510b0d
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x2c]
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 0x510a5b
inc edx
jmp 0x510a5e
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x510a81
push 0
push esi
push edx
mov edx, 0x55
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x510ab3
mov edi, dword [esp + 0x20]
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 0x510ad9
push 0
push dword [esp + 0x18]
mov edx, 0x55
mov ecx, ebx
push esi
call fcn.004d5d40
add esp, 0xc
jmp 0x510b17
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], 0x55
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 0x510b17
mov dword [esp + 0x14], 0
xor esi, esi
mov edx, dword [edi + 0x38]
test edx, edx
je 0x510b27
mov ecx, dword [esp + 0x40]
call fcn.004eaed0
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x38], 0
test edx, edx
je 0x510b3e
mov ecx, dword [esp + 0x40]
call fcn.004eaed0
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x84], 0xd
mov dword [esp + 0x88], 0
mov edx, dword [eax + 0x2c]
inc edx
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], 0
mov byte [esp + 0x6c], 0xd
lea ecx, [edx + 1]
mov dword [esp + 0x70], 0
mov dword [esp + 0x28], ecx
add ecx, 2
mov dword [eax + 0x2c], ecx
lea eax, [edx + 1]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
lea edx, [ecx + 1]
cmp dword [eax + 0x30], ecx
jg 0x510be7
push edx
push 0
push dword [esp + 0x2c]
mov edx, 0xf
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x510c1a
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x24]
mov dword [ebx + 0x88], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
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 + 0x3c]
mov eax, dword [esp + 0x1c]
mov dword [edx + 0xc], esi
mov ecx, dword [eax + 0x1a4]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.00513a00
add esp, 4
mov edx, 0x4a
mov ecx, ebx
push dword [esp + 0x24]
call fcn.004d5e60
mov eax, dword [ebx + 0xc]
add esp, 4
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 0x510c7a
mov eax, 0x665728
jmp 0x510c8f
mov ecx, dword [esp + 0x18]
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 ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x50], ecx
lea esi, [ecx + 1]
cmp dword [eax + 0x30], ecx
jg 0x510cc3
push esi
push 0
push dword [esp + 0x30]
mov edx, 0xf
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x510cf2
mov eax, dword [ebx + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x28]
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 + 0x20]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], 0
mov edx, dword [ecx + 0x1a4]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x6c]
push edx
mov edx, eax
call fcn.00513a00
mov eax, dword [esp + 0x24]
add esp, 4
mov edx, 0x4a
mov ecx, ebx
mov dword [eax + 0xc], edi
mov edi, eax
mov dword [edi + 0x10], esi
mov esi, dword [esp + 0x28]
push esi
call fcn.004d5e60
mov eax, dword [ebx + 0xc]
add esp, 4
mov edx, edi
push dword [esp + 0x30]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x30]
push dword [esp + 0x3c]
mov dword [eax + 0x1c], 0
lea eax, [esi + 1]
mov esi, dword [esp + 0x28]
mov ecx, esi
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x98]
push eax
call fcn.00510310
mov dword [esp + 0x2c], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x74
je 0x510d94
cmp al, 0x73
jne 0x510dbd
push dword [esp + 0x30]
lea eax, [esp + 0x70]
mov edx, edi
push dword [esp + 0x30]
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x68]
push eax
call fcn.00510310
add esp, 0x18
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x510dd4
add dword [eax], 0xffffffff
jne 0x510dd4
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.004b7da0
mov al, byte [esp + 0x13]
cmp al, 0x75
je 0x510fb6
cmp al, 0x76
je 0x510fb6
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x18], esi
cmp dword [eax + 0x30], esi
jg 0x510e1b
push 0
push dword [esp + 0x4c]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.004d5d40
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x510e51
mov edx, dword [esp + 0x44]
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 + 0x48]
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 + 0x34], edx
cmp dword [eax + 0x30], edx
jg 0x510e82
push 0
push dword [esp + 0x34]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x30]
call fcn.004d5d40
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x510eb8
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 + 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 0x510edc
push 0
push esi
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x510f0e
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 + 0x3c]
movzx esi, word [eax + 6]
movzx eax, word [edi + 6]
movsx ecx, ax
movsx edx, si
cmp ax, si
jl 0x510f73
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x510f3d
movzx eax, word [edi + 6]
mov esi, dword [esp + 0x18]
mov word [edi + 6], ax
jmp 0x510fc0
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x510f56
movzx eax, word [edi + 6]
mov esi, dword [esp + 0x18]
inc eax
movzx eax, ax
mov word [edi + 6], ax
jmp 0x510fc0
mov esi, dword [esp + 0x18]
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
add ax, cx
movzx eax, ax
mov word [edi + 6], ax
jmp 0x510fc0
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x510f86
mov eax, esi
mov esi, dword [esp + 0x18]
mov word [edi + 6], ax
jmp 0x510fc0
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x510f9d
lea eax, [esi + 1]
mov esi, dword [esp + 0x18]
movzx eax, ax
mov word [edi + 6], ax
jmp 0x510fc0
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
mov esi, dword [esp + 0x18]
movzx eax, ax
mov word [edi + 6], ax
jmp 0x510fc0
mov eax, dword [esp + 0x30]
mov esi, eax
mov dword [esp + 0x34], eax
cmp byte [esp + 0x13], 0x76
jne 0x510fe6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x511109
mov word [edi + 6], ax
jmp 0x511109
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x30], edx
jg 0x511019
mov eax, dword [esp + 0x28]
mov edx, 0xe
push 0
push dword [esp + 0x18]
inc eax
mov ecx, ebx
push eax
call fcn.004d5d40
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x511050
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x28]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 0x511079
push 0
push dword [esp + 0x34]
mov edx, 0x10
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.004d5d40
add esp, 0xc
jmp 0x5110af
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]
mov edx, dword [esp + 0x2c]
cmp dword [eax + 0x30], ecx
jg 0x5110d7
push 0
push edx
push 0
mov edx, 0xd
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x511109
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 + 0xc]
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x18], edx
cmp dword [eax + 0x30], edx
jg 0x51113c
mov eax, dword [esp + 0x28]
mov edx, 0xe
push 0
push dword [esp + 0x18]
inc eax
mov ecx, ebx
push eax
call fcn.004d5d40
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x511177
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
mov edx, dword [esp + 0x28]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 0x51119d
push 0
push esi
push dword [esp + 0x2c]
mov edx, 0x10
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x5111cf
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 0x5111f6
push 0
push dword [esp + 0x3c]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004d5d40
add esp, 0xc
jmp 0x51122c
mov edx, dword [esp + 0x38]
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 0x511241
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x511314
cmp al, 0x76
jne 0x511257
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x511314
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x14], edx
cmp dword [eax + 0x30], edx
jg 0x511285
push 0
push esi
push dword [esp + 0x2c]
mov edx, 0x10
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x5112b7
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 0x5112de
push 0
push dword [esp + 0x3c]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004d5d40
add esp, 0xc
jmp 0x511314
mov edx, dword [esp + 0x38]
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 + 0x60], ecx
cmp al, 0x74
je 0x51132a
cmp al, 0x73
jne 0x511383
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x51134d
push 0
push dword [esp + 0x4c]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.004d5d40
add esp, 0xc
jmp 0x511383
mov edx, dword [esp + 0x44]
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 + 0x48]
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 + 0x2c]
cmp dword [eax + 0x30], ecx
jg 0x5113ad
push 0
push esi
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x5113df
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], 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 0x511406
push 0
push dword [esp + 0x3c]
mov edx, 0xd
mov ecx, ebx
push 0
call fcn.004d5d40
add esp, 0xc
jmp 0x51143c
mov edx, dword [esp + 0x38]
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 0x511451
mov eax, 0x665728
jmp 0x511466
mov ecx, dword [esp + 0x50]
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 0x511493
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x10
call fcn.004d5d40
add esp, 0xc
jmp 0x5114c9
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 + 0x34]
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 0x5114ef
push 0
push esi
push dword [esp + 0x30]
mov edx, 0x10
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
jmp 0x511521
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], esi
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 0x511543
mov eax, dword [esp + 0x38]
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 0x511567
push 0
push 0
push 0
mov edx, 0x5f
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
mov edx, eax
jmp 0x51159d
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
push 0xfffffffffffffff4
push dword [esp + 0x58]
mov ecx, ebx
call fcn.004d6a80
mov eax, dword [ebx + 0xc]
add esp, 8
mov esi, dword [ebx + 0x88]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
cmp dword [eax + 0x30], esi
jg 0x5115eb
mov edx, dword [esp + 0x4c]
push edx
push ecx
push dword [esp + 0x5c]
mov edx, 0x60
mov ecx, ebx
call fcn.004d5d40
add esp, 0xc
mov esi, eax
jmp 0x511621
mov edi, dword [esp + 0x20]
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 + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffb
push dword [esp + 0x60]
mov edx, esi
mov ecx, ebx
call fcn.004d6a80
mov ecx, dword [ebx + 0x88]
add esp, 8
test ecx, ecx
jle 0x511653
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 0x51167a
mov edx, dword [esp + 0x60]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x18]
push edx
push dword [esp + 0x20]
mov edx, 0x12
call fcn.004d5d40
add esp, 0xc
jmp 0x5116b0
mov edx, 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 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x5116cf
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
cmp byte [eax], 9
jne 0x511703
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x5116ee
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x5116e5
push dword [edx]
mov ebx, dword [esp + 0x20]
mov ecx, ebx
mov edx, dword [edx + 0x1c]
call fcn.0050e600
add esp, 4
jmp 0x511707
mov ebx, dword [esp + 0x1c]
mov edx, dword [edi + 0x30]
test edx, edx
je 0x51171c
mov ecx, dword [esp + 0x40]
push 1
call fcn.0050c140
add esp, 4
mov dword [edi + 0x30], esi
mov dword [esi + 0x34], edi
cmp byte [ebx + 0x193], 2
jne 0x511791
movzx eax, byte [edi + 4]
mov esi, dword [ebx + 8]
sub eax, 0x74
je 0x511756
sub eax, 1
je 0x51174f
sub eax, 1
je 0x511748
mov eax, str.UNION
jmp 0x51175b
mov eax, str.INTERSECT
jmp 0x51175b
mov eax, str.EXCEPT
jmp 0x51175b
mov eax, str.UNION_ALL
push eax
push 0x6292df
push dword [esp + 0x6c]
push dword [esp + 0x74]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [ebx]
call fcn.004b9e00
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [ebx + 0x1a0]
mov edx, 0xa3
mov ecx, esi
call fcn.004d6110
add esp, 0x2c
mov ecx, dword [esp + 0x9c]
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret